Changed Index
parent
8467c7df93
commit
293fac6bfe
@ -1,212 +1,104 @@
|
|||||||
<br />
|
|
||||||
<b>Notice</b>: Undefined variable: SERVER_ROOT in <b>/home/yorq6fgakkgm/domains/csszengarden.com/html/examples/index.php</b> on line <b>11</b><br />
|
|
||||||
<br />
|
|
||||||
<b>Notice</b>: Undefined variable: SERVER_ROOT in <b>/home/yorq6fgakkgm/domains/csszengarden.com/html/examples/src.php</b> on line <b>5</b><br />
|
|
||||||
<br />
|
|
||||||
<b>Notice</b>: Undefined variable: SERVER_ROOT in <b>/home/yorq6fgakkgm/domains/csszengarden.com/html/examples/src.php</b> on line <b>8</b><br />
|
|
||||||
<br />
|
|
||||||
<b>Notice</b>: Undefined variable: SERVER_ROOT in <b>/home/yorq6fgakkgm/domains/csszengarden.com/html/examples/src.php</b> on line <b>11</b><br />
|
|
||||||
<br />
|
|
||||||
<b>Notice</b>: Undefined variable: SERVER_ROOT in <b>/home/yorq6fgakkgm/domains/csszengarden.com/html/examples/src.php</b> on line <b>12</b><br />
|
|
||||||
<br />
|
|
||||||
<b>Notice</b>: Undefined index: pg in <b>/home/yorq6fgakkgm/domains/csszengarden.com/html/includes/functions.php</b> on line <b>91</b><br />
|
|
||||||
<br />
|
|
||||||
<b>Notice</b>: Undefined variable: SERVER_ROOT in <b>/home/yorq6fgakkgm/domains/csszengarden.com/html/examples/src.php</b> on line <b>18</b><br />
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="cs">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="UTF-8">
|
||||||
<title>CSS Zen Garden: The Beauty of CSS Design</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" media="screen" href="style.css?v=8may2013">
|
<title>CSS Album</title>
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.csszengarden.com/zengarden.xml">
|
|
||||||
|
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="author" content="Dave Shea">
|
<meta name="author" content="Igor Vujovič">
|
||||||
<meta name="description" content="A demonstration of what can be accomplished visually through CSS-based design.">
|
<meta name="description" content="Demonstrativní web pro výuku CSS">
|
||||||
<meta name="robots" content="all">
|
<meta name="robots" content="all">
|
||||||
|
|
||||||
|
<link rel="stylesheet" media="screen" href="style.css">
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="script/html5shiv.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
|
Tipy Triky a Dobrá praxe pro CSS:
|
||||||
|
|
||||||
|
- :first-child, :last-child a :nth-child je způsob jak přistupovat k elementům
|
||||||
|
- ::before a ::after lze využít pro vytvoření a stylování pseudo-elementů na místo tvorby nových
|
||||||
|
- pro vkládání obrázku je lepší použít více background images, jeden element je poté přehlednější než více img tagů, který se hodí, pokud je obrázek náplní stránky
|
||||||
|
- extra elementy pro stylování na konci souboru jsou pro vyjímečné účely. Využívejte proto raději přístup k pseudo elementům ::before a ::after
|
||||||
|
|
||||||
View source is a feature, not a bug. Thanks for your curiosity and
|
-->
|
||||||
interest in participating!
|
|
||||||
|
|
||||||
Here are the submission guidelines for the new and improved csszengarden.com:
|
<body>
|
||||||
|
|
||||||
- CSS3? Of course! Prefix for ALL browsers where necessary.
|
<!-- Hlavní část webu -->
|
||||||
- go responsive; test your layout at multiple screen sizes.
|
|
||||||
- your browser testing baseline: IE9+, recent Chrome/Firefox/Safari, and iOS/Android
|
|
||||||
- Graceful degradation is acceptable, and in fact highly encouraged.
|
|
||||||
- use classes for styling. Don't use ids.
|
|
||||||
- web fonts are cool, just make sure you have a license to share the files. Hosted
|
|
||||||
services that are applied via the CSS file (ie. Google Fonts) will work fine, but
|
|
||||||
most that require custom HTML won't. TypeKit is supported, see the readme on this
|
|
||||||
page for usage instructions: https://github.com/mezzoblue/csszengarden.com/
|
|
||||||
|
|
||||||
And a few tips on building your CSS file:
|
<div class="page-wrapper">
|
||||||
|
|
||||||
- use :first-child, :last-child and :nth-child to get at non-classed elements
|
<section class="intro">
|
||||||
- use ::before and ::after to create pseudo-elements for extra styling
|
|
||||||
- use multiple background images to apply as many as you need to any element
|
|
||||||
- use the Kellum Method for image replacement, if still needed. http://goo.gl/GXxdI
|
|
||||||
- don't rely on the extra divs at the bottom. Use ::before and ::after instead.
|
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h1>CSS Album</h1>
|
||||||
|
<h2>~Učíme se designovat weby </h2>
|
||||||
|
</header>
|
||||||
|
|
||||||
-->
|
<div class"preambule">
|
||||||
|
|
||||||
<body id="css-zen-garden">
|
|
||||||
<div class="page-wrapper">
|
|
||||||
|
|
||||||
<section class="intro" id="zen-intro">
|
|
||||||
<header role="banner">
|
|
||||||
<h1>CSS Zen Garden</h1>
|
|
||||||
<h2>The Beauty of <abbr title="Cascading Style Sheets">CSS</abbr> Design</h2>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div class="summary" id="zen-summary" role="article">
|
|
||||||
<p>A demonstration of what can be accomplished through <abbr title="Cascading Style Sheets">CSS</abbr>-based design. Select any style sheet from the list to load it into this page.</p>
|
|
||||||
<p>Download the example <a href="/examples/index" title="This page's source HTML code, not to be modified.">html file</a> and <a href="/examples/style.css" title="This page's sample CSS, the file you may modify.">css file</a></p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="preamble" id="zen-preamble" role="article">
|
|
||||||
<h3>The Road to Enlightenment</h3>
|
|
||||||
<p>Littering a dark and dreary road lay the past relics of browser-specific tags, incompatible <abbr title="Document Object Model">DOM</abbr>s, broken <abbr title="Cascading Style Sheets">CSS</abbr> support, and abandoned browsers.</p>
|
|
||||||
<p>We must clear the mind of the past. Web enlightenment has been achieved thanks to the tireless efforts of folk like the <abbr title="World Wide Web Consortium">W3C</abbr>, <abbr title="Web Standards Project">WaSP</abbr>, and the major browser creators.</p>
|
|
||||||
<p>The CSS Zen Garden invites you to relax and meditate on the important lessons of the masters. Begin to see with clarity. Learn to use the time-honored techniques in new and invigorating fashion. Become one with the web.</p>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="main supporting" id="zen-supporting" role="main">
|
<!-- Hlavní část webu -->
|
||||||
<div class="explanation" id="zen-explanation" role="article">
|
|
||||||
<h3>So What is This About?</h3>
|
|
||||||
<p>There is a continuing need to show the power of <abbr title="Cascading Style Sheets">CSS</abbr>. The Zen Garden aims to excite, inspire, and encourage participation. To begin, view some of the existing designs in the list. Clicking on any one will load the style sheet into this very page. The <abbr title="HyperText Markup Language">HTML</abbr> remains the same, the only thing that has changed is the external <abbr title="Cascading Style Sheets">CSS</abbr> file. Yes, really.</p>
|
|
||||||
<p><abbr title="Cascading Style Sheets">CSS</abbr> allows complete and total control over the style of a hypertext document. The only way this can be illustrated in a way that gets people excited is by demonstrating what it can truly be, once the reins are placed in the hands of those able to create beauty from structure. Designers and coders alike have contributed to the beauty of the web; we can always push it further.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="participation" id="zen-participation" role="article">
|
<section class="main">
|
||||||
<h3>Participation</h3>
|
|
||||||
<p>Strong visual design has always been our focus. You are modifying this page, so strong <abbr title="Cascading Style Sheets">CSS</abbr> skills are necessary too, but the example files are commented well enough that even <abbr title="Cascading Style Sheets">CSS</abbr> novices can use them as starting points. Please see the <a href="http://www.mezzoblue.com/zengarden/resources/" title="A listing of CSS-related resources"><abbr title="Cascading Style Sheets">CSS</abbr> Resource Guide</a> for advanced tutorials and tips on working with <abbr title="Cascading Style Sheets">CSS</abbr>.</p>
|
|
||||||
<p>You may modify the style sheet in any way you wish, but not the <abbr title="HyperText Markup Language">HTML</abbr>. This may seem daunting at first if you’ve never worked this way before, but follow the listed links to learn more, and use the sample files as a guide.</p>
|
|
||||||
<p>Download the sample <a href="/examples/index" title="This page's source HTML code, not to be modified.">HTML</a> and <a href="/examples/style.css" title="This page's sample CSS, the file you may modify.">CSS</a> to work on a copy locally. Once you have completed your masterpiece (and please, don’t submit half-finished work) upload your <abbr title="Cascading Style Sheets">CSS</abbr> file to a web server under your control. <a href="http://www.mezzoblue.com/zengarden/submit/" title="Use the contact form to send us your CSS file">Send us a link</a> to an archive of that file and all associated assets, and if we choose to use it we will download it and place it on our server.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="benefits" id="zen-benefits" role="article">
|
<article>
|
||||||
<h3>Benefits</h3>
|
|
||||||
<p>Why participate? For recognition, inspiration, and a resource we can all refer to showing people how amazing <abbr title="Cascading Style Sheets">CSS</abbr> really can be. This site serves as equal parts inspiration for those working on the web today, learning tool for those who will be tomorrow, and gallery of future techniques we can all look forward to.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="requirements" id="zen-requirements" role="article">
|
<h3></h3>
|
||||||
<h3>Requirements</h3>
|
|
||||||
<p>Where possible, we would like to see mostly <abbr title="Cascading Style Sheets, levels 1 and 2">CSS 1 & 2</abbr> usage. <abbr title="Cascading Style Sheets, levels 3 and 4">CSS 3 & 4</abbr> should be limited to widely-supported elements only, or strong fallbacks should be provided. The CSS Zen Garden is about functional, practical <abbr title="Cascading Style Sheets">CSS</abbr> and not the latest bleeding-edge tricks viewable by 2% of the browsing public. The only real requirement we have is that your <abbr title="Cascading Style Sheets">CSS</abbr> validates.</p>
|
|
||||||
<p>Luckily, designing this way shows how well various browsers have implemented <abbr title="Cascading Style Sheets">CSS</abbr> by now. When sticking to the guidelines you should see fairly consistent results across most modern browsers. Due to the sheer number of user agents on the web these days — especially when you factor in mobile — pixel-perfect layouts may not be possible across every platform. That’s okay, but do test in as many as you can. Your design should work in at least IE9+ and the latest Chrome, Firefox, iOS and Android browsers (run by over 90% of the population).</p>
|
|
||||||
<p>We ask that you submit original artwork. Please respect copyright laws. Please keep objectionable material to a minimum, and try to incorporate unique and interesting visual themes to your work. We’re well past the point of needing another garden-related design.</p>
|
|
||||||
<p>This is a learning exercise as well as a demonstration. You retain full copyright on your graphics (with limited exceptions, see <a href="http://www.mezzoblue.com/zengarden/submit/guidelines/">submission guidelines</a>), but we ask you release your <abbr title="Cascading Style Sheets">CSS</abbr> under a Creative Commons license identical to the <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="View the Zen Garden's license information.">one on this site</a> so that others may learn from your work.</p>
|
|
||||||
<p role="contentinfo">By <a href="http://www.mezzoblue.com/">Dave Shea</a>. Bandwidth graciously donated by <a href="http://www.mediatemple.net/">mediatemple</a>. Now available: <a href="http://www.amazon.com/exec/obidos/ASIN/0321303474/mezzoblue-20/">Zen Garden, the book</a>.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
<a href="http://validator.w3.org/check/referer" title="Check the validity of this site’s HTML" class="zen-validate-html">HTML</a>
|
|
||||||
<a href="http://jigsaw.w3.org/css-validator/check/referer" title="Check the validity of this site’s CSS" class="zen-validate-css">CSS</a>
|
|
||||||
<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="View the Creative Commons license of this site: Attribution-NonCommercial-ShareAlike." class="zen-license">CC</a>
|
|
||||||
<a href="http://mezzoblue.com/zengarden/faq/#aaa" title="Read about the accessibility of this site" class="zen-accessibility">A11y</a>
|
|
||||||
<a href="https://github.com/mezzoblue/csszengarden.com" title="Fork this site on Github" class="zen-github">GH</a>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div>
|
</article>
|
||||||
|
|
||||||
|
<!-- Postraní informace -->
|
||||||
|
|
||||||
<aside class="sidebar" role="complementary">
|
<aside>
|
||||||
<div class="wrapper">
|
|
||||||
|
|
||||||
<div class="design-selection" id="design-selection">
|
</aside>
|
||||||
<h3 class="select">Select a Design:</h3>
|
|
||||||
<nav role="navigation">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="/221/" class="design-name">Mid Century Modern</a> by <a href="http://andrewlohman.com/" class="designer-name">Andrew Lohman</a>
|
|
||||||
</li> <li>
|
|
||||||
<a href="/220/" class="design-name">Garments</a> by <a href="http://danielmall.com/" class="designer-name">Dan Mall</a>
|
|
||||||
</li> <li>
|
|
||||||
<a href="/219/" class="design-name">Steel</a> by <a href="http://steffen-knoeller.de" class="designer-name">Steffen Knoeller</a>
|
|
||||||
</li> <li>
|
|
||||||
<a href="/218/" class="design-name">Apothecary</a> by <a href="http://trentwalton.com" class="designer-name">Trent Walton</a>
|
|
||||||
</li> <li>
|
|
||||||
<a href="/217/" class="design-name">Screen Filler</a> by <a href="http://elliotjaystocks.com/" class="designer-name">Elliot Jay Stocks</a>
|
|
||||||
</li> <li>
|
|
||||||
<a href="/216/" class="design-name">Fountain Kiss</a> by <a href="http://jeremycarlson.com" class="designer-name">Jeremy Carlson</a>
|
|
||||||
</li> <li>
|
|
||||||
<a href="/215/" class="design-name">A Robot Named Jimmy</a> by <a href="http://meltmedia.com/" class="designer-name">meltmedia</a>
|
|
||||||
</li> <li>
|
|
||||||
<a href="/214/" class="design-name">Verde Moderna</a> by <a href="http://www.mezzoblue.com/" class="designer-name">Dave Shea</a>
|
|
||||||
</li> </ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="design-archives" id="design-archives">
|
</section>
|
||||||
<h3 class="archives">Archives:</h3>
|
|
||||||
<nav role="navigation">
|
<!-- Podpůrné informace -->
|
||||||
|
|
||||||
|
<section class="support">
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Zápatí webu -->
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
|
||||||
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="next">
|
<li><a href=""></a></li>
|
||||||
<a href="/214/page1">
|
<li><a href=""></a></li>
|
||||||
Next Designs <span class="indicator">›</span>
|
<li><a href=""></a></li>
|
||||||
</a>
|
<li><a href=""></a></li>
|
||||||
</li>
|
|
||||||
<li class="viewall">
|
|
||||||
<a href="http://www.mezzoblue.com/zengarden/alldesigns/" title="View every submission to the Zen Garden.">
|
|
||||||
View All Designs </a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="zen-resources" id="zen-resources">
|
<p>Igor Vujovič & Fili Projekt</p>
|
||||||
<h3 class="resources">Resources:</h3>
|
<p>UK PedF KITTV, Praha 2023</p>
|
||||||
<ul>
|
|
||||||
<li class="view-css">
|
|
||||||
<a href="style.css" title="View the source CSS file of the currently-viewed design.">
|
|
||||||
View This Design’s <abbr title="Cascading Style Sheets">CSS</abbr> </a>
|
|
||||||
</li>
|
|
||||||
<li class="css-resources">
|
|
||||||
<a href="http://www.mezzoblue.com/zengarden/resources/" title="Links to great sites with information on using CSS.">
|
|
||||||
<abbr title="Cascading Style Sheets">CSS</abbr> Resources </a>
|
|
||||||
</li>
|
|
||||||
<li class="zen-faq">
|
|
||||||
<a href="http://www.mezzoblue.com/zengarden/faq/" title="A list of Frequently Asked Questions about the Zen Garden.">
|
|
||||||
<abbr title="Frequently Asked Questions">FAQ</abbr> </a>
|
|
||||||
</li>
|
|
||||||
<li class="zen-submit">
|
|
||||||
<a href="http://www.mezzoblue.com/zengarden/submit/" title="Send in your own CSS file.">
|
|
||||||
Submit a Design </a>
|
|
||||||
</li>
|
|
||||||
<li class="zen-translations">
|
|
||||||
<a href="http://www.mezzoblue.com/zengarden/translations/" title="View translated versions of this page.">
|
|
||||||
Translations </a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--
|
<!-- Extra elementy pro stylování-->
|
||||||
|
|
||||||
These superfluous divs/spans were originally provided as catch-alls to add extra imagery.
|
|
||||||
These days we have full ::before and ::after support, favour using those instead.
|
|
||||||
These only remain for historical design compatibility. They might go away one day.
|
|
||||||
|
|
||||||
-->
|
<div class="extra1"></div>
|
||||||
<div class="extra1" role="presentation"></div><div class="extra2" role="presentation"></div><div class="extra3" role="presentation"></div>
|
<div class="extra2"></div>
|
||||||
<div class="extra4" role="presentation"></div><div class="extra5" role="presentation"></div><div class="extra6" role="presentation"></div>
|
<div class="extra3"></div>
|
||||||
|
<div class="extra4"></div>
|
||||||
|
<div class="extra5"></div>
|
||||||
|
<div class="extra6"></div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue