creating a new branch to experiment with a new grid.

This commit is contained in:
Dave Gamache 2011-08-29 21:57:53 -07:00
parent 0222ed0975
commit c06276bfc6
4 changed files with 159 additions and 157 deletions

View File

@ -43,16 +43,16 @@
<!-- Delete everything in this .container and get started on your own site! --> <!-- Delete everything in this .container and get started on your own site! -->
<div class="container"> <div class="container">
<div class="sixteen columns"> <div class="g-16">
<h1 class="remove-bottom" style="margin-top: 40px">Skeleton</h1> <h1 class="remove-bottom" style="margin-top: 40px">Skeleton</h1>
<h5>Version 1.1</h5> <h5>Version 2.0</h5>
<hr /> <hr />
</div> </div>
<div class="one-third column"> <div class="g-1-3rd">
<h3>About Skeleton?</h3> <h3>About Skeleton?</h3>
<p>Skeleton is a small collection of well-organized CSS &amp; JS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone. It's based on a responsive grid, but also provides very basic CSS for typography, buttons, tabs, forms and media queries. Go ahead, resize this super basic page to see the grid in action.</p> <p>Skeleton is a small collection of well-organized CSS &amp; JS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone. It's based on a responsive grid, but also provides very basic CSS for typography, buttons, tabs, forms and media queries. Go ahead, resize this super basic page to see the grid in action.</p>
</div> </div>
<div class="one-third column"> <div class="g-1-3rd">
<h3>Three Core Principles</h3> <h3>Three Core Principles</h3>
<p>Skeleton is built on three core principles:</p> <p>Skeleton is built on three core principles:</p>
<ul class="square"> <ul class="square">
@ -61,11 +61,10 @@
<li><strong>Style Agnostic</strong>: It provides the most basic, beautiful styles, but is meant to be overwritten.</li> <li><strong>Style Agnostic</strong>: It provides the most basic, beautiful styles, but is meant to be overwritten.</li>
</ul> </ul>
</div> </div>
<div class="one-third column"> <div class="g-1-3rd">
<h3>Docs &amp; Support</h3> <h3>Docs &amp; Support</h3>
<p>The easiest way to really get started with Skeleton is to check out the full docs and info at <a href="http://www.getskeleton.com">www.getskeleton.com.</a>. Skeleton is also open-source and has a <a href="https://github.com/dhgamache/skeleton">project on git</a>, so check that out if you want to report bugs or create a pull request. If you have any questions, thoughts, concerns or feedback, please don't hesitate to email me at <a href="mailto:hi@getskeleton.com">hi@getskeleton.com</a>.</p> <p>The easiest way to really get started with Skeleton is to check out the full docs and info at <a href="http://www.getskeleton.com">www.getskeleton.com.</a>. Skeleton is also open-source and has a <a href="https://github.com/dhgamache/skeleton">project on git</a>, so check that out if you want to report bugs or create a pull request. If you have any questions, thoughts, concerns or feedback, please don't hesitate to email me at <a href="mailto:hi@getskeleton.com">hi@getskeleton.com</a>.</p>
</div> </div>
</div><!-- container --> </div><!-- container -->

View File

@ -1,5 +1,5 @@
/* /*
* Skeleton V1.1 * Skeleton V2.0
* Copyright 2011, Dave Gamache * Copyright 2011, Dave Gamache
* www.getskeleton.com * www.getskeleton.com
* Free to use under the MIT license. * Free to use under the MIT license.
@ -64,7 +64,7 @@
================================================== */ ================================================== */
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: #181818; color: #181818;
font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif; font-family: "Georgia", "Times New Roman", sans-serif;
font-weight: normal; } font-weight: normal; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;} h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
@ -164,7 +164,7 @@
input[type="reset"]:hover, input[type="reset"]:hover,
input[type="button"]:hover { input[type="button"]:hover {
color: #222; color: #222;
background: #eee; /* Old browsers */ background: #ddd; /* Old browsers */
background: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */ background: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */ background: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
@ -180,16 +180,14 @@
input[type="submit"]:active, input[type="submit"]:active,
input[type="reset"]:active, input[type="reset"]:active,
input[type="button"]:active { input[type="button"]:active {
background: #eee; /* Old browsers */ border: 1px solid #666;
background: -moz-linear-gradient(top, rgba(0,0,0,.3) 0%, rgba(255,255,255,.3) 100%); /* FF3.6+ */ background: #ccc; /* Old browsers */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,.3)), color-stop(100%,rgba(255,255,255,.3))); /* Chrome,Safari4+ */ background: -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
background: -webkit-linear-gradient(top, rgba(0,0,0,.3) 0%,rgba(255,255,255,.3) 100%); /* Chrome10+,Safari5.1+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
background: -o-linear-gradient(top, rgba(0,0,0,.3) 0%,rgba(255,255,255,.3) 100%); /* Opera11.10+ */ background: -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
background: -ms-linear-gradient(top, rgba(0,0,0,.3) 0%,rgba(255,255,255,.3) 100%); /* IE10+ */ background: -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
background: linear-gradient(top, rgba(0,0,0,.3) 0%,rgba(255,255,255,.3) 100%); /* W3C */ background: -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
border: 1px solid #888; background: linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }
border-bottom: 1px solid #aaa;
border-right: 1px solid #aaa; }
.button.full-width, .button.full-width,
button.full-width, button.full-width,

View File

@ -1,5 +1,5 @@
/* /*
* Skeleton V1.1 * Skeleton V2.0
* Copyright 2011, Dave Gamache * Copyright 2011, Dave Gamache
* www.getskeleton.com * www.getskeleton.com
* Free to use under the MIT license. * Free to use under the MIT license.
@ -23,20 +23,22 @@
/* #Media Queries /* #Media Queries
================================================== */ ================================================== */
/* Note: All the sizes are increased by 16px to account for browser scrollbar width */
/* Smaller than standard 960 (devices and browsers) */ /* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {} @media only screen and (max-width: 976px) {}
/* Tablet Portrait size to standard 960 (devices and browsers) */ /* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {} @media only screen and (min-width: 768px) and (max-width: 976px) {}
/* All Mobile Sizes (devices and browser) */ /* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {} @media only screen and (max-width: 767px) {}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {} @media only screen and (min-width: 480px) and (max-width: 767px) {
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {} @media only screen and (min-width: 480px) {}
/* #Font-Face /* #Font-Face

View File

@ -1,5 +1,5 @@
/* /*
* Skeleton V1.1 * Skeleton V2.0
* Copyright 2011, Dave Gamache * Copyright 2011, Dave Gamache
* www.getskeleton.com * www.getskeleton.com
* Free to use under the MIT license. * Free to use under the MIT license.
@ -21,51 +21,51 @@
/* #Base 960 Grid /* #Base 960 Grid
================================================== */ ================================================== */
.container { position: relative; width: 960px; margin: 0 auto; padding: 0; } .container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
.column, .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; } [class*="g-"] { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
.row { margin-bottom: 20px; } .row { margin-bottom: 20px; }
/* Nested Column Classes */ /* Nested Column Classes */
.column.alpha, .columns.alpha { margin-left: 0; } .alpha { margin-left: 0; }
.column.omega, .columns.omega { margin-right: 0; } .omega { margin-right: 0; }
/* Base Grid */ /* Base Grid */
.container .one.column { width: 40px; } .g-1 { width: 40px; }
.container .two.columns { width: 100px; } .g-2 { width: 100px; }
.container .three.columns { width: 160px; } .g-3 { width: 160px; }
.container .four.columns { width: 220px; } .g-4 { width: 220px; }
.container .five.columns { width: 280px; } .g-5 { width: 280px; }
.container .six.columns { width: 340px; } .g-6 { width: 340px; }
.container .seven.columns { width: 400px; } .g-7 { width: 400px; }
.container .eight.columns { width: 460px; } .g-8 { width: 460px; }
.container .nine.columns { width: 520px; } .g-9 { width: 520px; }
.container .ten.columns { width: 580px; } .g-10 { width: 580px; }
.container .eleven.columns { width: 640px; } .g-11 { width: 640px; }
.container .twelve.columns { width: 700px; } .g-12 { width: 700px; }
.container .thirteen.columns { width: 760px; } .g-13 { width: 760px; }
.container .fourteen.columns { width: 820px; } .g-14 { width: 820px; }
.container .fifteen.columns { width: 880px; } .g-15 { width: 880px; }
.container .sixteen.columns { width: 940px; } .g-16 { width: 940px; }
.container .one-third.column { width: 300px; } .g-1-3rd { width: 300px; }
.container .two-thirds.column { width: 620px; } .g-2-3rds { width: 620px; }
/* Offsets */ /* Offsets */
.container .offset-by-one { padding-left: 60px; } .indent-1 { padding-left: 60px; }
.container .offset-by-two { padding-left: 120px; } .indent-2 { padding-left: 120px; }
.container .offset-by-three { padding-left: 180px; } .indent-3 { padding-left: 180px; }
.container .offset-by-four { padding-left: 240px; } .indent-4 { padding-left: 240px; }
.container .offset-by-five { padding-left: 300px; } .indent-5 { padding-left: 300px; }
.container .offset-by-six { padding-left: 360px; } .indent-6 { padding-left: 360px; }
.container .offset-by-seven { padding-left: 420px; } .indent-7 { padding-left: 420px; }
.container .offset-by-eight { padding-left: 480px; } .indent-8 { padding-left: 480px; }
.container .offset-by-nine { padding-left: 540px; } .indent-9 { padding-left: 540px; }
.container .offset-by-ten { padding-left: 600px; } .indent-10 { padding-left: 600px; }
.container .offset-by-eleven { padding-left: 660px; } .indent-11 { padding-left: 660px; }
.container .offset-by-twelve { padding-left: 720px; } .indent-12 { padding-left: 720px; }
.container .offset-by-thirteen { padding-left: 780px; } .indent-13 { padding-left: 780px; }
.container .offset-by-fourteen { padding-left: 840px; } .indent-14 { padding-left: 840px; }
.container .offset-by-fifteen { padding-left: 900px; } .indent-15 { padding-left: 900px; }
@ -74,49 +74,49 @@
/* Note: Design for a width of 768px */ /* Note: Design for a width of 768px */
@media only screen and (min-width: 768px) and (max-width: 959px) { @media only screen and (min-width: 768px) and (max-width: 976px) {
.container { width: 768px; }
.container .column,
.container .columns { margin-left: 10px; margin-right: 10px; }
.column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
.column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
.container .one.column { width: 28px; } .container { width: 752px; }
.container .two.columns { width: 76px; } [class*="g-"] { margin-left: 10px; margin-right: 10px; }
.container .three.columns { width: 124px; } .alpha { margin-left: 0; margin-right: 10px; }
.container .four.columns { width: 172px; } .omega { margin-right: 0; margin-left: 10px; }
.container .five.columns { width: 220px; }
.container .six.columns { width: 268px; }
.container .seven.columns { width: 316px; }
.container .eight.columns { width: 364px; }
.container .nine.columns { width: 412px; }
.container .ten.columns { width: 460px; }
.container .eleven.columns { width: 508px; }
.container .twelve.columns { width: 556px; }
.container .thirteen.columns { width: 604px; }
.container .fourteen.columns { width: 652px; }
.container .fifteen.columns { width: 700px; }
.container .sixteen.columns { width: 748px; }
.container .one-third.column { width: 236px; } .g-1 { width: 27px; }
.container .two-thirds.column { width: 492px; } .g-2 { width: 74px; }
.g-3 { width: 121px; }
.g-4 { width: 168px; }
.g-5 { width: 215px; }
.g-6 { width: 262px; }
.g-7 { width: 309px; }
.g-8 { width: 356px; }
.g-9 { width: 403px; }
.g-10 { width: 450px; }
.g-11 { width: 497px; }
.g-12 { width: 544px; }
.g-13 { width: 591px; }
.g-14 { width: 638px; }
.g-15 { width: 685px; }
.g-16 { width: 732px; }
.g-1-3rd { width: 237px; }
.g-2-3rds { width: 475px; }
/* Offsets */ /* Offsets */
.container .offset-by-one { padding-left: 48px; } .indent-1 { padding-left: 47px; }
.container .offset-by-two { padding-left: 96px; } .indent-2 { padding-left: 94px; }
.container .offset-by-three { padding-left: 144px; } .indent-3 { padding-left: 141px; }
.container .offset-by-four { padding-left: 192px; } .indent-4 { padding-left: 188px; }
.container .offset-by-five { padding-left: 240px; } .indent-5 { padding-left: 235px; }
.container .offset-by-six { padding-left: 288px; } .indent-6 { padding-left: 282px; }
.container .offset-by-seven { padding-left: 336px; } .indent-7 { padding-left: 329px; }
.container .offset-by-eight { padding-left: 348px; } .indent-8 { padding-left: 376px; }
.container .offset-by-nine { padding-left: 432px; } .indent-9 { padding-left: 423px; }
.container .offset-by-ten { padding-left: 480px; } .indent-10 { padding-left: 470px; }
.container .offset-by-eleven { padding-left: 528px; } .indent-11 { padding-left: 517px; }
.container .offset-by-twelve { padding-left: 576px; } .indent-12 { padding-left: 564px; }
.container .offset-by-thirteen { padding-left: 624px; } .indent-13 { padding-left: 611px; }
.container .offset-by-fourteen { padding-left: 672px; } .indent-14 { padding-left: 658px; }
.container .offset-by-fifteen { padding-left: 720px; } .indent-15 { padding-left: 705px; }
} }
@ -126,44 +126,45 @@
/* Note: Design for a width of 320px */ /* Note: Design for a width of 320px */
@media only screen and (max-width: 767px) { @media only screen and (max-width: 767px) {
.container { width: 300px; }
.columns, .column { margin: 0; }
.container .one.column, .container { width: 300px; }
.container .two.columns, [class*="g-"] { margin: 0; }
.container .three.columns,
.container .four.columns, .g-1,
.container .five.columns, .g-2,
.container .six.columns, .g-3,
.container .seven.columns, .g-4,
.container .eight.columns, .g-5,
.container .nine.columns, .g-6,
.container .ten.columns, .g-7,
.container .eleven.columns, .g-8,
.container .twelve.columns, .g-9,
.container .thirteen.columns, .g-10,
.container .fourteen.columns, .g-11,
.container .fifteen.columns, .g-12,
.container .sixteen.columns, .g-13,
.container .one-third.column, .g-14,
.container .two-thirds.column { width: 300px; } .g-15,
.g-16,
.g-1-3rd,
.g-2-3rds { width: 300px; }
/* Offsets */ /* Offsets */
.container .offset-by-one, .indent-1
.container .offset-by-two, .indent-2
.container .offset-by-three, .indent-3
.container .offset-by-four, .indent-4
.container .offset-by-five, .indent-5
.container .offset-by-six, .indent-6
.container .offset-by-seven, .indent-7
.container .offset-by-eight, .indent-8
.container .offset-by-nine, .indent-9
.container .offset-by-ten, .indent-10
.container .offset-by-eleven, .indent-11
.container .offset-by-twelve, .indent-12
.container .offset-by-thirteen, .indent-13
.container .offset-by-fourteen, .indent-14
.container .offset-by-fifteen { padding-left: 0; } .indent-15 { padding-left: 0; }
} }
@ -174,27 +175,29 @@
/* Note: Design for a width of 480px */ /* Note: Design for a width of 480px */
@media only screen and (min-width: 480px) and (max-width: 767px) { @media only screen and (min-width: 480px) and (max-width: 767px) {
.container { width: 420px; }
.columns, .column { margin: 0; }
.container .one.column, .container { width: 420px; }
.container .two.columns, [class*="g-"] { margin: 0; }
.container .three.columns,
.container .four.columns, .g-1,
.container .five.columns, .g-2,
.container .six.columns, .g-3,
.container .seven.columns, .g-4,
.container .eight.columns, .g-5,
.container .nine.columns, .g-6,
.container .ten.columns, .g-7,
.container .eleven.columns, .g-8,
.container .twelve.columns, .g-9,
.container .thirteen.columns, .g-10,
.container .fourteen.columns, .g-11,
.container .fifteen.columns, .g-12,
.container .sixteen.columns, .g-13,
.container .one-third.column, .g-14,
.container .two-thirds.column { width: 420px; } .g-15,
.g-16,
.g-1-3rd,
.g-2-3rds { width: 420px; }
} }