started building out the documentation and trying to include a fluid grid (but nesting seems impossible)

This commit is contained in:
Dave Gamache
2011-05-03 07:36:26 -07:00
parent 48b90f6bb5
commit 887f2f4d86
19 changed files with 373 additions and 111 deletions

13
src/fonts/README.css Normal file
View File

@ -0,0 +1,13 @@
/* This is the proper syntax for an @font-face file
Just copy pasta into your CSS file
*/
@font-face {
font-family: 'FontName';
src: url('../fonts/FontName.eot');
src: url('../fonts/FontName.eot?iefix') format('eot'),
url('../fonts/FontName.woff') format('woff'),
url('../fonts/FontName.ttf') format('truetype'),
url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
font-weight: normal;
font-style: normal; }

View File

@ -0,0 +1,9 @@
<!-- JS
================================================== -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
<script>window.jQuery || document.write("<script src='javascripts/jquery-1.5.1.min.js'>\x3C/script>")</script>
<script src="javascripts/modernizr-1.7.min.js"></script>
<script src="javascripts/app.js"></script>
</body>
</html>

38
src/includes/doc-head.php Normal file
View File

@ -0,0 +1,38 @@
<!doctype html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <!-- Force Latest IE rendering engine -->
<title><?= $page_title ?></title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile Specific Metas
================================================== -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=960" />
<!-- CSS
================================================== -->
<link rel="stylesheet" href="stylesheets/skeleton.css">
<link rel="stylesheet" href="stylesheets/ui.css">
<link rel="stylesheet" href="stylesheets/layout.css">
<!--[if lt IE9]><link rel="stylesheet" href="css/ie.css"><![endif]-->
<!-- JS (see footer for rest)
================================================== -->
<script src="javascripts/modernizr-1.7.min.js"></script>
<!-- Favicons
================================================== -->
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
</head>
<body>

29
src/index.php Normal file
View File

@ -0,0 +1,29 @@
<? $title = "Page Title";
include("includes/doc-head.php"); ?>
<div class="container">
<nav class="five columns">
<h1>Skeleton</h1>
<ul>
<li><a href="#whatAndWhy">What & Why</a></li>
<li><a href="#basics">Basics</a></li>
<li><a href="#typography">Typography</a></li>
<li><a href="#grid">Grid</a></li>
<li><a href="#buttons">Buttons</a></li>
<li><a href="#tabs">Tabs</a></li>
<li><a href="#forms">Forms</a></li>
<li><a href="#mediaQueries">Media Queries</a></li>
<li><a href="#theFuture">The Future</a></li>
</ul>
</nav>
<div class="eleven columns">
<header>
<p>Skeleton is a lightweight framework for HTML, CSS & jQuery that makes building websites easier.</p>
</header>
<br class="large" />
<h3>What &amp; Why</h3>
<p>Here is where I need to chat about what Skeleton is, why it<69>s awesome and how what the file structure is. Focus on: 1) Speed, 2) Best Practices , 3) Across devices</p>
</div>
</div><!-- container -->
<? include("includes/doc-foot.php"); ?>

66
src/javascripts/app.js Normal file
View File

@ -0,0 +1,66 @@
/*
* Skeleton V0.1
* Created by Dave Gamache
* www.skeleton.gs
* 4/30/2011
*/
$(document).ready(function() {
/* Tabs Activiation
================================================== */
var tabs = $('ul.tabs');
tabsContent = $('ul.tabs-content')
tabs.each(function(i) {
//Get all tabs
var tab = $(this).children('li').children('a');
tab.click(function(e) {
//Get Location of tab's content
var contentLocation = $(this).attr("href")
contentLocation = contentLocation;
//Let go if not a hashed one
if(contentLocation.charAt(0)=="#") {
e.preventDefault();
//Make Tab Active
tab.removeClass('active');
$(this).addClass('active');
//Show Tab Content
$(contentLocation).parent('.tabs-content').children('li').css({"display":"none"});
$(contentLocation).css({"display":"block"});
}
});
});
/* Placeholder
==================================================
$('[placeholder]').focus(function() {
var input = $(this);
if (input.val() == input.attr('placeholder')) {
input.val('');
input.removeClass('placeholder');
}
}).blur(function() {
var input = $(this);
if (input.val() == '' || input.val() == input.attr('placeholder')) {
input.addClass('placeholder');
input.val(input.attr('placeholder'));
}
}).blur();
$('[placeholder]').parents('form').submit(function() {
$(this).find('[placeholder]').each(function() {
var input = $(this);
if (input.val() == input.attr('placeholder')) {
input.val('');
}
});
}); */
});

16
src/javascripts/jquery-1.5.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

2
src/javascripts/modernizr-1.7.min.js vendored Normal file

File diff suppressed because one or more lines are too long

86
src/stylesheets/forms.css Normal file
View File

@ -0,0 +1,86 @@
/* Artfully masterminded by ZURB
Make sure to include the app.js if you are going to use inline label inputs
*/
/* -----------------------------------------
Standard Forms
----------------------------------------- */
form { margin: 0 0 18px; }
form label { display: block; font-size: 13px; line-height: 18px; cursor: pointer; margin-bottom: 9px; }
input.input-text, textarea { border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; }
input.input-text, textarea, select { display: block; margin-bottom: 9px; }
label + input.input-text, label + textarea, label + select, label + div.dropdown, select + div.dropdown { margin-top: -9px; }
/* Text input and textarea font and padding */
input.input-text, textarea { font-size: 13px; padding: 4px 3px 2px; outline: none !important; background: #fff; }
input.input-text.oversize, textarea.oversize { font-size: 18px !important; padding: 4px 5px !important; }
input.input-text:focus, textarea:focus { background: #f9f9f9; }
/* Inlined Label Style */
input.placeholder, textarea.placeholder { color: #888; }
/* Text input and textarea sizes */
input.input-text, textarea { width: 254px; }
input.small, textarea.small { width: 134px; }
input.medium, textarea.medium { width: 254px; }
input.large, textarea.large { width: 434px; }
/* Fieldsets */
form fieldset { padding: 9px 9px 2px 9px; border: solid 1px #ddd; margin: 18px 0; }
/* Errors */
input.input-text.red { border-color: red; background-color: rgba(255,0,0,0.15); }
label.red { color: red; }
small.error { margin-top: -6px; display: block; margin-bottom: 9px; font-size: 11px; color: red; width: 260px; }
.small + .error { width: 140px; }
.medium + .error { width: 260px; }
.large + .error { width: 440px; }
/* -----------------------------------------
Nicer Forms
----------------------------------------- */
form.nice input.input-text, form.nice textarea { border: solid 1px #bbb; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
form.nice input.input-text, form.nice textarea { font-size: 13px; padding: 6px 3px 4px; outline: none !important; background: url(../images/misc/input-bg.png) #fff; }
form.nice input.input-text:focus, form.nice textarea:focus { background-color: #f9f9f9; }
form.nice fieldset { -webkit-border-radius: 5px; -moz-border-radius: 5px; }
form.nice small.error { padding: 6px 4px; border: solid 0px red; border-width: 0px 1px 1px 1px; margin-top: -10px; background: red; color: #fff; font-size: 12px; font-weight: bold; -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px; -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px; }
form.nice .small + .error { width: 132px; }
form.nice .medium + .error { width: 252px; }
form.nice .large + .error { width: 432px; }
/* -----------------------------------------
Custom Forms
----------------------------------------- */
form.custom span.custom { display: inline-block; width: 14px; height: 14px; position: relative; top: 2px; border: solid 1px #ccc; background: url(../images/misc/custom-form-sprites.png) 0 0 no-repeat; }
form.custom span.custom.radio { border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; }
form.custom span.custom.radio.checked { background-position: 0px -14px; }
form.custom span.custom.checkbox.checked { background-position: 0px -28px; }
form.custom div.custom.dropdown { position: relative; display: inline-block; width: auto; height: 28px; margin-bottom: 9px; }
form.custom div.custom.dropdown a.current { display: block; width: auto; line-height: 26px; padding: 0 38px 0 6px; border: solid 1px #ddd; color: #141414; }
form.custom div.custom.dropdown a.selector { position: absolute; width: 26px; height: 26px; display: block; background: url(../images/misc/custom-form-sprites.png) -14px 0 no-repeat; right: 0px; top: 0px; border: solid 1px #ddd; }
form.custom div.custom.dropdown:hover a.selector,
form.custom div.custom.dropdown.open a.selector { background-position: -14px -26px; }
form.custom div.custom.dropdown ul { position: absolute; width: auto; display: none; margin: 0; left: 0px; top: 27px; margin: 0; padding: 0; background: rgba(255,255,255,0.9); border: solid 1px #ddd; z-index: 10; }
form.custom div.custom.dropdown ul li { cursor: pointer; padding: 3px 38px 3px 6px; margin: 0; }
form.custom div.custom.dropdown ul li.selected { background: url(../images/misc/custom-form-sprites.png) right -52px no-repeat; }
form.custom div.custom.dropdown ul li:hover { background-color: #2a85e8; color: #fff; }
form.custom div.custom.dropdown ul li.selected:hover { background: url(../images/misc/custom-form-sprites.png) #2a85e8 right -78px no-repeat; }
form.custom div.custom.dropdown ul.show { display: block; }
form.custom div.custom.dropdown.open ul { display: block; }

View File

@ -0,0 +1,258 @@
/*
* 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; }

13
src/stylesheets/ie.css Normal file
View File

@ -0,0 +1,13 @@
/*
* Skeleton V0.1
* Created by Dave Gamache
* www.skeleton.gs
* 4/30/2011
*/
/* Style for IE go here and will be applied to IE6, IE7 & IE8,
but they can also be targeted with body classes .ie or .ie7 */

View File

@ -0,0 +1,6 @@
/*
* Skeleton V0.1
* Created by Dave Gamache
* www.skeleton.gs
* 4/30/2011
*/

210
src/stylesheets/skeleton.css vendored Normal file
View File

@ -0,0 +1,210 @@
/*
* 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
#Tabs
#Grid
#Media Queries */
/* #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: "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; }
.column, .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
/* Actual 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; }
/* 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; }
/* 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;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
.clearfix:after {
clear: both; }
.clearfix {
zoom: 1; }
/* Scaling with a Fluid Grid */
@media screen and (max-width: 959px) {
.container.fluid { max-width: 100%; }
.fluid .column, .fluid .columns { margin-left: 1%; margin-right: 1%; }
.fluid.container .one.column { width: 4.25%; }
.fluid.container .two.columns { width: 10.5%; }
.fluid.container .three.columns { width: 16.75%; }
.fluid.container .four.columns { width: 23%; }
.fluid.container .five.columns { width: 29.25%; }
.fluid.container .six.columns { width: 35.5%; }
.fluid.container .seven.columns { width: 41.75%; }
.fluid.container .eight.columns { width: 48%; }
.fluid.container .nine.columns { width: 54.25%; }
.fluid.container .ten.columns { width: 60.5%; }
.fluid.container .eleven.columns { width: 66.75%; }
.fluid.container .twelve.columns { width: 73%; }
.fluid.container .thirteen.columns { width: 79.25%; }
.fluid.container .fourteen.columns { width: 85.5%; }
.fluid.container .fifteen.columns { width: 91.75%; }
.fluid.container .sixteen.columns { width: 98%; }
}
/* #Media Queries
================================================== */
/* Mobile portrait and smaller (code for 320px wide)*/
@media screen and (max-width: 479px) {}
/* Mobile Landscape (code for 480px) */
@media screen and (min-width: 480px) and (max-width: 767px) {}
/* Tablet Portrait (Code for 768px) */
@media screen and (max-width: 959px) {}

130
src/stylesheets/ui.css Normal file
View File

@ -0,0 +1,130 @@
/*
* Skeleton V0.1
* Created by Dave Gamache
* www.skeleton.gs
* 4/30/2011
*/
/* Table of Content
==================================================
#Tabs
#Buttons */
/* #Tabs (activate in app.js)
================================================== */
ul.tabs {
display: block;
margin: 0 0 20px 0;
padding: 0;
height: 30px;
border-bottom: solid 1px #ddd; }
ul.tabs li {
display: block;
width: auto;
height: 30px;
padding: 0;
float: left; }
ul.tabs li a {
display: block;
text-decoration: none;
width: auto;
height: 29px;
padding: 0px 16px;
line-height: 30px;
border: solid 1px #ddd;
margin: 0;
background: #eee;
font-size: 13px; }
ul.tabs li a.active {
background: #fff;
border-width: 1px 0 0px 0;
height: 30px;
margin: 0 -1px 0 0;
color: #111; }
ul.tabs li:first-child a.active {
border-width: 1px 0 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 > li { display:none; }
ul.tabs-content > li.active { display: block; }
/* Sample Markup
<ul class="tabs">
<li><a class="active" href="#info1"></a></li>
<li><a href="#info2"></a></li>
</ul>
<ul class="tabs-content">
<li class="active" id="info1"></li>
<li id="info2"></li>
</ul> */
/* #Buttons
================================================== */
a.button {
background: #00a6fc;
display: inline-block;
padding: 9px 34px 11px;
color: #fff !important;
text-decoration: none;
font-weight: bold;
line-height: 1;
position: relative;
cursor: pointer;
}
.button.nice {
background: #00a6fc;
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
text-shadow: 0 -1px 1px rgba(0,0,0,0.28);
background: #00a6fc -moz-linear-gradient(top, rgba(255,255,255,.4) 0%, transparent 100%);
background: #00a6fc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.4)), color-stop(100%,transparent));
border: 1px solid #0593dc;
-webkit-transition: all .15s ease-in-out;
-moz-transition: all .15s ease-in-out;
-o-transition: all .15s ease-in-out;
}
.button.radius {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px; }
.button.round {
-moz-border-radius: 300px;
-webkit-border-radius: 300px;
border-radius: 300px; }
.button.full-width {
width: 100%;
padding-left: 0 !important;
padding-right: 0 !important;
text-align: center;
}
/* Sizes ---------- */
.small.button { font-size: 11px; padding: 8px 20px 10px; }
.medium.button { font-size: 13px; }
.large.button { font-size: 18px; padding: 11px 48px 13px; }
/* Colors ---------- */
.blue.button { background-color: #00a6fc; }
.white.button { background-color: #e9e9e9; color: #333; }
.charcoal.button { background-color: #141414; }
/* Nice Colors ---------- */
.nice.blue.button { border: 1px solid #0593dc; }
.nice.white.button { border: 1px solid #cacaca; text-shadow: none !important; }
.nice.charcoal.button { border: 1px solid #000; }
/* Hovers ---------- */
.button:hover { background-color: #0192dd; color: #fff; }
.blue.button:hover { background-color: #0192dd; }
.white.button:hover { background-color: #dadada; color: #333; }
.charcoal.button:hover { background-color: #000; }