You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2>Show off your semantic <code><body></code>!</h2>
21
26
</header>
27
+
22
28
<hr>
29
+
23
30
<sectionid="main_content">
24
31
{{content | safe}}
25
32
</section>
33
+
26
34
<footer>
27
35
This is <ahref="/">CSS Naked Day</a>. This page was generated by <ahref="https://11ty.dev/">Eleventy</a> (<ahref="https://github.com/css-naked-day/css-naked-day.org">view it on GitHub</a>). Tactile theme by <ahref="https://x.com/jasonlong">Jason Long</a>.
Copy file name to clipboardExpand all lines: _src/index.njk
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,18 @@ layout: base.njk
4
4
title: "CSS Naked Day"
5
5
---
6
6
<h3>April 9 is CSS Naked Day!</h3>
7
+
7
8
<p>Join us for the yearly festivities on April 9 of going nude on the Web!</p>
9
+
8
10
<!-- <h3><a id="where-is-design" href="#where-is-design">Where did the design go?</a></h3>
9
11
<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>
12
+
10
13
<h3><a id="meaning" href="#meaning">What does that mean?</a></h3> -->
14
+
11
15
<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>
16
+
12
17
<h3><aid="editions"href="#editions">CSS Naked Day editions</a></h3>
<h3><aid="participate"href="#participate">How to participate</a></h3>
32
+
25
33
<p>On April 9, simply remove all CSS from your website, stripping it entirely of its design.</p>
34
+
26
35
<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>
36
+
27
37
<p>You can instead add your website(s) here by <ahref="https://github.com/css-naked-day/css-naked-day.org/issues/new">creating an issue</a> or <ahref="https://github.com/css-naked-day/css-naked-day.org">adding a file in the proper folder</a>!</p>
38
+
28
39
<h3><aid="developers"href="#developers">Don’t think, just strip</a></h3>
40
+
29
41
<p>Here is a sample PHP function for developers:</p>
42
+
30
43
<pre><code><?php
31
44
function isNakedDay() {
32
45
$now = new \DateTime('now', new \DateTimeZone('UTC'));
@@ -35,18 +48,25 @@ title: "CSS Naked Day"
35
48
return $now >= $start && $now < $end;
36
49
}
37
50
?></code></pre>
51
+
38
52
<p>Use it like this:</p>
53
+
39
54
<pre><code><head>
40
55
…
41
56
<?php if(!isNakedDay()) : ?>
42
57
<link rel="stylesheet" href="styles.css" />
43
58
<?php endif; ?>
44
59
…
45
60
</head></code></pre>
61
+
46
62
<h3><aid="timespan"href="#timespan">Wait… isn’t that 50 hours?</a></h3>
63
+
47
64
<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>
65
+
48
66
<h3><aid="tools"href="#tools">Tools and plugins</a></h3>
67
+
49
68
<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 <ahref="https://groups.google.com/g/css-naked-day">dedicated Google group</a> if you’re not familiar with Git.</p>
69
+
50
70
<ul>
51
71
<li><ahref="https://www.ajalapus.com/">Aja</a> updated their most excellent <ahref="https://www.ajalapus.com/downloads/css-naked-day/">WordPress Naked Day Plugin</a>.</li>
52
72
<li><ahref="https://web.archive.org/web/20150227130740/http://hugi.to/blog/">Reto</a> has created a <ahref="http://downloads.sourceforge.net/lifetype/1.2_cssnaked.zip?download">Naked Day plugin for the LifeType Blogging platform</a>.</li>
@@ -58,10 +78,15 @@ title: "CSS Naked Day"
58
78
<li>If you are a Rails developer, check out the <ahref="https://github.com/danielsellergren/css_naked_day_rails">css_naked_day_rails</a> gem by <ahref="https://danielsellergren.com/">Daniel Sellergren</a>.</li>
59
79
<li>If you have lots of raw HTML, use <ahref="https://gist.github.com/alifeee/75df204c2be3815806e1d4be47e54d08">this bash script</a> to remove style sheets, <code>style</code> elements, and inline styles.</li>
<p>CSS Naked Day started in <ahref="https://web.archive.org/web/20060409133500/http://naked.dustindiaz.com/">2006 by Dustin Diaz</a>, who organized it until <ahref="https://web.archive.org/web/20090503155846/http://naked.dustindiaz.com:80/">2009</a>. From <ahref="https://web.archive.org/web/20100516032732/http://naked.threepixeldrift.com/">2010</a> until <ahref="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 <ahref="https://arkhi.org/">Fabien Basmaison</a> and <ahref="https://meiert.com/">Jens Oliver Meiert</a>. (Jens once worked on a <ahref="https://meiert.com/blog/css-naked-day-and-wikipedia/">proposal for a CSS Naked Day Wikipedia page</a> that retells the story.)</p>
85
+
63
86
<h3>Famous words</h3>
87
+
64
88
<blockquote>
65
89
<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>
0 commit comments