broke the grid into a spearate file from base called skeleton, really really refined the grid across different devices (although it still needs a lot of testing). I've also started a documentation

This commit is contained in:
Dave Gamache 2011-05-04 18:20:56 -07:00
parent 887f2f4d86
commit 82d63e753d
9 changed files with 454 additions and 438 deletions

View File

@ -13,13 +13,9 @@
/* Doc nav */ /* Doc nav */
nav { nav {
position: fixed; margin-left: 10px;
margin-left: 10px; } position: fixed; }
h1#logo { #logo {
background: url(images/logo.png);
width: 199px;
height: 198px;
text-indent: -9999px;
margin-bottom: 30px; } margin-bottom: 30px; }
nav ul { nav ul {
margin-left: 40px; margin-left: 40px;
@ -61,4 +57,63 @@
font-weight: bold; font-weight: bold;
-moz-border-radius: 2px; -moz-border-radius: 2px;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
border-radius: 2px; } border-radius: 2px; }
/* Mobile */
@media only screen and (max-width: 767px) {
header p { font-size: 25px; line-height: 30px;}
nav { position: relative; }
nav ul { display: none; }
#logo {
width: 100px;
display: block;
margin: 0 auto; }
}
/* Mobile Landscape */
@media only screen and (min-width: 480px) and (max-width: 767px) {
/* .container .four.columns.sidebar { width: 464px; } */
nav ul { display: none; }
/* .container .twelve.columns.content { width: 464px; } */
/* #grid .example-grid { width: 344px; } */
}
/* Non 960 */
@media only screen and (max-width: 969px) {
#logo {
max-width: 130px; }
nav ul { margin-left: 10px; }
}
/* iPad Portrait/Browser */
@media only screen and (min-width: 768px) and (max-width: 991px) {}
/* 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: 991px) 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) {
body {
font-size: 50%;
line-height: 1.5em; }
header p {
font-size: 25px;
line-height: 30px; }
}

View File

@ -16,10 +16,11 @@
<!-- Mobile Specific Metas <!-- Mobile Specific Metas
================================================== --> ================================================== -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=960" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<!-- CSS <!-- CSS
================================================== --> ================================================== -->
<link rel="stylesheet" href="src/stylesheets/base.css">
<link rel="stylesheet" href="src/stylesheets/skeleton.css"> <link rel="stylesheet" href="src/stylesheets/skeleton.css">
<link rel="stylesheet" href="src/stylesheets/ui.css"> <link rel="stylesheet" href="src/stylesheets/ui.css">
<link rel="stylesheet" href="src/stylesheets/layout.css"> <link rel="stylesheet" href="src/stylesheets/layout.css">
@ -42,9 +43,9 @@
<div class="container fluid"> <div class="container fluid">
<div class="four columns"> <div class="four columns sidebar">
<nav> <nav>
<h1 id="logo">Skeleton</h1> <img src="documentation-assets/images/logo.png" id="logo"></img>
<ul> <ul>
<li><a class="active" href="#whatAndWhy">What & Why</a></li> <li><a class="active" href="#whatAndWhy">What & Why</a></li>
<li><a href="#basics">Basics</a></li> <li><a href="#basics">Basics</a></li>
@ -59,7 +60,7 @@
</nav> </nav>
&nbsp; &nbsp;
</div> </div>
<div class="twelve columns"> <div class="twelve columns content">
<header> <header>
<p>Skeleton is a lightweight framework for HTML, CSS & jQuery that makes building websites easier.</p> <p>Skeleton is a lightweight framework for HTML, CSS & jQuery that makes building websites easier.</p>
</header> </header>
@ -88,33 +89,45 @@
<div class="doc-section clearfix" id="grid"> <div class="doc-section clearfix" id="grid">
<h3>Grid</h3> <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> <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>
<div class="one column alpha">One</div> <div class="example-grid">
<div class="eleven columns omega">Eleven</div> <div class="one column alpha">One</div>
<div class="two columns alpha">Two</div> <div class="eleven columns omega">Eleven</div>
<div class="ten columns omega">Ten</div> <div class="two columns alpha">Two</div>
<div class="three columns alpha">Three</div> <div class="ten columns omega">Ten</div>
<div class="nine columns omega">Nine</div> <div class="three columns alpha">Three</div>
<div class="four columns alpha">Four</div> <div class="nine columns omega">Nine</div>
<div class="eight columns omega">Eight</div> <div class="four columns alpha">Four</div>
<div class="five columns alpha">Five</div> <div class="eight columns omega">Eight</div>
<div class="seven columns omega">Seven</div> <div class="five columns alpha">Five</div>
<div class="six columns alpha">Six</div> <div class="seven columns omega">Seven</div>
<div class="six columns omega">Six</div> <div class="six columns alpha">Six</div>
<div class="seven columns alpha">Seven</div> <div class="six columns omega">Six</div>
<div class="five columns omega">Five</div> <div class="seven columns alpha">Seven</div>
<div class="eight columns alpha">Eight</div> <div class="five columns omega">Five</div>
<div class="four columns omega">Four</div> <div class="eight columns alpha">Eight</div>
<div class="nine columns alpha">Nine</div> <div class="four columns omega">Four</div>
<div class="three columns omega">Three</div> <div class="nine columns alpha">Nine</div>
<div class="ten columns alpha">Ten</div> <div class="three columns omega">Three</div>
<div class="two columns omega">Two</div> <div class="ten columns alpha">Ten</div>
<div class="eleven columns alpha">Eleven</div> <div class="two columns omega">Two</div>
<div class="one column omega">One</div> <div class="eleven columns alpha">Eleven</div>
<div class="one column omega">One</div>
</div>
</div> </div>
<hr /> <hr />
<div class="doc-section" id="tabs"> <div class="doc-section" id="tabs">
<h3>Tabs</h3> <h3>Tabs</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>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>
<ul class="tabs">
<li><a class="active" href="#simple">Simple</a></li>
<li><a href="#lightweight">Lightweight</a></li>
<li><a href="#mobileFriendly">Mobile</a></li>
</ul>
<ul class="tabs-content">
<li class="active" id="simpleTab">This is content about how these tabs are simple</li>
<li id="lightweightTab">This is content about how these tabs are lightweight</li>
<li id="mobileFriendlyTab">This is content about how these tabs are mobile friendly</li>
</ul>
</div> </div>
<hr /> <hr />
<div class="doc-section" id="forms"> <div class="doc-section" id="forms">

View File

@ -15,8 +15,8 @@
<!-- Mobile Specific Metas <!-- Mobile Specific Metas
================================================== --> ================================================== -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=960" /> <meta name="viewport" content="width=960" />
<!-- CSS <!-- CSS
================================================== --> ================================================== -->

View File

@ -4,9 +4,13 @@
* www.skeleton.gs * www.skeleton.gs
* 4/30/2011 * 4/30/2011
*/ */
$(document).ready(function() { $(document).ready(function() {
/* iPhone fix to scroll away iPhone browser chrome */
setTimeout(function(){window.scrollTo(0, 1);}, 100);
/* Tabs Activiation /* Tabs Activiation
================================================== */ ================================================== */
var tabs = $('ul.tabs'); var tabs = $('ul.tabs');
@ -18,7 +22,7 @@ $(document).ready(function() {
tab.click(function(e) { tab.click(function(e) {
//Get Location of tab's content //Get Location of tab's content
var contentLocation = $(this).attr("href") var contentLocation = $(this).attr("href")+"Tab"
contentLocation = contentLocation; contentLocation = contentLocation;
//Let go if not a hashed one //Let go if not a hashed one

113
src/stylesheets/base.css Normal file
View File

@ -0,0 +1,113 @@
/*
* Skeleton V0.1
* Created by Dave Gamache
* www.skeleton.gs
* 4/30/2011
*/
/* Table of Content
==================================================
#Reset & Basics
#Basic Styles
#Site Styles
#Typography
#Links
#Lists */
/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* #Basic Styles
================================================== */
body {
background: #fff;
font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #444;
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
}
/* #Typography
================================================== */
h1, h2, h3, h4, h5, h6 {
color: #181818;
font-weight: normal;
line-height: 40px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 300; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; margin-bottom: 14px;}
h2 { font-size: 35px; margin-bottom: 8px; }
h3 { font-size: 28px; margin-bottom: 4px; }
h4 { font-size: 21px; }
h5 { font-size: 17px; font-weight: normal; }
h6 { font-size: 14px; font-weight: bold; }
.subheader { color: #777; }
p { margin: 0 0 20px; }
p img { margin: 0; }
p.lead { font-size: 21px; line-height: 27px; color: #777; }
em { font-style: italic; line-height: inherit; }
strong { font-weight: bold; line-height: inherit; }
small { font-size: 80%; line-height: inherit; }
/* Blockquotes */
blockquote, blockquote p { line-height: 20px; color: #777; }
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
/* #Links
================================================== */
a, a:visited { color: #333; font-weight: bold; text-decoration: underline; outline: 0; line-height: inherit; }
a:hover, a:focus { color: #000; }
p a, p a:visited { line-height: inherit; }
/* #List
================================================== */
ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }
ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
ul.square { list-style: square outside; }
ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; }
ul ul, ul ol
ol ol, ol ul { margin: 4px 0 5px 30px; }
li { line-height: 18px; margin-bottom: 12px; }
ul.large li { line-height: 21px; }
li p { line-height: 21px; }

View File

@ -1,258 +0,0 @@
/*
* Skeleton V0.1
* Created by Dave Gamache
* www.skeleton.gs
* 4/30/2011
*/
/* Table of Content
==================================================
@Reset & Basics
@Basic Styles
@Typography
@Links
@Lists
@Grid
@Tables
@Misc
*/
/* Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* Basic Styles
================================================== */
body {
background: #fff;
font: 13px/18px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;; ;
color: #444;
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ }
/* Typography
================================================== */
h1, h2, h3, h4, h5, h6 { color: #181818; font-weight: bold; line-height: 1.25 }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; margin-bottom: 4px;}
h2 { font-size: 35px; margin-bottom: 2px; }
h3 { font-size: 28px; }
h4 { font-size: 21px; }
h5 { font-size: 18px; }
h6 { font-size: 15px; }
.subheader { color: #777; }
p { margin: 0 0 20px; }
p img { margin: 0; }
p.lead { font-size: 18px; line-height: 24px; }
em { font-style: italic; line-height: inherit; }
strong { font-weight: bold; line-height: inherit; }
small { font-size: 80%; line-height: inherit; }
/* Blockquotes */
blockquote, blockquote p { line-height: 20px; color: #777; }
blockquote { margin: 0 0 18px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 12px 0 18px; height: 0; }
/* Links
================================================== */
a, a:visited { color: #d00b47; text-decoration: none; outline: 0; line-height: inherit; }
a:hover, a:focus { color: #9d0a37; }
p a, p a:visited { line-height: inherit; }
/* List
================================================== */
ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }
ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
ul.square { list-style: square outside; }
ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; }
ul ul, ul ol
ol ol, ol ul { margin: 4px 0 5px 30px; }
li { line-height: 18px; margin-bottom: 12px; }
ul.large li { line-height: 21px; }
/* Grid
================================================== */
.container { position: relative; width: 320px; margin: 0 auto; padding: 0; }
.columns, .columns { float: left; display: inline; background: #f79421; margin-left: 10px; margin-right: 10px; }
.column.alpha,
.columns.alpha {
margin: 0; }
.column.omega,
.columns.omega {
margin: 0; }
.container:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
/* Mobile portrait and smaller */
.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 { width: 300px; }
/* All non-Mobile Portrait */
@media screen and (min-width: 480px) {
.column.alpha,
.columns.alpha {
margin-left: 0; }
.column.omega,
.columns.omega {
margin-right: 0; }
}
/* Mobile Landscape */
@media screen and (min-width: 480px) and (max-width: 767px) {
body { background: #333; }
.container { width: 480px; }
.columns, .columns { margin-left: 8px; margin-right: 8px; }
.container .one.column { width: 14px; }
.container .two.columns { width: 44px; }
.container .three.columns { width: 74px; }
.container .four.columns { width: 104px; }
.container .five.columns { width: 134px; }
.container .six.columns { width: 164px; }
.container .seven.columns { width: 194px; }
.container .eight.columns { width: 224px; }
.container .nine.columns { width: 254px; }
.container .ten.columns { width: 284px; }
.container .eleven.columns { width: 314px; }
.container .twelve.columns { width: 344px; }
.container .thirteen.columns { width: 374px; }
.container .fourteen.columns { width: 404px; }
.container .fifteen.columns { width: 434px; }
.container .sixteen.columns { width: 464px; }
}
/* Tablet Landscape */
@media screen and (min-width: 768px) and (max-width: 959px) {
.container { width: 768px; }
.columns, .columns { margin-left: 10px; margin-right: 10px; }
.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; }
}
/* Standard 960 size */
@media screen and (min-width: 960px) {
body { background: #333; }
.container { width: 960px; }
.columns, .columns { margin-left: 10px; margin-right: 10px; }
.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; }
}
/*
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
.clearfix:before,
.clearfix:after {
content: '\0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
.clearfix:after {
clear: both; }
.clearfix {
zoom: 1; }
*/
/* TEST STYLES */
.sixteen.columns { height: auto; }
nav ul { float: right; }
nav ul li { float: left; margin-left: 20px; }
.slider { width: 100%; height: auto; background: #000; }

View File

@ -3,4 +3,40 @@
* Created by Dave Gamache * Created by Dave Gamache
* www.skeleton.gs * www.skeleton.gs
* 4/30/2011 * 4/30/2011
*/ */
/* Table of Content
==================================================
#Site Styles
#Page Styles
#Media Queries */
/* Site Styles
================================================== */
/* Page Styles
================================================== */
/* Media Queries
================================================== */
/* iPad Portrait/Browser */
@media only screen and (min-width: 768px) and (max-width: 991px) {}
/* 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: 991px) 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) {}

View File

@ -8,116 +8,32 @@
/* Table of Content /* Table of Content
================================================== ==================================================
#Reset & Basics #Base 960 Grid
#Basic Styles #Responsive: Fluid Grid for Downscaling
#Site Styles #Responsive: Full Fluid Grid
#Typography #Mobile: iPad Portrait
#Links #Mobile: iPhone Portrait
#Lists #Mobile: iPhone Landscape
#Tabs #Clearing
#Grid
#Media Queries */
/* Quick Note: The way the grid system works is that the default is a 960 grid that
scales identical to it's mobile styles. There is also an option to make browser version
/* #Reset & Basics (Inspired by E. Meyers) fluid rather than mirror mobile on downscale (.fluid960). There is also a fully fluid grid (.fluid),
================================================== */ which applies to mobile as well.*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
/* #Basic Styles
================================================== */
body {
background: #fff;
font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #444;
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ }
/* #Typography /* #Base 960 Grid
================================================== */
h1, h2, h3, h4, h5, h6 {
color: #181818;
font-weight: normal;
line-height: 40px;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; margin-bottom: 14px;}
h2 { font-size: 35px; margin-bottom: 8px; }
h3 { font-size: 28px; margin-bottom: 4px; }
h4 { font-size: 21px; }
h5 { font-size: 17px; font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
h6 { font-size: 14px; font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: bold; }
.subheader { color: #777; }
p { margin: 0 0 20px; }
p img { margin: 0; }
p.lead { font-size: 21px; line-height: 27px; color: #777; }
em { font-style: italic; line-height: inherit; }
strong { font-weight: bold; line-height: inherit; }
small { font-size: 80%; line-height: inherit; }
/* Blockquotes */
blockquote, blockquote p { line-height: 20px; color: #777; }
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
/* #Links
================================================== */
a, a:visited { color: #333; font-weight: bold; text-decoration: underline; outline: 0; line-height: inherit; }
a:hover, a:focus { color: #000; }
p a, p a:visited { line-height: inherit; }
/* #List
================================================== */
ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }
ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
ul.square { list-style: square outside; }
ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; }
ul ul, ul ol
ol ol, ol ul { margin: 4px 0 5px 30px; }
li { line-height: 18px; margin-bottom: 12px; }
ul.large li { line-height: 21px; }
li p { line-height: 21px; }
/* #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; } .column, .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
/* Actual Grid */ /* Nested Column Classes */
.column.alpha, .columns.alpha { margin-left: 0; }
.column.omega, .columns.omega { margin-right: 0; }
/* Base Grid */
.container .one.column { width: 40px; } .container .one.column { width: 40px; }
.container .two.columns { width: 100px; } .container .two.columns { width: 100px; }
.container .three.columns { width: 160px; } .container .three.columns { width: 160px; }
@ -151,32 +67,57 @@
.container .offset-by-thirteen { padding-left: 780px; } .container .offset-by-thirteen { padding-left: 780px; }
.container .offset-by-fourteen { padding-left: 840px; } .container .offset-by-fourteen { padding-left: 840px; }
.container .offset-by-fifteen { padding-left: 900px; } .container .offset-by-fifteen { padding-left: 900px; }
/* Nested Column Classes */
.column.alpha, .columns.alpha { margin-left: 0; }
.column.omega, .columns.omega { margin-right: 0; }
/* Self Clearing Goodness */
.container:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
/* Use clearfix class on parent to clear nested columns*/
.clearfix:before,
.clearfix:after {
content: '\0020';
display: block; /* #Responsive: Fluid Grid for Downscaling
overflow: hidden; ================================================== */
visibility: hidden;
width: 0;
height: 0; }
.clearfix:after {
clear: both; }
.clearfix {
zoom: 1; }
/* Scaling with a Fluid Grid */ /* NOTE: Cannot be used with nested columns. */
@media screen and (max-width: 959px) {
.container.fluid { max-width: 100%; } /*
.fluid .column, .fluid .columns { margin-left: 1%; margin-right: 1%; } @media screen and (min-device-width: 789px) and (max-width: 959px) {
.fluid960.container {
width: 100%;
min-width: 320px; }
.fluid960.container .column,
.fluid960.container .columns { margin-left: 1%; margin-right: 1%; }
.fluid960.container .one.column { width: 4.25%; }
.fluid960.container .two.columns { width: 10.5%; }
.fluid960.container .three.columns { width: 16.75%; }
.fluid960.container .four.columns { width: 23%; }
.fluid960.container .five.columns { width: 29.25%; }
.fluid960.container .six.columns { width: 35.5%; }
.fluid960.container .seven.columns { width: 41.75%; }
.fluid960.container .eight.columns { width: 48%; }
.fluid960.container .nine.columns { width: 54.25%; }
.fluid960.container .ten.columns { width: 60.5%; }
.fluid960.container .eleven.columns { width: 66.75%; }
.fluid960.container .twelve.columns { width: 73%; }
.fluid960.container .thirteen.columns { width: 79.25%; }
.fluid960.container .fourteen.columns { width: 85.5%; }
.fluid960.container .fifteen.columns { width: 91.75%; }
.fluid960.container .sixteen.columns { width: 98%; }
}
*/
/* #Responsive: Fully Fluid Grid
================================================== */
/* NOTE: Cannot be used with nested columns. */
/*
.fluid.container {
width: 100%;
min-width: 320px; }
.fluid.container .column,
.fluid.container .columns { margin-left: 1%; margin-right: 1%; }
.fluid.container .one.column { width: 4.25%; } .fluid.container .one.column { width: 4.25%; }
.fluid.container .two.columns { width: 10.5%; } .fluid.container .two.columns { width: 10.5%; }
@ -194,17 +135,130 @@
.fluid.container .fourteen.columns { width: 85.5%; } .fluid.container .fourteen.columns { width: 85.5%; }
.fluid.container .fifteen.columns { width: 91.75%; } .fluid.container .fifteen.columns { width: 91.75%; }
.fluid.container .sixteen.columns { width: 98%; } .fluid.container .sixteen.columns { width: 98%; }
} */
/* #Responsive: Go Mobile
================================================== */
/* #Media Queries /* NOTE: These styles mimic mobile styles in browser */
/* #Responsive: iPad Portrait
================================================== */
/* 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; }
.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; }
}
/* Mobile
================================================== */
/* Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
.container { width: 320px; }
.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 { width: 300px; }
}
/* Mobile Landscape
================================================== */ ================================================== */
/* Mobile portrait and smaller (code for 320px wide)*/ /* Note: Design for a width of 480px */
@media screen and (max-width: 479px) {}
@media only screen and (min-width: 480px) and (max-width: 767px) {
.container { width: 440px; }
.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 { width: 420px; }
}
/* Mobile Landscape (code for 480px) */
@media screen and (min-width: 480px) and (max-width: 767px) {} /* Clearing
================================================== */
/* Self Clearing Goodness */
/* Tablet Portrait (Code for 768px) */ .container:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
@media screen and (max-width: 959px) {}
/* Use clearfix class on parent to clear nested columns*/
.clearfix:before,
.clearfix:after {
content: '\0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
.clearfix:after {
clear: both; }
.clearfix {
zoom: 1; }
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}

View File

@ -34,20 +34,19 @@
height: 29px; height: 29px;
padding: 0px 16px; padding: 0px 16px;
line-height: 30px; line-height: 30px;
border: solid 1px #ddd; border: solid 1px #ddd;
border-width: 1px 0 0 1px;
font-weight: normal;
margin: 0; margin: 0;
background: #eee; background: #eee;
font-size: 13px; } font-size: 13px; }
ul.tabs li a.active { ul.tabs li a.active {
background: #fff; background: #fff;
border-width: 1px 0 0px 0;
height: 30px; height: 30px;
margin: 0 -1px 0 0; margin: 0 -1px 0 0;
color: #111; } color: #111; }
ul.tabs li:first-child a.active { ul.tabs li:last-child a {
border-width: 1px 0 0 1px; } border-width: 1px 1px 0 1px; }
ul.tabs li:last-child a.active {
border-width: 1px 1px 0 0; }
ul.tabs-content { margin: 0; display: block; } ul.tabs-content { margin: 0; display: block; }
ul.tabs-content > li { display:none; } ul.tabs-content > li { display:none; }