[翻译]欢迎来到第三个CSS裸奔节!

原文地址:http://naked.dustindiaz.com/


Welcome to the third year of CSS Naked Day!
. The first year turned out great, and the second year even better. Now Naked Day '08 is going to push the numbers even further on April 9th.

English, Spanish, French, Thai, Chinese, [Korean 01, Korean 02], [German 01 German 02], Bulgarian, Hungarian, [Russian 01, Russian 02], Ukrainian, Croatian
(if you translated most of this page to another langauge, let me know)

第三届CSS裸奔节来了,今年(CSS Naked Day ‘08)的时间定在4月9日。

Where did my Design go?

The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and of course, a good 'ol play on words. It's time to show off your <body>.

活动目的

CSS裸奔节的目的是推动Web标准。简洁为美。使用正确的(x)html,语义标记,良好的层次结构。暂时把页面设计抛弃,直接展示<body>吧。

 

How to participate

Fill out the naked day signup form, then your website will be included in the official list within the next hour.

Then on April 9th, simply remove all CSS from your website, stripping it entirely of its design.

(Optional): Insert the following snippet of markup at the top of your page on the day of.

<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>

This option 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.

如何参与

这里填表报名,报名后一个小时内,你的网站会在官方列表中出现。

到了4月9日,将你网站上的CSS移除,抛掉页面设计。

你也可以在那天把以下HTML内容放置于网站顶部:

<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>

注:加上这些标注仅仅是为了向你网站的访问者说明情况,并不是为了带来流量或赚钱。CSS裸奔官方网站上没有任何广告,以后也不会放置广告。

 

When is it again?

A few folks were curious about the date of CSS Naked Day. Here's a few reasons why it's on April 9th this year.

  • The date should always be on a Tuesday, Wednesday, or Thursday (most highly trafficked days)
  • It should be near the first week of April
  • It should never be on April 1st (international prank day)
  • There should be at least five days ahead of time before the announcement

活动日期

很多人非常关心CSS裸奔节的活动时间。今年定于4月9日,理由如下:

  • 活动日期应该定于周二、周三或周四,这几天网站流量比较高
  • 时间应该在4月份的第一周前后
  • 不应该是4月1日(要不谁信呢,呵呵)
  • 在活动通告发出至活动日期,至少有五天时间


 

Don't think, just strip

Here is a sample PHP function for you


如何裸奔

下面这个PHP函数可以用来裸奔:


<?php function is_naked_day($d) { $start = date('U', mktime(-12, 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; } ?>

Use it like this

可以这样使用该函数:
<head>
...
<?php
if ( is_naked_day(9) ) {
echo '<!-- naked day has no styles -->';
} else {
echo '<link rel="stylesheet" type="text/css" href="styles.css" />';
}
?>
...
</head>

Tools & Plugins

Attention Plugin Developers. Most of last years plugins are out of sync on the date of Naked Day. Take note of the changes to the function above whereby it takes in a argument representing the day of the month. If you have a Naked Day plugin for a popular CMS, please email me at dustin [@] dustindiaz dot com

工具、插件

Famous Words

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.

Håkon Wium Lie

著名的言论

 这是一个很好的主意,完全符合CSS在首次出现的原因。当大多数设计者已经将注意力倾向于被额外的(网页元素)引起直观的能力的同时,但大多数初学者可能还是以节约HTML作为表象语言是一个更重要的原因。

Drop some love to those who will go nude

Still growing...

(以下为评论和参加此次活动的网站名单,当然参加活动的网站全都要主动的脱光光,大家可以到原始连接里看到不断增长的名单。)

posted @ 2008-04-09 12:34  风海迷沙  阅读(3908)  评论(12编辑  收藏  举报