added more documentation, refined some of the styles and kept pushing on the organization. Still need to work on testing the hell out of it and then cleaning and deploying

This commit is contained in:
Dave Gamache
2011-05-06 13:34:14 -07:00
parent 48aa42b216
commit 7d12d78eed
18 changed files with 290 additions and 175 deletions

177
index.php
View File

@ -26,10 +26,6 @@
<link rel="stylesheet" href="documentation-assets/docs.css">
<!--[if lt IE9]><link rel="stylesheet" href="css/ie.css"><![endif]-->
<!-- JS (see footer for rest)
================================================== -->
<script src="src/javascripts/modernizr-1.7.min.js"></script>
<!-- Favicons
================================================== -->
<link rel="shortcut icon" href="/favicon.ico">
@ -39,15 +35,13 @@
<body>
<div class="container">
<div class="four columns sidebar">
<div class="three columns sidebar">
<nav>
<img src="documentation-assets/images/logo.png" id="logo"></img>
<h3 id="logo">Skeleton.gs</h3>
<ul>
<li><a href="#whatAndWhy">What & Why</a></li>
<li><a href="#basics">Basics</a></li>
<li><a href="#typography">Typography</a></li>
<li><a href="#grid">Grid</a></li>
<li><a href="#buttons">Buttons</a></li>
@ -55,47 +49,83 @@
<li><a href="#forms">Forms</a></li>
<li><a href="#mediaQueries">Media Queries</a></li>
<li><a href="#theFuture">The Future</a></li>
<li class="download"><a href="#download">Download</a></li>
</ul>
</nav>
&nbsp;
</div>
<div class="twelve columns content">
<div class="twelve columns content offset-by-one">
<header>
<p>Skeleton is a lightweight framework for HTML, CSS & jQuery that makes building websites easier.</p>
<h1>A Beautiful Boilerplate for Responsive, Mobile-Friendly Development</h1>
</header>
<hr class="large" />
<div class="doc-section" id="whatAndWhy">
<h3>What &amp; Why</h3>
<p>Here is where I need to chat about what Skeleton is, why it's awesome and how what the file structure is. Focus on: 1) Speed, 2) Best Practices , 3) Across devices</p>
</div>
<hr />
<div class="doc-section" id="basics">
<h3>Basics</h3>
<p>Here is where I need to chat about what Skeleton is, why it's awesome and how what the file structure is. Focus on: 1) Speed, 2) Best Practices , 3) Across devices</p>
</div>
<hr />
<div class="doc-section clearfix" id="typography">
<h3>Typography</h3>
<p>The typography of Skeleton is designed to create a strong hierarchy with basic styles. The primary font is the classic Helvetica Neue, but the font stack can be easily changes with just a couple adjustments. Regular paragraphs are set at a 14px base with 21px line height.</p>
<div class="seven columns alpha headings">
<h1>Heading &lt;h1&gt;</h1>
<h2>Heading &lt;h2&gt;</h2>
<h3>Heading &lt;h3&gt;</h3>
<h4>Heading &lt;h4&gt;</h4>
<h5>Heading &lt;h5&gt;</h5>
<h6>Heading &lt;h6&gt;</h6>
<h3>What Is It?</h3>
<p>Skeleton is a small collection of CSS & JS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone. Skeleton is built on three core pieces:</p>
<div class="row clearfix">
<div class="four columns alpha">
<img src="documentation-assets/images/responsive.jpg" alt="responsive" width="220" height="113" />
</div>
<div class="eight columns omega">
<h5>Responsive Grid Down To Mobile</h5>
<p>Skeleton has a familiar, lightweight 960 grid as it's base, but elegantly scales down to downsized browser windows, tablets, mobile phones (in landscape and portrait). <strong>Go ahead, resize this page!</strong></p>
</div>
</div>
<div class="five columns omega">
<blockquote>
<p>This is a blockquote style example. It stands out, but is awesome</p>
<cite>Dave Gamache, Skeleton Creator</cite>
</blockquote>
<div class="row clearfix">
<div class="four columns alpha">
<img src="documentation-assets/images/fast.jpg" alt="responsive" width="220" height="113" />
</div>
<div class="eight columns omega">
<h5>Fast to Start</h5>
<p>Skeleton is a tool for rapid development. Get started fast with CSS best practices, a well-structured grid that makes mobile consideration easy, an organized file structure and super basic UI elements like lightly styled forms, buttons, tabs and more.</p>
</div>
</div>
<div class="row clearfix">
<div class="four columns alpha">
<img src="documentation-assets/images/foundation.jpg" alt="responsive" width="220" height="113" />
</div>
<div class="eight columns omega">
<h5>Style Agnostic</h5>
<p>Skeleton is not a UI framework. It's a development kit that provides the most basic styles as a foundation, but is ready to adopt whatever your design or style is.</p>
</div>
</div>
</div>
<!--
<ul class="square">
<li><strong>Responsive</strong>: Skeleton was designed to work beautifully across modern browsers at any size, but more important across all of your devices.</li>
<li><strong>Style Agnostic</strong>: Very basic styles have been applied to make Skeleton awesome out of the box, but more importantly it's ready for <em>your </em>style.</li>
<li><strong>Fast</strong>: alksdfj alkds;fj alksdfj</li>
</ul>
-->
<!--
<figure class="iphone">
<img src="documentation-assets/images/iphone.jpg" alt="iphone" />
<figcaption>Mobile</figcaption>
</figure>
<figure class="ipad">
<img src="documentation-assets/images/ipad.jpg" alt="ipad" />
<figcaption>Tablet</figcaption>
</figure>
<figure class="laptop">
<img src="documentation-assets/images/macbook.jpg" alt="macbook" />
<figcaption>Laptop/Desktop</figcaption>
</figure>
</div>
-->
<hr />
<!--
<div class="doc-section" id="downloads">
<h3>Downloads</h3>
<p>Getting the ball rolling with Skeleton is dead simple. You can download the entire boilerplate zip, just the skeleton.gs grid system by itself, or the PSDs for designing on the skeleton grid.</p>
<a class="button" href="">Download Full Zip</a>
<a class="secondary button" href="">Only Grid CSS</a>
<a class="secondary button" href="">Only Grid PSDs</a>
</div>
<hr />
-->
<div class="doc-section clearfix" id="grid">
<h3>Grid</h3>
<p>Skeleton's base grid is a simpler variation of the 960 grid system. The syntax is simpler and is just as effective cross browser and across devices, but the awesome part is that it also has the flexibility to go mobile like a champ. The option is yours to have the site scale fluidly or to have a scaled fixed grid.</p>
<h3>The Grid</h3>
<p>Skeleton's base grid is a variation of the 960 grid system. The syntax is simple and it's effective cross browser, but the awesome part is that it also has the flexibility to go mobile like a champ. <strong>Go ahead, resize the browser and watch as the layout reacts!</strong></p>
<div class="example-grid">
<div class="one column alpha">One</div>
<div class="eleven columns omega">Eleven</div>
@ -122,7 +152,26 @@
</div>
<div class="hidden-code">
<a href="">Code Example</a>
<script type="text/javascript" src="http://snipt.net/embed/44d7e5e7fece4e269ef873fc448804bb"></script>
<script src="https://gist.github.com/959632.js?file=Skeleton%20Grid"></script>
</div>
</div>
<hr />
<div class="doc-section clearfix" id="typography">
<h3>Typography</h3>
<p>The typography of Skeleton is designed to create a strong hierarchy with basic styles. The primary font is the classic Helvetica Neue, but the font stack can be easily changes with just a couple adjustments. Regular paragraphs are set at a 14px base with 21px line height.</p>
<div class="seven columns alpha headings">
<h1>Heading &lt;h1&gt;</h1>
<h2>Heading &lt;h2&gt;</h2>
<h3>Heading &lt;h3&gt;</h3>
<h4>Heading &lt;h4&gt;</h4>
<h5>Heading &lt;h5&gt;</h5>
<h6>Heading &lt;h6&gt;</h6>
</div>
<div class="five columns omega">
<blockquote>
<p>This is a blockquote style example. It stands out, but is awesome</p>
<cite>Dave Gamache, Skeleton Creator</cite>
</blockquote>
</div>
</div>
<hr />
@ -133,7 +182,7 @@
<a href="#" class="secondary button">Dismiss Changes</a>
<div class="hidden-code">
<a href="">Code Example</a>
<script type="text/javascript" src="http://snipt.net/embed/c9ba7e6bef73adc206a1f2f156336b1f"></script>
<!-- <script type="text/javascript" src="http://snipt.net/embed/c9ba7e6bef73adc206a1f2f156336b1f"></script> -->
</div>
</div>
<hr />
@ -152,14 +201,14 @@
</ul>
<div class="hidden-code">
<a href="">Code Example</a>
<script type="text/javascript" src="http://snipt.net/embed/4b46e3f57681fb03107aee169cd7e252"></script>
<!-- <script type="text/javascript" src="http://snipt.net/embed/4b46e3f57681fb03107aee169cd7e252"></script> -->
</div>
</div>
<hr />
<div class="doc-section clearfix" id="forms">
<h3>Forms</h3>
<p>Forms can be one of the biggest pains for web developers, but just use these dead simple styles and you should be good to go. </p>
<div class="four columns alpha" style="overflow: hidden">
<div class="four columns alpha">
<form action="">
<label for="regularInput">Regular Input</label>
<input type="text" id="regularInput" />
@ -213,10 +262,43 @@
<hr />
<div class="doc-section" id="theFuture">
<h3>The Future</h3>
<p>Here is where I need to chat about what Skeleton is, why it's awesome and how what the file structure is. Focus on: 1) Speed, 2) Best Practices , 3) Across devices</p>
<p>As I write this, Skeleton is unreleased and I have just started using it in personal projects. In the future, I hope to build a small community around Skeleton - I want to get feedback, make it better and find the holes. </p>
<p><strong>The ultimate goal is to build the best starting point for front-end development with an emphasis on simple, device-agnostic design.</strong> Help me get there - check out the project on Github or just email me (dhgamache [at] gmail.com) with questions/suggestions.</p>
</div>
<hr />
<div class="doc-section" id="download">
<h3>Download</h3>
<p>The Skeleton download is a zip file (~50kb) containing all the CSS groundwork and JS goodies to get started on any web project. </p>
<a href="files/" class="button">Download Skeleton 1.0</a>
<p>The file structure for Skeleton is:</p>
<ul class="square">
<li><strong>index.html</strong>: The base html page that includes the necessary initial markup</li>
<li>
<strong>stylesheets</strong> <em>(folder)</em>
<ul class="circle">
<li><strong>base.css</strong>: Basic styles of Skeleton</li>
<li><strong>skeleton.css</strong>: The glorious Skeleton grid</li>
<li><strong>layout.css</strong>: Empty file made for your site specific styles</li>
<li><strong>ie.css</strong>: Empty CSS file for IE specific needs</li>
</ul>
</li>
<li>
<strong>javascripts</strong> <em>(folder)</em>
<ul class="circle">
<li><strong>jquery-1.5.1.min.js</strong>: jQuery is served the Google CDN, but I've provided a local fallback</li>
<li><strong>app.css</strong>: Contains code for activating tabs and should house all of your sites JS</li>
<li><strong>Plugins</strong> <em>(folder)</em>: An empty directory for your jQuery plugins</li>
</ul>
</li>
<li>
<strong>images</strong> <em>(folder)</em>
</li>
</ul>
</div>
</div>
</div><!-- container -->
<div class="resize"></div>
@ -231,10 +313,21 @@
<script src="src/javascripts/app.js"></script>
<script>
$('.hidden-code').click(function(e) {
e.preventDefault();
$(this).children('div').slideDown();
$(this).children('.gist').slideToggle();
})
var originalText;
$('.example-grid').children().hover(
function() {
originalText = $(this).text();
$(this).html($(this).width()+'px');
},
function() {
$(this).html(originalText);
})
</script>
</body>
</html>