Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: A Rails plugin that disables all CSS on CSS Naked Day
Homepage: http://daniel.collectiveidea.com/blog/tags/css_naked_day
Clone URL: git://github.com/collectiveidea/css_naked_day.git
Search Repo:
Click here to lend your support to: css_naked_day and make a donation at www.pledgie.com !
css_naked_day / README
100644 26 lines (17 sloc) 0.829 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
CssNakedDay
===========
 
This plugin disables all stylesheets on CSS Naked Day.
http://naked.dustindiaz.com/
 
As long as you're using Rails' stylesheet_link_tag helper, your CSS will automatically be hidden on Naked Day (April 9, 2008).
 
It also adds a method to the Date class so you can check if a day is Naked Day.
 
Example
=======
 
<% if Date.today.is_css_naked_day? %>
  <h3>What happened to the design?</h3>
  <p>To know more about why styles are disabled on this website visit the
  <a href="http://naked.dustindiaz.com" title="Web Standards Naked Day Host Website">
  Annual CSS Naked Day</a> website for more information.</p>
<% end %>
 
 
Read more at:
http://daniel.collectiveidea.com/blog/tags/css_naked_day
 
 
Copyright (c) 2007 Daniel Morrison, Collective Idea http://collectiveidea.com, released under the MIT license