diff --git a/documentation-assets/Skeleton-Grid.psd.zip b/documentation-assets/Skeleton-Grid.psd.zip new file mode 100644 index 0000000..abfa147 Binary files /dev/null and b/documentation-assets/Skeleton-Grid.psd.zip differ diff --git a/documentation-assets/docs.css b/documentation-assets/docs.css new file mode 100644 index 0000000..893c1d7 --- /dev/null +++ b/documentation-assets/docs.css @@ -0,0 +1,200 @@ +/* +* Skeleton V1.0.3 +* Copyright 2011, Dave Gamache +* www.getskeleton.com +* Free to use under the MIT license. +* http://www.opensource.org/licenses/mit-license.php +* 7/17/2011 +*/ + + +/* Documentation Styles +================================================== */ + div.container { + padding-top: 60px; } + + /* Doc nav */ + nav { + position: fixed; + width: 160px; } + #logo { + margin-bottom: 20px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: -1px; + font-weight: bold; } + nav ul { + float: left; } + nav ul li { + display: block; + margin-bottom: 10px; } + nav ul li a, + nav ul li a:visited, + nav ul li a:active { + font-size: 14px; + color: #555; + text-decoration: none; + font-weight: bold; } + nav ul li a:hover, + nav ul li a:focus { + color: #222; } + header h1 { + font-size: 52px; + line-height: 61px; + letter-spacing: -1px; + font-weight: normal; + font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif; } + hr.large { + border: none; + height: 8px; + background: #ebebeb; + margin: 50px 0; } + div.doc-section { + margin: 30px 0; } + + #whatAndWhy .row { + padding: 30px 0 0; } + + #typography blockquote { + margin-top: 20px; } + + .hidden-code a { + font-size: 12px; + color: #999; } + .hidden-code>div { + display: none; } + + + /* Grid */ + #grid .column, + #grid .columns { + background: #ddd; + height: 25px; + line-height: 25px; + margin-bottom: 10px; + text-align: center; + text-transform: uppercase; + color: #555; + font-size: 12px; + font-weight: bold; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; } + #grid .column:hover, + #grid .columns:hover { + background: #bbb; + color: #333; } + #grid .example-grid { overflow: hidden; } + + .post-button-note, + .post-button-note a { + font-size: 11px; + color: #999; } + + #examples .four.columns a { + text-decoration: none; + } + #examples .four.columns a:hover { + text-decoration: underline; + } + + + .resize { + position: fixed; + bottom: 0; + right: 0; + height: 80px; + width: 80px; + background: url(images/resize.png); } + + + img { + max-width: 100%; + height: auto; } + + .gist-meta { display: none !important;} + + ul ul ul li { margin-bottom: 3px; } + + .twitter-share-button { margin-bottom: -18px; } + +.carbonad, +.carbonad-image, +.carbonad-text, +.carbonad-tag { + background: none !important; + border: none !important; + margin-left: 0 !important; +} +.carbonad-tag { + margin-top: 6px !important; + padding-top: 0 !important; +} +.carbonad-text { + height: auto !important; +} +.carbonad-image { + margin-top: 0 !important; +} + + + /* Mobile */ + @media only screen and (max-width: 767px) { + header h1 { font-size: 34px; line-height: 37px; } + nav { position: relative; } + nav ul, + .carbonad { + display: none; + } + #logo { text-align: left; } + #examples .four.columns { + padding-top: 30px; + } + } + + /* Mobile Landscape */ + @media only screen and (min-width: 480px) and (max-width: 767px) { + nav ul { + display: none; + } + } + + /* Non 960 */ + @media only screen and (max-width: 959px) { + #logo { + font-size: 21px; + margin-bottom: 15px; } + nav .button { + padding: 9px 20px 11px; } + } + + /* iPad Portrait/Browser */ + @media only screen and (min-width: 768px) and (max-width: 959px) { + nav { + width: 124px; } + } + + /* Mobile/Browser */ + @media only screen and (max-width: 767px) {} + + /* Mobile Landscape/Browser */ + @media only screen and (min-width: 480px) and (max-width: 767px) {} + + /* Anything smaller than standard 960 */ + @media only screen and (max-width: 959px) {} + + + /* iPad Portrait Only */ + @media only screen and (min-width: 768px) and (max-width: 959px) and (max-device-width: 1000px) {} + + /* Mobile Only */ + @media only screen and (max-width: 767px) and (max-device-width: 1000px) {} + + /* Mobile Landscape Only */ + @media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {} + + /* Anything smaller than standard 960 on a device */ + @media only screen and (max-width: 959px) and (max-device-width: 1000px) { + .resize { display: none; } + } + + diff --git a/documentation-assets/images/artisticly.jpg b/documentation-assets/images/artisticly.jpg new file mode 100644 index 0000000..18a641d Binary files /dev/null and b/documentation-assets/images/artisticly.jpg differ diff --git a/documentation-assets/images/blink182.jpg b/documentation-assets/images/blink182.jpg new file mode 100644 index 0000000..564fd12 Binary files /dev/null and b/documentation-assets/images/blink182.jpg differ diff --git a/documentation-assets/images/eleventhedition.jpg b/documentation-assets/images/eleventhedition.jpg new file mode 100644 index 0000000..bb90c5c Binary files /dev/null and b/documentation-assets/images/eleventhedition.jpg differ diff --git a/documentation-assets/images/fast.jpg b/documentation-assets/images/fast.jpg new file mode 100644 index 0000000..0c1f4d1 Binary files /dev/null and b/documentation-assets/images/fast.jpg differ diff --git a/documentation-assets/images/foundation.jpg b/documentation-assets/images/foundation.jpg new file mode 100644 index 0000000..41d1cd9 Binary files /dev/null and b/documentation-assets/images/foundation.jpg differ diff --git a/documentation-assets/images/hivemind.jpg b/documentation-assets/images/hivemind.jpg new file mode 100644 index 0000000..7c419a8 Binary files /dev/null and b/documentation-assets/images/hivemind.jpg differ diff --git a/documentation-assets/images/jimnielson.jpg b/documentation-assets/images/jimnielson.jpg new file mode 100644 index 0000000..ab643bc Binary files /dev/null and b/documentation-assets/images/jimnielson.jpg differ diff --git a/documentation-assets/images/resize.png b/documentation-assets/images/resize.png new file mode 100644 index 0000000..5278963 Binary files /dev/null and b/documentation-assets/images/resize.png differ diff --git a/documentation-assets/images/responsive.jpg b/documentation-assets/images/responsive.jpg new file mode 100644 index 0000000..e459d86 Binary files /dev/null and b/documentation-assets/images/responsive.jpg differ diff --git a/documentation-assets/images/superskeleton.jpg b/documentation-assets/images/superskeleton.jpg new file mode 100644 index 0000000..7e62423 Binary files /dev/null and b/documentation-assets/images/superskeleton.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..c90c5c2 --- /dev/null +++ b/index.html @@ -0,0 +1,417 @@ + + + + + + + + + + Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

A Beautiful Boilerplate for Responsive, Mobile-Friendly Development

+ +
+
+
+

What Is It?

+

Skeleton is a small collection of CSS 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 principles:

+
+
+ responsive +
+
+
Responsive Grid Down To Mobile
+

Skeleton has a familiar, lightweight 960 grid as its base, but elegantly scales down to downsized browser windows, tablets, mobile phones (in landscape and portrait). Go ahead, resize this page!

+
+
+
+
+ responsive +
+
+
Fast to Start
+

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.

+
+
+
+
+ responsive +
+
+
Style Agnostic
+

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.

+
+
+
+
+
+

The Grid

+

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. Go ahead, resize the browser and watch as the layout reacts!

+
+
One
+
Eleven
+
Two
+
Ten
+
Three
+
Nine
+
Four
+
Eight
+
Five
+
Seven
+
Six
+
Six
+
Seven
+
Five
+
Eight
+
Four
+
Nine
+
Three
+
Ten
+
Two
+
Eleven
+
One
+
+
+ Code Example + +
+
+
+
+

Typography

+

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 changed with just a couple adjustments. Regular paragraphs are set at a 14px base with 21px line height.

+
+
+

Heading <h1>

+

Heading <h2>

+

Heading <h3>

+

Heading <h4>

+
Heading <h5>
+
Heading <h6>
+
+
+
+

This is a blockquote style example. It stands out, but is awesome

+ Dave Gamache, Skeleton Creator +
+
+
+
+ Code Example + +
+
+
+
+

Buttons

+

Buttons are intended for action and thus should have appropriate weight. The standard button is given that weight with a little bit of depth and a strong hover.

+ Click Me For Action +
+ Code Example + +
+
+
+
+

Forms

+

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.

+
+
+ + + + + + +
+ Checkboxes + + +
+
+ Radio Buttons + + +
+ +
+
+
+
+ Code Example + +
+
+
+
+

Media Queries

+

Skeleton uses a lot of media queries to serve the scalable grid, but also for the convenience of styling your site on different size screens. Skeleton's media queries are almost exclusively targeted at max and min widths rather than device sizes or orientations. The advantage of this is browsers and future mobile devices that don't map to exact set dimensions will still benefit from the styles. That being said, all of the queries were written to be optimal on Apple iOS devices. The built in media queries include:

+
    +
  • Smaller than 960: Smaller than the standard base grid
  • +
  • Tablet Portrait: Between 768px and 959px
  • +
  • All Mobile Sizes: Less than 767px
  • +
  • Just Mobile Landscape: Between 480px and 767px
  • +
  • Just Mobile Portrait: Less than 479px
  • +
+
+ Code Example + +
+
+
+
+

Support for Skeleton

+

Do you have feedback, questions or thoughts about Skeleton - hit me up at hi@getskeleton.com and I will get back to you as soon as I can :)

+

Skeleton has been tested across as many devices and browsers as I could get my hands on:

+
    +
  • Latest Chrome (Mac/PC)
  • +
  • Firefox 4.0, 3.6, 3.5, 3.0 (Mac/PC)
  • +
  • Latest Safari
  • +
  • IE9, IE8, IE7
  • +
  • iPhone (Retina)
  • +
  • Droid (Charge/Original)
  • +
  • iPad
  • +
+

There is a small hiccup though - older non-CSS3 browsers aren't going to respond to the media-queries and thus will be served the standard 960 grid even if they are resized. In the spirit of graceful degradation though, I'm going to let this be instead of trying to implement a JS solution. If you are interested in one though, try the respond.js polyfill.

+

Notes on IE: We all know sometimes IE doesn't behave, so through the genius of conditional CSS I've added a class of "ie" to all versions of the browser, as well as specific targets for each (i.e. "ie6", "ie7", "ie8"). It's not a perfect world, but hopefully this will help make naughty IE behave.

+
+
+
+

Examples & Extensions

+

Skeleton has been in the wild for quite a few months now and reception has been pretty awesome so far. Nothing pleases me more than receiving emails about projects using Skeleton or constructive feedback (this is really the reason Skeleton gets better). Here is a quick list of some of the most awesome sites using Skeleton:

+ + +

Skeleton also has been extended in a number of ways! These are the extensions I've heard of so far!

+ +
+
+
+

Downloads

+

The Skeleton download is a zip file (~25kb) containing all the CSS groundwork to get started on any web project.

+ Download Skeleton 1.2 from Github +
or View Source on Github
+ Download Skeleton PSD Template +
(A la 960.gs PSD template)
+

The file structure for Skeleton is:

+
    +
  • index.html: The base html page that includes the necessary initial markup
  • +
  • + stylesheets (folder) +
      +
    • base.css: Basic styles of Skeleton
    • +
    • skeleton.css: The glorious Skeleton grid
    • +
    • layout.css: File with no specific styles, but a variety of useful media queries
    • +
    +
  • +
  • + images (folder): +
      +
    • favicon.ico: Standard 16x16 favicon
    • +
    • apple-touch-icon (x3): All three sizes of Apple touch icons for iPhone 3, iPad and iPhone 4 with retina.
    • +
    +
  • +
+
+
+
+

License & Log

+

All parts of Skeleton are free to use and abuse under the open-source MIT license. The full licensing language can be found here: http://www.opensource.org/licenses/mit-license.php. More importantly, I would love to have a small community of contributors to Skeleton, so please feel free to jump over the Skeleton Github page and contribute to make Skeleton a better boilerplate for everyone! I would also love to know if you built a site on Skeleton - I'm planning on tying a gallery into these docs, so just shoot me the URL at hi@getskeleton.com

+

A brief log of the history of Skeleton

+
    +
  • + V1.0.0 (5/15/2011): Initial release of Skeleton. +
  • +
  • + V1.0.1 (5/19/2011): Made some quick changes based on input from Github and fellow designers. +
      +
    • Refined the app.js to make faster and cleaner
    • +
    • Added Apple touch icons
    • +
    • Removed some bloated CSS lines from the base.css
    • +
    • Added an :active button class
    • +
    • Changed Skeleton favicon
    • +
    • Added MIT licensing
    • +
    +
  • +
  • + V1.0.2 (5/20/2011): Added more input declarations to the .button styles and included legend in CSS +
  • +
  • + V1.0.3 (7/17/2011): Fixed the issue of failed "zooming" on browsers. +
  • +
  • + V1.1 (8/17/2011): A lot of cleanup changes. I finally feel comfortable throwing a 1.1 on this bad boy. +
      +
    • App.js is now just tabs.js
    • +
    • Tab CSS now works perfectly on IE7+
    • +
    • Rewrote layout.css media-query spaces to be easier to understand
    • +
    • Stripping some rogue whitespace and reformatting a bit
    • +
    • Fixing broken doctype declaration
    • +
    +
  • +
  • + V1.2 (6/20/2012): Pruning Skeleton down to some more bare bones :) +
      +
    • Remove tabs and all JS
    • +
    +
  • +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/apple-touch-icon-114x114.png b/src/images/apple-touch-icon-114x114.png similarity index 100% rename from images/apple-touch-icon-114x114.png rename to src/images/apple-touch-icon-114x114.png diff --git a/images/apple-touch-icon-72x72.png b/src/images/apple-touch-icon-72x72.png similarity index 100% rename from images/apple-touch-icon-72x72.png rename to src/images/apple-touch-icon-72x72.png diff --git a/images/apple-touch-icon.png b/src/images/apple-touch-icon.png similarity index 100% rename from images/apple-touch-icon.png rename to src/images/apple-touch-icon.png diff --git a/images/favicon.ico b/src/images/favicon.ico similarity index 100% rename from images/favicon.ico rename to src/images/favicon.ico diff --git a/stylesheets/base.css b/src/stylesheets/base.css similarity index 100% rename from stylesheets/base.css rename to src/stylesheets/base.css diff --git a/stylesheets/layout.css b/src/stylesheets/layout.css similarity index 100% rename from stylesheets/layout.css rename to src/stylesheets/layout.css diff --git a/stylesheets/skeleton.css b/src/stylesheets/skeleton.css similarity index 100% rename from stylesheets/skeleton.css rename to src/stylesheets/skeleton.css