-
Notifications
You must be signed in to change notification settings - Fork 77
/
index.html
141 lines (110 loc) · 8.49 KB
/
index.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html>
<head>
<title>April 9 is CSS Naked Day</title>
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Chivo:900">
<link rel="stylesheet" href="setup/default.css">
<meta name="viewport" content="initial-scale=1,minimum-scale=1,width=device-width">
<meta name="description" property="og:description" content="April 9 is CSS Naked Day!">
<meta name="twitter:card" content="summary">
<meta property="og:title" content="CSS Naked Day">
<meta property="og:image" content="https://css-naked-day.github.io/media/logo.png">
</head>
<body>
<div id="container">
<div class="inner">
<header>
<h1><a href="/">CSS Naked Day</a></h1>
<h2>Show off your semantic <code><body></code>!</h2>
</header>
<hr>
<section id="main_content">
<h3>April 9 is CSS Naked Day!</h3>
<p>Join us for the yearly festivities on April 9 of going nude on the Web!</p>
<!-- <h3><a id="where-is-design" href="#where-is-design">Where did the design go?</a></h3>
<p>The website you just came from is not broken, its owner has decided to participate to CSS Naked Day! CSS Naked Day is an event that is held once per year to celebrate good and well planned design. The website you come from will be back to its normal state tomorrow.</p>
<h3><a id="meaning" href="#meaning">What does that mean?</a></h3> -->
<p>The idea behind CSS Naked Day is to promote web standards. Plain and simple. This includes proper use of HTML, semantic markup, a good hierarchy structure, and of course, a good old play on words. In the words of 2006, it’s time to show off your <body> for what it really is.</p>
<h3><a id="editions" href="#editions">CSS Naked Day editions</a></h3>
<ul>
<!-- <li><a href="2025.html">2025</a></li> -->
<li><a href="2024.html">2024</a></li>
<li><a href="2023.html">2023</a></li>
<li><a href="2022.html">2022</a></li>
<li><a href="2021.html">2021</a></li>
<li><a href="2020.html">2020</a></li>
<li>2019</li>
<li>2018</li>
<li>2017</li>
<li>2016</li>
<li><a href="2015.html">2015</a></li>
<li>2014</li>
<li>2013</li>
<li>2012</li>
<li>2011</li>
<li>2010</li>
<li><a href="2009.html">2009</a></li>
<li><a href="2008.html">2008</a></li>
<li><a href="2007.html">2007</a></li>
<li><a href="2006.html">2006</a></li>
</ul>
<h3><a id="participate" href="#participate">How to participate</a></h3>
<p>On April 9, simply remove all CSS from your website, stripping it entirely of its design.</p>
<p>You can link to this page to let your visitors know about the nudity of your website! This option is for those who feel a need to give their visitors a reference as to what’s going on. This is not about getting traffic or making money. There are no ads on this site, nor will there ever be. This is about you, the people; getting naked.</p>
<p>You can instead add your website(s) here by <a href="https://github.com/css-naked-day/css-naked-day.github.io/issues/new">creating an issue</a> or <a href="https://github.com/css-naked-day/css-naked-day.github.io">updating the proper file</a>! Note: <em>Alphabetical order</em> should prevent merge conflicts.</p>
<h3><a id="developers" href="#developers">Don’t think, just strip</a></h3>
<p>Here is a sample PHP function for developers:</p>
<pre><code><?php
function is_naked_day($d) {
$start = date('U', mktime(-14, 0, 0, 04, $d, date('Y')));
$end = date('U', mktime(36, 0, 0, 04, $d, date('Y')));
$z = date('Z') * -1;
$now = time() + $z;
if ( $now >= $start && $now <= $end ) {
return true;
}
return false;
}
?></code></pre>
<p>Use it like this:</p>
<pre><code><head>
…
<?php
if ( is_naked_day(9) ) {
echo '<!-- Naked Day has no styles -->';
} else {
echo '<link rel="stylesheet" href="styles.css" />';
}
?>
…
</head></code></pre>
<h3 id="forty-height"><a id="timespan" href="#timespan">Wait… isn’t that 50 hours?</a></h3>
<p>That’s correct. CSS Naked Day lasts for one international day. Technically speaking, it will be April 9 somewhere in the world for 50 hours, from <strong>00:00, April 9 UTC+14:00</strong> to <strong>00:00, April 10 UTC-12:00</strong> (<em>10:00, April 8 UTC+00:00</em> to <em>12:00, April 10 UTC+00:00</em>). This is to ensure that everyone’s website will be publicly nude for the entire world to see at any given time during April 9.</p>
<h3><a id="tools" href="#tools">Tools and plugins</a></h3>
<p>Attention plugin developers: If you have a CSS Naked Day plugin for a popular CMS, or written in a programming language not listed here, feel free to make a pull request and add it, or to post an email on the <a href="https://groups.google.com/g/css-naked-day">dedicated Google group</a> if you’re not familiar with Git.</p>
<ul>
<li><a href="https://www.ajalapus.com/">Aja</a> updated their most excellent <a href="https://www.ajalapus.com/downloads/css-naked-day/">WordPress Naked Day Plugin</a>.</li>
<li><a href="https://web.archive.org/web/20150227130740/http://hugi.to/blog/">Reto</a> has created a <a href="http://downloads.sourceforge.net/lifetype/1.2_cssnaked.zip?download">Naked Day plugin for the LifeType Blogging platform</a>.</li>
<li>Sasha Gerrand <a href="https://sasha.gerrand.id.au/2009/04/05/css-naked-day/">gives us a great Perl subroutine</a>.</li>
<li><a href="https://jefftriplett.com/">Jeff Triplett</a> gives us a nice <a href="https://www.djangosnippets.org/snippets/1421/">Django Snippet</a> for you Python folk.</li>
<li>Drupal users, <a href="https://www.drupal.org/project/naked">get the module</a>!</li>
<li>If you are game you can use <a href="https://weblog.200ok.com.au/">Ben Buchanan</a>’s <a href="https://bitbucket.org/snippets/200ok/dKpk">JavaScript snippet</a>. Works anywhere, removes everything, buyer beware!</li>
<li>If you are a Rails developer, check out the <a href="https://github.com/danielsellergren/css_naked_day_rails">css_naked_day_rails</a> gem by <a href="https://danielsellergren.com/">Daniel Sellergren</a>.</li>
<li>If you have lots of raw HTML, use <a href="https://gist.github.com/alifeee/75df204c2be3815806e1d4be47e54d08">this bash script</a> to remove style sheets, <code>style</code> elements, and inline styles.</li>
</ul>
<h3><a id="origins" href="#origins">Origins</a></h3>
<p>CSS Naked Day started in <a href="https://web.archive.org/web/20060409133500/http://naked.dustindiaz.com/">2006 by Dustin Diaz</a>, who organized it until <a href="https://web.archive.org/web/20090503155846/http://naked.dustindiaz.com:80/">2009</a>. From <a href="https://web.archive.org/web/20100516032732/http://naked.threepixeldrift.com/">2010</a> until <a href="https://web.archive.org/web/20140817035514/http://naked.threepixeldrift.com/">2014</a>, it was hosted by Taylor Satula. The content in this page is extracted from the content of the respective pages. Since 2015, the project is maintained by <a href="https://arkhi.org/">Fabien Basmaison</a> and <a href="https://meiert.com/en/">Jens Oliver Meiert</a>. (Jens once worked on a <a href="https://meiert.com/en/blog/css-naked-day-and-wikipedia/">proposal for a CSS Naked Day Wikipedia page</a> that retells the story.)</p>
<h3>Famous words</h3>
<blockquote>
<p>This is a fun idea, fully in line with the reasons for creating CSS in the first place. While most designers are attracted by the extra presentational capabilities, saving HTML from becoming a presentational language was probably a more important motivation for most people who participated in the beginning.</p>
</blockquote>
<p><cite>Håkon Wium Lie</cite></p>
</section>
<footer>
This is CSS Naked Day. This page was generated by <a href="https://pages.github.com">GitHub Pages</a> (<a href="https://github.com/css-naked-day/css-naked-day.github.io">view it on GitHub</a>). Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
</footer>
</div>
</div>
</body>
</html>