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! -->
<div class="container">
<div class="sixteen columns">
<div class="g-16">
<h1 class="remove-bottom" style="margin-top: 40px">Skeleton</h1>
<h5>Version 1.1</h5>
<h5>Version 2.0</h5>
<hr />
</div>
<div class="one-third column">
<div class="g-1-3rd">
<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>
</div>
<div class="one-third column">
<div class="g-1-3rd">
<h3>Three Core Principles</h3>
<p>Skeleton is built on three core principles:</p>
<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>
</ul>
</div>
<div class="one-third column">
<div class="g-1-3rd">
<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>
</div>
</div><!-- container -->

View File

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

View File

@ -1,5 +1,5 @@
/*
* Skeleton V1.1
* Skeleton V2.0
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
@ -23,20 +23,22 @@
/* #Media Queries
================================================== */
/* Note: All the sizes are increased by 16px to account for browser scrollbar width */
/* 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) */
@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) */
@media only screen and (max-width: 767px) {}
/* 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) */
@media only screen and (max-width: 479px) {}
@media only screen and (min-width: 480px) {}
/* #Font-Face

View File

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