390 lines
16 KiB
CSS
390 lines
16 KiB
CSS
/*
|
|
* Skeleton V1.2
|
|
* Copyright 2011, Dave Gamache
|
|
* www.getskeleton.com
|
|
* Free to use under the MIT license.
|
|
* http://www.opensource.org/licenses/mit-license.php
|
|
* 6/20/2012
|
|
*/
|
|
|
|
|
|
/* Table of Contents
|
|
==================================================
|
|
#Base 960 Grid
|
|
#Tablet (Portrait)
|
|
#Mobile (Portrait)
|
|
#Mobile (Landscape)
|
|
#Clearing */
|
|
|
|
|
|
|
|
/* #Base 960 Grid
|
|
================================================== */
|
|
|
|
.container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
|
|
.container .column,
|
|
.container .columns { 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; }
|
|
|
|
/* Base Grid */
|
|
.container .one.column,
|
|
.container .one.columns { 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; }
|
|
|
|
.container .one-third.column { width: 300px; }
|
|
.container .two-thirds.column { 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; }
|
|
|
|
/* Use the full width of the screen */
|
|
.container-fluid { position: relative; width: 100%; margin: 0 auto; padding: 0; }
|
|
.container-fluid .column,
|
|
.container-fluid .columns { float: left; display: inline; margin-left: 1%; margin-right: 1%; }
|
|
|
|
/* Base Grid */
|
|
.container-fluid .one.column,
|
|
.container-fluid .one.columns { width: 4.25%; }
|
|
.container-fluid .two.columns { width: 10.5%; }
|
|
.container-fluid .three.columns { width: 16.75%; }
|
|
.container-fluid .four.columns { width: 23%; }
|
|
.container-fluid .five.columns { width: 29.25%; }
|
|
.container-fluid .six.columns { width: 35.5%; }
|
|
.container-fluid .seven.columns { width: 41.75%; }
|
|
.container-fluid .eight.columns { width: 48%; }
|
|
.container-fluid .nine.columns { width: 54.25%; }
|
|
.container-fluid .ten.columns { width: 60.5%; }
|
|
.container-fluid .eleven.columns { width: 66.75%; }
|
|
.container-fluid .twelve.columns { width: 73%; }
|
|
.container-fluid .thirteen.columns { width: 79.25%; }
|
|
.container-fluid .fourteen.columns { width: 85.5%; }
|
|
.container-fluid .fifteen.columns { width: 91.75%; }
|
|
.container-fluid .sixteen.columns { width: 98%; }
|
|
|
|
.container-fluid .one-third.column { width: 31%; }
|
|
.container-fluid .two-thirds.column { width: 64%; }
|
|
|
|
/* Offsets */
|
|
.container-fluid .offset-by-one { padding-left: 6.25%; }
|
|
.container-fluid .offset-by-two { padding-left: 12.5%; }
|
|
.container-fluid .offset-by-three { padding-left: 18.75%; }
|
|
.container-fluid .offset-by-four { padding-left: 25%; }
|
|
.container-fluid .offset-by-five { padding-left: 31.25%; }
|
|
.container-fluid .offset-by-six { padding-left: 37.5%; }
|
|
.container-fluid .offset-by-seven { padding-left: 43.75%; }
|
|
.container-fluid .offset-by-eight { padding-left: 50%; }
|
|
.container-fluid .offset-by-nine { padding-left: 56.25%; }
|
|
.container-fluid .offset-by-ten { padding-left: 62.5%; }
|
|
.container-fluid .offset-by-eleven { padding-left: 68.75%; }
|
|
.container-fluid .offset-by-twelve { padding-left: 75%; }
|
|
.container-fluid .offset-by-thirteen { padding-left: 81.25%; }
|
|
.container-fluid .offset-by-fourteen { padding-left: 87.5%; }
|
|
.container-fluid .offset-by-fifteen { padding-left: 93.75%; }
|
|
|
|
.visible-phone{display:none !important;}
|
|
.visible-tablet{display:none !important;}
|
|
.visible-desktop{display:inherit !important;}
|
|
.hidden-desktop{display:none !important;}
|
|
|
|
/* #Tablet (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; }
|
|
.alpha.omega { margin-left: 0; margin-right: 0; }
|
|
|
|
.container .one.column,
|
|
.container .one.columns { 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 .one-third.column { width: 236px; }
|
|
.container .two-thirds.column { width: 492px; }
|
|
|
|
/* 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: 384px; }
|
|
.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; }
|
|
|
|
.visible-phone{display:none !important;}
|
|
.visible-tablet{display:inherit !important;}
|
|
.visible-desktop{display:none !important;}
|
|
.hidden-tablet{display:none !important;}
|
|
.hidden-desktop{display:inherit !important;}
|
|
}
|
|
|
|
|
|
/* #Mobile (Portrait)
|
|
================================================== */
|
|
|
|
/* Note: Design for a width of 320px */
|
|
|
|
@media only screen and (max-width: 767px) {
|
|
.container { width: 300px; }
|
|
.container .columns,
|
|
.container .column { margin: 0; }
|
|
|
|
.container .one.column,
|
|
.container .one.columns,
|
|
.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; }
|
|
|
|
/* 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; }
|
|
|
|
/* Use the full width of the screen */
|
|
.container-fluid .columns,
|
|
.container-fluid .column { margin: 0; }
|
|
|
|
.container-fluid .one.column,
|
|
.container-fluid .one.columns,
|
|
.container-fluid .two.columns,
|
|
.container-fluid .three.columns,
|
|
.container-fluid .four.columns,
|
|
.container-fluid .five.columns,
|
|
.container-fluid .six.columns,
|
|
.container-fluid .seven.columns,
|
|
.container-fluid .eight.columns,
|
|
.container-fluid .nine.columns,
|
|
.container-fluid .ten.columns,
|
|
.container-fluid .eleven.columns,
|
|
.container-fluid .twelve.columns,
|
|
.container-fluid .thirteen.columns,
|
|
.container-fluid .fourteen.columns,
|
|
.container-fluid .fifteen.columns,
|
|
.container-fluid .sixteen.columns,
|
|
.container-fluid .one-third.column,
|
|
.container-fluid .two-thirds.column { width: 100%; }
|
|
|
|
/* Offsets */
|
|
.container-fluid .offset-by-one,
|
|
.container-fluid .offset-by-two,
|
|
.container-fluid .offset-by-three,
|
|
.container-fluid .offset-by-four,
|
|
.container-fluid .offset-by-five,
|
|
.container-fluid .offset-by-six,
|
|
.container-fluid .offset-by-seven,
|
|
.container-fluid .offset-by-eight,
|
|
.container-fluid .offset-by-nine,
|
|
.container-fluid .offset-by-ten,
|
|
.container-fluid .offset-by-eleven,
|
|
.container-fluid .offset-by-twelve,
|
|
.container-fluid .offset-by-thirteen,
|
|
.container-fluid .offset-by-fourteen,
|
|
.container-fluid .offset-by-fifteen { padding-left: 0; }
|
|
|
|
|
|
.visible-phone{display:inherit !important;}
|
|
.visible-tablet{display:none !important;}
|
|
.visible-desktop{display:none !important;}
|
|
.hidden-phone{display:none !important;}
|
|
.hidden-desktop{display:inherit !important;}
|
|
}
|
|
|
|
|
|
/* #Mobile (Landscape)
|
|
================================================== */
|
|
|
|
/* Note: Design for a width of 480px */
|
|
|
|
@media only screen and (min-width: 480px) and (max-width: 767px) {
|
|
.container { width: 420px; }
|
|
.container .columns,
|
|
.container .column { margin: 0; }
|
|
|
|
.container .one.column,
|
|
.container .one.columns,
|
|
.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; }
|
|
|
|
/* Use the full width of the screen */
|
|
.container-fluid .columns,
|
|
.container-fluid .column { margin: 0; }
|
|
|
|
.container-fluid .one.column,
|
|
.container-fluid .one.columns,
|
|
.container-fluid .two.columns,
|
|
.container-fluid .three.columns,
|
|
.container-fluid .four.columns,
|
|
.container-fluid .five.columns,
|
|
.container-fluid .six.columns,
|
|
.container-fluid .seven.columns,
|
|
.container-fluid .eight.columns,
|
|
.container-fluid .nine.columns,
|
|
.container-fluid .ten.columns,
|
|
.container-fluid .eleven.columns,
|
|
.container-fluid .twelve.columns,
|
|
.container-fluid .thirteen.columns,
|
|
.container-fluid .fourteen.columns,
|
|
.container-fluid .fifteen.columns,
|
|
.container-fluid .sixteen.columns,
|
|
.container-fluid .one-third.column,
|
|
.container-fluid .two-thirds.column { width: 100%; }
|
|
|
|
/* Offsets */
|
|
.container-fluid .offset-by-one,
|
|
.container-fluid .offset-by-two,
|
|
.container-fluid .offset-by-three,
|
|
.container-fluid .offset-by-four,
|
|
.container-fluid .offset-by-five,
|
|
.container-fluid .offset-by-six,
|
|
.container-fluid .offset-by-seven,
|
|
.container-fluid .offset-by-eight,
|
|
.container-fluid .offset-by-nine,
|
|
.container-fluid .offset-by-ten,
|
|
.container-fluid .offset-by-eleven,
|
|
.container-fluid .offset-by-twelve,
|
|
.container-fluid .offset-by-thirteen,
|
|
.container-fluid .offset-by-fourteen,
|
|
.container-fluid .offset-by-fifteen { padding-left: 0; }
|
|
|
|
.visible-phone{display:inherit !important;}
|
|
.visible-tablet{display:none !important;}
|
|
.visible-desktop{display:none !important;}
|
|
.hidden-phone{display:none !important;}
|
|
.hidden-desktop{display:inherit !important;}
|
|
}
|
|
|
|
|
|
/* #Clearing
|
|
================================================== */
|
|
|
|
/* Self Clearing Goodness */
|
|
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
|
|
|
|
/* Use clearfix class on parent to clear nested columns,
|
|
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; }
|
|
.row,
|
|
.clearfix {
|
|
zoom: 1; }
|
|
|
|
/* You can also use a <br class="clear" /> to clear columns */
|
|
.clear {
|
|
clear: both;
|
|
display: block;
|
|
overflow: hidden;
|
|
visibility: hidden;
|
|
width: 0;
|
|
height: 0;
|
|
}
|