Debian Codegraph @

postcss-recipes/minimal-setup/index.html

raw
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Template Setup</title>
7
8 <link rel="stylesheet" href="./dist/css/style.css">
9 </head>
10 <!--
11 View source is a feature, not a bug. Thanks for your curiosity and
12 interest in participating!
13
14 Here are the submission guidelines for the new and improved csszengarden.com:
15
16 - CSS3? Of course! Prefix for ALL browsers where necessary.
17 - go responsive; test your layout at multiple screen sizes.
18 - your browser testing baseline: IE9+, recent Chrome/Firefox/Safari, and iOS/Android
19 - Graceful degradation is acceptable, and in fact highly encouraged.
20 - use classes for styling. Don't use ids.
21 - web fonts are cool, just make sure you have a license to share the files. Hosted
22 services that are applied via the CSS file (ie. Google Fonts) will work fine, but
23 most that require custom HTML won't. TypeKit is supported, see the readme on this
24 page for usage instructions: https://github.com/mezzoblue/csszengarden.com/
25
26 And a few tips on building your CSS file:
27
28 - use :first-child, :last-child and :nth-child to get at non-classed elements
29 - use ::before and ::after to create pseudo-elements for extra styling
30 - use multiple background images to apply as many as you need to any element
31 - use the Kellum Method for image replacement, if still needed. http://goo.gl/GXxdI
32 - don't rely on the extra divs at the bottom. Use ::before and ::after instead.
33 -->
34 <body id="css-zen-garden">
35 <div class="page-wrapper">
36
37 <section class="intro" id="zen-intro">
38 <header role="banner">
39 <h1>CSS Zen Garden</h1>
40 <h2>The Beauty of <abbr title="Cascading Style Sheets">CSS</abbr> Design</h2>
41 </header>
42
43 <div class="summary" id="zen-summary" role="article">
44 <p>A demonstration of what can be accomplished through <abbr title="Cascading Style Sheets">CSS</abbr>-based
45 design. Select any style sheet from the list to load it into this page.</p>
46 </div>
47
48 <div class="preamble" id="zen-preamble" role="article">
49 <h3>The Road to Enlightenment</h3>
50 <p>Littering a dark and dreary road lay the past relics of browser-specific tags, incompatible <abbr
51 title="Document Object Model">DOM</abbr>s, broken <abbr title="Cascading Style Sheets">CSS</abbr> support,
52 and abandoned browsers.</p>
53 <p>We must clear the mind of the past. Web enlightenment has been achieved thanks to the tireless efforts of
54 folk like the <abbr title="World Wide Web Consortium">W3C</abbr>, <abbr
55 title="Web Standards Project">WaSP</abbr>, and the major browser creators.</p>
56 <p>The CSS Zen Garden invites you to relax and meditate on the important lessons of the masters. Begin to see
57 with clarity. Learn to use the time-honored techniques in new and invigorating fashion. Become one with the
58 web.</p>
59 </div>
60 </section>
61
62 <div class="main supporting" id="zen-supporting" role="main">
63 <div class="explanation" id="zen-explanation" role="article">
64 <h3>So What is This About?</h3>
65 <p>There is a continuing need to show the power of <abbr title="Cascading Style Sheets">CSS</abbr>. The Zen
66 Garden aims to excite, inspire, and encourage participation. To begin, view some of the existing designs in
67 the list. Clicking on any one will load the style sheet into this very page. The <abbr
68 title="HyperText Markup Language">HTML</abbr> remains the same, the only thing that has changed is the
69 external <abbr title="Cascading Style Sheets">CSS</abbr> file. Yes, really.</p>
70 <p><abbr title="Cascading Style Sheets">CSS</abbr> allows complete and total control over the style of a
71 hypertext document. The only way this can be illustrated in a way that gets people excited is by
72 demonstrating
73 what it can truly be, once the reins are placed in the hands of those able to create beauty from structure.
74 Designers and coders alike have contributed to the beauty of the web; we can always push it further.</p>
75 </div>
76
77 <div class="participation" id="zen-participation" role="article">
78 <h3>Participation</h3>
79 <p>Strong visual design has always been our focus. You are modifying this page, so strong <abbr
80 title="Cascading Style Sheets">CSS</abbr> skills are necessary too, but the example files are commented
81 well
82 enough that even <abbr title="Cascading Style Sheets">CSS</abbr> novices can use them as starting points.
83 Please see the <a href="https://www.csszengarden.com/pages/resources/" title="A listing of CSS-related resources"><abbr
84 title="Cascading Style Sheets">CSS</abbr> Resource Guide</a> for advanced tutorials and tips on working
85 with <abbr title="Cascading Style Sheets">CSS</abbr>.</p>
86 <p>You may modify the style sheet in any way you wish, but not the <abbr
87 title="HyperText Markup Language">HTML</abbr>. This may seem daunting at first if you&#8217;ve never
88 worked
89 this way before, but follow the listed links to learn more, and use the sample files as a guide.</p>
90 <p>Download the sample <a href="https://www.csszengarden.com/examples/index"
91 title="This page's source HTML code, not to be modified.">HTML</a> and <a href="https://www.csszengarden.com/examples/style.css"
92 title="This page's sample CSS, the file you may modify.">CSS</a> to work on a copy locally. Once you have
93 completed your masterpiece (and please, don&#8217;t submit half-finished work) upload your <abbr
94 title="Cascading Style Sheets">CSS</abbr> file to a web server under your control. <a href="https://www.csszengarden.com/pages/submit/"
95 title="Use the contact form to send us your CSS file">Send us a link</a> to an
96 archive of that file and all
97 associated assets, and if we choose to use it we will download it and place it on our server.</p>
98 </div>
99
100 <div class="benefits" id="zen-benefits" role="article">
101 <h3>Benefits</h3>
102 <p>Why participate? For recognition, inspiration, and a resource we can all refer to showing people how
103 amazing
104 <abbr title="Cascading Style Sheets">CSS</abbr> really can be. This site serves as equal parts inspiration
105 for
106 those working on the web today, learning tool for those who will be tomorrow, and gallery of future
107 techniques
108 we can all look forward to.
109 </p>
110 </div>
111
112 <div class="requirements" id="zen-requirements" role="article">
113 <h3>Requirements</h3>
114 <p>Where possible, we would like to see mostly <abbr title="Cascading Style Sheets, levels 1 and 2">CSS 1
115 &amp;
116 2</abbr> usage. <abbr title="Cascading Style Sheets, levels 3 and 4">CSS 3 &amp; 4</abbr> should be
117 limited
118 to widely-supported elements only, or strong fallbacks should be provided. The CSS Zen Garden is about
119 functional, practical <abbr title="Cascading Style Sheets">CSS</abbr> and not the latest bleeding-edge
120 tricks
121 viewable by 2% of the browsing public. The only real requirement we have is that your <abbr
122 title="Cascading Style Sheets">CSS</abbr> validates.</p>
123 <p>Luckily, designing this way shows how well various browsers have implemented <abbr
124 title="Cascading Style Sheets">CSS</abbr> by now. When sticking to the guidelines you should see fairly
125 consistent results across most modern browsers. Due to the sheer number of user agents on the web these days
126 &#8212; especially when you factor in mobile &#8212; pixel-perfect layouts may not be possible across every
127 platform. That&#8217;s okay, but do test in as many as you can. Your design should work in at least IE9+ and
128 the latest Chrome, Firefox, iOS and Android browsers (run by over 90% of the population).</p>
129 <p>We ask that you submit original artwork. Please respect copyright laws. Please keep objectionable material
130 to
131 a minimum, and try to incorporate unique and interesting visual themes to your work. We&#8217;re well past
132 the
133 point of needing another garden-related design.</p>
134 <p>This is a learning exercise as well as a demonstration. You retain full copyright on your graphics (with
135 limited exceptions, see <a href="https://www.csszengarden.com/pages/submit/guidelines/">submission guidelines</a>), but we ask you
136 release
137 your <abbr title="Cascading Style Sheets">CSS</abbr> under a Creative Commons license identical to the <a
138 href="http://creativecommons.org/licenses/by-nc-sa/3.0/"
139 title="View the Zen Garden's license information.">one on this site</a> so that others may learn from your
140 work.</p>
141 <p role="contentinfo">By <a href="http://www.mezzoblue.com/">Dave Shea</a>. Bandwidth graciously donated by <a
142 href="http://www.mediatemple.net/">mediatemple</a>. Now available: <a
143 href="http://www.amazon.com/exec/obidos/ASIN/0321303474/mezzoblue-20/">Zen Garden, the book</a>.</p>
144 </div>
145
146 <footer>
147 <a href="http://validator.w3.org/check/referer" title="Check the validity of this site&#8217;s HTML"
148 class="zen-validate-html">HTML</a>
149 <a href="http://jigsaw.w3.org/css-validator/check/referer" title="Check the validity of this site&#8217;s CSS"
150 class="zen-validate-css">CSS</a>
151 <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/"
152 title="View the Creative Commons license of this site: Attribution-NonCommercial-ShareAlike."
153 class="zen-license">CC</a>
154 <a href="http://mezzoblue.com/zengarden/faq/#aaa" title="Read about the accessibility of this site"
155 class="zen-accessibility">A11y</a>
156 <a href="https://github.com/mezzoblue/csszengarden.com" title="Fork this site on Github"
157 class="zen-github">GH</a>
158 </footer>
159
160 </div>
161
162
163 <aside class="sidebar" role="complementary">
164 <div class="wrapper">
165
166 <div class="design-selection" id="design-selection">
167 <h3 class="select">Select a Design:</h3>
168 <nav role="navigation">
169 <ul>
170 <li>
171 <a href="https://www.csszengarden.com/221/" class="design-name">Mid Century Modern</a> by <a href="http://andrewlohman.com/"
172 class="designer-name">Andrew Lohman</a>
173 </li>
174 <li>
175 <a href="https://www.csszengarden.com/220/" class="design-name">Garments</a> by <a href="http://danielmall.com/"
176 class="designer-name">Dan Mall</a>
177 </li>
178 <li>
179 <a href="https://www.csszengarden.com/219/" class="design-name">Steel</a> by <a href="http://steffen-knoeller.de"
180 class="designer-name">Steffen Knoeller</a>
181 </li>
182 <li>
183 <a href="https://www.csszengarden.com/218/" class="design-name">Apothecary</a> by <a href="http://trentwalton.com"
184 class="designer-name">Trent Walton</a>
185 </li>
186 <li>
187 <a href="https://www.csszengarden.com/217/" class="design-name">Screen Filler</a> by <a href="http://elliotjaystocks.com/"
188 class="designer-name">Elliot Jay Stocks</a>
189 </li>
190 <li>
191 <a href="https://www.csszengarden.com/216/" class="design-name">Fountain Kiss</a> by <a href="http://jeremycarlson.com"
192 class="designer-name">Jeremy Carlson</a>
193 </li>
194 <li>
195 <a href="https://www.csszengarden.com/215/" class="design-name">A Robot Named Jimmy</a> by <a href="http://meltmedia.com/"
196 class="designer-name">meltmedia</a>
197 </li>
198 <li>
199 <a href="https://www.csszengarden.com/214/" class="design-name">Verde Moderna</a> by <a href="http://www.mezzoblue.com/"
200 class="designer-name">Dave Shea</a>
201 </li>
202 </ul>
203 </nav>
204 </div>
205
206 <div class="design-archives" id="design-archives">
207 <h3 class="archives">Archives:</h3>
208 <nav role="navigation">
209 <ul>
210 <li class="next">
211 <a href="https://www.csszengarden.com/214/page1">
212 Next Designs <span class="indicator">&rsaquo;</span>
213 </a>
214 </li>
215 <li class="viewall">
216 <a href="https://www.csszengarden.com/pages/alldesigns/" title="View every submission to the Zen Garden.">
217 View All Designs </a>
218 </li>
219 </ul>
220 </nav>
221 </div>
222
223 <div class="zen-resources" id="zen-resources">
224 <h3 class="resources">Resources:</h3>
225 <ul>
226 <li class="view-css">
227 <a href="https://www.csszengarden.com/214/214.css" title="View the source CSS file of the currently-viewed design.">
228 View This Design&#8217;s <abbr title="Cascading Style Sheets">CSS</abbr> </a>
229 </li>
230 <li class="css-resources">
231 <a href="https://www.csszengarden.com/pages/resources/" title="Links to great sites with information on using CSS.">
232 <abbr title="Cascading Style Sheets">CSS</abbr> Resources </a>
233 </li>
234 <li class="zen-faq">
235 <a href="https://www.csszengarden.com/pages/faq/" title="A list of Frequently Asked Questions about the Zen Garden.">
236 <abbr title="Frequently Asked Questions">FAQ</abbr> </a>
237 </li>
238 <li class="zen-submit">
239 <a href="https://www.csszengarden.com/pages/submit/" title="Send in your own CSS file.">
240 Submit a Design </a>
241 </li>
242 <li class="zen-translations">
243 <a href="https://www.csszengarden.com/pages/translations/" title="View translated versions of this page.">
244 Translations </a>
245 </li>
246 </ul>
247 </div>
248 </div>
249 </aside>
250 </div>
251 </body>
252 </html>