2011-08-18 00:05:28 -04:00
|
|
|
/*
|
2011-08-30 00:57:53 -04:00
|
|
|
* Skeleton V2.0
|
2011-08-30 01:37:09 -04:00
|
|
|
* Copyright 2011, Dave Gamache (@dhg)
|
2011-05-15 20:02:52 -04:00
|
|
|
* www.getskeleton.com
|
2011-05-19 15:05:30 -04:00
|
|
|
* Free to use under the MIT license.
|
|
|
|
* http://www.opensource.org/licenses/mit-license.php
|
2011-08-18 00:58:20 -04:00
|
|
|
* 8/17/2011
|
2011-05-01 11:43:13 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2011-05-15 19:50:51 -04:00
|
|
|
/* Table of Contents
|
2011-05-01 11:43:13 -04:00
|
|
|
==================================================
|
2011-08-18 00:05:28 -04:00
|
|
|
#Base 960 Grid
|
2011-07-24 10:47:07 -04:00
|
|
|
#Tablet (Portrait)
|
2011-08-18 00:05:28 -04:00
|
|
|
#Mobile (Portrait)
|
2011-07-24 10:47:07 -04:00
|
|
|
#Mobile (Landscape)
|
|
|
|
#Clearing */
|
2011-05-04 21:20:56 -04:00
|
|
|
|
2011-08-18 00:05:28 -04:00
|
|
|
|
|
|
|
|
|
|
|
/* #Base 960 Grid
|
2011-05-02 15:17:18 -04:00
|
|
|
================================================== */
|
2011-05-01 11:43:13 -04:00
|
|
|
|
2011-08-30 00:57:53 -04:00
|
|
|
.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; }
|
2011-08-18 00:05:28 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
/* Nested Column Classes */
|
2011-08-30 00:57:53 -04:00
|
|
|
.alpha { margin-left: 0; }
|
|
|
|
.omega { margin-right: 0; }
|
2011-08-18 00:05:28 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
/* Base Grid */
|
2011-08-30 00:57:53 -04:00
|
|
|
.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; }
|
|
|
|
|
|
|
|
.g-1-3rd { width: 300px; }
|
|
|
|
.g-2-3rds { width: 620px; }
|
2011-08-18 00:05:28 -04:00
|
|
|
|
|
|
|
/* Offsets */
|
2011-08-30 00:57:53 -04:00
|
|
|
.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; }
|
2011-08-18 00:05:28 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-15 19:50:51 -04:00
|
|
|
/* #Tablet (Portrait)
|
2011-08-18 00:05:28 -04:00
|
|
|
================================================== */
|
2011-05-04 21:20:56 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
/* Note: Design for a width of 768px */
|
2011-05-04 21:20:56 -04:00
|
|
|
|
2011-08-30 00:57:53 -04:00
|
|
|
@media only screen and (min-width: 768px) and (max-width: 976px) {
|
|
|
|
|
|
|
|
.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; }
|
|
|
|
|
|
|
|
.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; }
|
2011-08-18 00:05:28 -04:00
|
|
|
|
|
|
|
/* Offsets */
|
2011-08-30 00:57:53 -04:00
|
|
|
.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; }
|
2011-07-24 10:47:07 -04:00
|
|
|
}
|
2011-08-18 00:05:28 -04:00
|
|
|
|
|
|
|
|
|
|
|
/* #Mobile (Portrait)
|
2011-05-04 21:20:56 -04:00
|
|
|
================================================== */
|
2011-08-18 00:05:28 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
/* Note: Design for a width of 320px */
|
2011-08-18 00:05:28 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
@media only screen and (max-width: 767px) {
|
2011-08-30 00:57:53 -04:00
|
|
|
|
|
|
|
.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; }
|
2011-08-18 00:05:28 -04:00
|
|
|
|
|
|
|
/* Offsets */
|
2011-08-30 01:03:05 -04:00
|
|
|
.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,
|
2011-08-30 00:57:53 -04:00
|
|
|
.indent-15 { padding-left: 0; }
|
2011-08-18 00:05:28 -04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-05-15 19:50:51 -04:00
|
|
|
/* #Mobile (Landscape)
|
2011-05-02 15:17:18 -04:00
|
|
|
================================================== */
|
2011-05-01 11:43:13 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
/* Note: Design for a width of 480px */
|
2011-08-18 00:05:28 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
@media only screen and (min-width: 480px) and (max-width: 767px) {
|
2011-08-30 00:57:53 -04:00
|
|
|
|
|
|
|
.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; }
|
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
}
|
2011-08-18 00:05:28 -04:00
|
|
|
|
|
|
|
|
2011-05-15 19:50:51 -04:00
|
|
|
/* #Clearing
|
2011-05-04 21:20:56 -04:00
|
|
|
================================================== */
|
2011-05-01 11:43:13 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
/* Self Clearing Goodness */
|
2011-08-18 00:05:28 -04:00
|
|
|
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
|
|
|
|
|
|
|
|
/* Use clearfix class on parent to clear nested columns,
|
2011-07-24 10:47:07 -04:00
|
|
|
or wrap each row of columns in a <div class="row"> */
|
|
|
|
.clearfix:before,
|
|
|
|
.clearfix:after,
|
|
|
|
.row:before,
|
|
|
|
.row:after {
|
|
|
|
content: '\0020';
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
width: 0;
|
|
|
|
height: 0; }
|
|
|
|
.row:after,
|
|
|
|
.clearfix:after {
|
|
|
|
clear: both; }
|
2011-08-18 00:05:28 -04:00
|
|
|
.row,
|
2011-07-24 10:47:07 -04:00
|
|
|
.clearfix {
|
|
|
|
zoom: 1; }
|
2011-08-18 00:05:28 -04:00
|
|
|
|
2011-07-24 10:47:07 -04:00
|
|
|
/* You can also use a <br class="clear" /> to clear columns */
|
|
|
|
.clear {
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2011-08-30 01:04:13 -04:00
|
|
|
}
|