removing jquery (only using Google CDN now); refactoring layout.css media queries to be more straightforward and better commented; Fixed tabs for CSS to use first-child so it would have all the borders even in IE
This commit is contained in:
1 parent
5e668f243b
commit
f53e666531
5 files changed
+118
-143
No files matched your search
+9
-13
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<!-- Basic Page Needs
|
<!-- Basic Page Needs
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<title>Your Page Title Here :)</title>
|
<title>Your Page Title Here :)</title>
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
@@ -17,28 +17,26 @@
|
|||||||
|
|
||||||
<!-- Mobile Specific Metas
|
<!-- Mobile Specific Metas
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
|
||||||
<!-- CSS
|
<!-- CSS
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<link rel="stylesheet" href="stylesheets/base.css" />
|
<link rel="stylesheet" href="stylesheets/base.css">
|
||||||
<link rel="stylesheet" href="stylesheets/skeleton.css" />
|
<link rel="stylesheet" href="stylesheets/skeleton.css">
|
||||||
<link rel="stylesheet" href="stylesheets/layout.css" />
|
<link rel="stylesheet" href="stylesheets/layout.css">
|
||||||
|
|
||||||
<!-- Favicons
|
<!-- Favicons
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<link rel="shortcut icon" href="images/favicon.ico" />
|
<link rel="shortcut icon" href="images/favicon.ico">
|
||||||
<link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
|
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
|
||||||
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png" />
|
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
|
||||||
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png" />
|
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Primary Page Layout
|
<!-- Primary Page Layout
|
||||||
================================================== -->
|
================================================== -->
|
||||||
|
|
||||||
@@ -72,8 +70,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- JS
|
<!-- JS
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
||||||
|
|||||||
Vendored
-16
@@ -1,16 +0,0 @@
|
|||||||
/*!
|
|
||||||
* jQuery JavaScript Library v1.5.1
|
|
||||||
* http://jquery.com/
|
|
||||||
*
|
|
||||||
* Copyright 2011, John Resig
|
|
||||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
||||||
* http://jquery.org/license
|
|
||||||
*
|
|
||||||
* Includes Sizzle.js
|
|
||||||
* http://sizzlejs.com/
|
|
||||||
* Copyright 2011, The Dojo Foundation
|
|
||||||
* Released under the MIT, BSD, and GPL Licenses.
|
|
||||||
*
|
|
||||||
* Date: Wed Feb 23 13:55:29 2011 -0500
|
|
||||||
*/
|
|
||||||
(function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bP(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bO(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bq.test(a)?e(a,f):bO(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bO(a+"["+f+"]",b[f],c,e)}function bN(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bH,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bN(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bN(a,c,d,e,"*",g));return l}function bM(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bB),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bo(a,b,c){var e=b==="width"?bi:bj,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function ba(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function _(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function $(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(J.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(r,"`").replace(s,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(p,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,handleObj:g,level:m.level}Line truncated
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
`/*
|
||||||
* Skeleton V1.0.3
|
* Skeleton V1.0.3
|
||||||
* Copyright 2011, Dave Gamache
|
* Copyright 2011, Dave Gamache
|
||||||
* www.getskeleton.com
|
* www.getskeleton.com
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
padding: 0px 20px;
|
padding: 0px 20px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
border: solid 1px #ddd;
|
border: solid 1px #ddd;
|
||||||
border-width: 1px 0 0 1px;
|
border-width: 1px 1px 0 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
font-size: 13px; }
|
font-size: 13px; }
|
||||||
@@ -234,8 +234,8 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
top: -4px;
|
top: -4px;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
border-right-width: 1px;
|
border-left-width: 1px;
|
||||||
margin: 0 -1px 0 0;
|
margin: 0 0 0 -1px;
|
||||||
color: #111;
|
color: #111;
|
||||||
-moz-border-radius-topleft: 2px;
|
-moz-border-radius-topleft: 2px;
|
||||||
-webkit-border-top-left-radius: 2px;
|
-webkit-border-top-left-radius: 2px;
|
||||||
@@ -243,12 +243,14 @@
|
|||||||
-moz-border-radius-topright: 2px;
|
-moz-border-radius-topright: 2px;
|
||||||
-webkit-border-top-right-radius: 2px;
|
-webkit-border-top-right-radius: 2px;
|
||||||
border-top-right-radius: 2px; }
|
border-top-right-radius: 2px; }
|
||||||
|
ul.tabs li:first-child a.active {
|
||||||
|
margin-left: 0; }
|
||||||
ul.tabs li:first-child a {
|
ul.tabs li:first-child a {
|
||||||
|
border-width: 1px 1px 0 1px;
|
||||||
-moz-border-radius-topleft: 2px;
|
-moz-border-radius-topleft: 2px;
|
||||||
-webkit-border-top-left-radius: 2px;
|
-webkit-border-top-left-radius: 2px;
|
||||||
border-top-left-radius: 2px; }
|
border-top-left-radius: 2px; }
|
||||||
ul.tabs li:last-child a {
|
ul.tabs li:last-child a {
|
||||||
border-width: 1px 1px 0 1px;
|
|
||||||
-moz-border-radius-topright: 2px;
|
-moz-border-radius-topright: 2px;
|
||||||
-webkit-border-top-right-radius: 2px;
|
-webkit-border-top-right-radius: 2px;
|
||||||
border-top-right-radius: 2px; }
|
border-top-right-radius: 2px; }
|
||||||
|
|||||||
+20
-26
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Skeleton V1.0.3
|
* Skeleton V1.0.3
|
||||||
* Copyright 2011, Dave Gamache
|
* Copyright 2011, Dave Gamache
|
||||||
* www.getskeleton.com
|
* www.getskeleton.com
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
#Page Styles
|
#Page Styles
|
||||||
#Media Queries
|
#Media Queries
|
||||||
#Font-Face */
|
#Font-Face */
|
||||||
|
|
||||||
/* #Site Styles
|
/* #Site Styles
|
||||||
================================================== */
|
================================================== */
|
||||||
|
|
||||||
@@ -22,36 +22,30 @@
|
|||||||
|
|
||||||
/* #Media Queries
|
/* #Media Queries
|
||||||
================================================== */
|
================================================== */
|
||||||
|
|
||||||
/* iPad Portrait/Browser */
|
/* Smaller than standard 960 (devices and browsers) */
|
||||||
@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) {}
|
@media only screen and (max-width: 959px) {}
|
||||||
|
|
||||||
/* iPad Portrait Only */
|
/* Tablet Portrait size to standard 960 (devices and browsers) */
|
||||||
@media only screen and (min-width: 768px) and (max-width: 991px) and (max-device-width: 1000px) {}
|
@media only screen and (min-width: 768px) and (max-width: 959px) {}
|
||||||
|
|
||||||
/* Mobile Only */
|
/* All Mobile Sizes (devices and browser) */
|
||||||
@media only screen and (max-width: 767px) and (max-device-width: 1000px) {}
|
@media only screen and (max-width: 767px) {}
|
||||||
|
|
||||||
/* Mobile Landscape Only */
|
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
|
||||||
@media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {}
|
@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) {}
|
||||||
|
|
||||||
|
|
||||||
/* #Font-Face
|
/* #Font-Face
|
||||||
================================================== */
|
================================================== */
|
||||||
/* This is the proper syntax for an @font-face file
|
/* This is the proper syntax for an @font-face file
|
||||||
Just create a "fonts" folder at the root,
|
Just create a "fonts" folder at the root,
|
||||||
copy your FontName into code below and remove
|
copy your FontName into code below and remove
|
||||||
comment brackets */
|
comment brackets */
|
||||||
|
|
||||||
/* @font-face {
|
/* @font-face {
|
||||||
font-family: 'FontName';
|
font-family: 'FontName';
|
||||||
src: url('../fonts/FontName.eot');
|
src: url('../fonts/FontName.eot');
|
||||||
|
|||||||
Vendored
+82
-83
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Skeleton V1.0.3
|
* Skeleton V1.0.3
|
||||||
* Copyright 2011, Dave Gamache
|
* Copyright 2011, Dave Gamache
|
||||||
* www.getskeleton.com
|
* www.getskeleton.com
|
||||||
@@ -10,25 +10,25 @@
|
|||||||
|
|
||||||
/* Table of Contents
|
/* Table of Contents
|
||||||
==================================================
|
==================================================
|
||||||
#Base 960 Grid
|
#Base 960 Grid
|
||||||
#Tablet (Portrait)
|
#Tablet (Portrait)
|
||||||
#Mobile (Portrait)
|
#Mobile (Portrait)
|
||||||
#Mobile (Landscape)
|
#Mobile (Landscape)
|
||||||
#Clearing */
|
#Clearing */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* #Base 960 Grid
|
|
||||||
|
|
||||||
|
/* #Base 960 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; }
|
||||||
.row { margin-bottom: 20px; }
|
.row { margin-bottom: 20px; }
|
||||||
|
|
||||||
/* Nested Column Classes */
|
/* Nested Column Classes */
|
||||||
.column.alpha, .columns.alpha { margin-left: 0; }
|
.column.alpha, .columns.alpha { margin-left: 0; }
|
||||||
.column.omega, .columns.omega { margin-right: 0; }
|
.column.omega, .columns.omega { margin-right: 0; }
|
||||||
|
|
||||||
/* Base Grid */
|
/* Base Grid */
|
||||||
.container .one.column { width: 40px; }
|
.container .one.column { width: 40px; }
|
||||||
.container .two.columns { width: 100px; }
|
.container .two.columns { width: 100px; }
|
||||||
@@ -46,11 +46,11 @@
|
|||||||
.container .fourteen.columns { width: 820px; }
|
.container .fourteen.columns { width: 820px; }
|
||||||
.container .fifteen.columns { width: 880px; }
|
.container .fifteen.columns { width: 880px; }
|
||||||
.container .sixteen.columns { width: 940px; }
|
.container .sixteen.columns { width: 940px; }
|
||||||
|
|
||||||
.container .one-third.column { width: 300px; }
|
.container .one-third.column { width: 300px; }
|
||||||
.container .two-thirds.column { width: 620px; }
|
.container .two-thirds.column { width: 620px; }
|
||||||
|
|
||||||
/* Offsets */
|
/* Offsets */
|
||||||
.container .offset-by-one { padding-left: 60px; }
|
.container .offset-by-one { padding-left: 60px; }
|
||||||
.container .offset-by-two { padding-left: 120px; }
|
.container .offset-by-two { padding-left: 120px; }
|
||||||
.container .offset-by-three { padding-left: 180px; }
|
.container .offset-by-three { padding-left: 180px; }
|
||||||
@@ -66,11 +66,11 @@
|
|||||||
.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; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* #Tablet (Portrait)
|
/* #Tablet (Portrait)
|
||||||
================================================== */
|
================================================== */
|
||||||
|
|
||||||
/* Note: Design for a width of 768px */
|
/* Note: Design for a width of 768px */
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
.container .columns { margin-left: 10px; margin-right: 10px; }
|
.container .columns { margin-left: 10px; margin-right: 10px; }
|
||||||
.column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
|
.column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
|
||||||
.column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
|
.column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
|
||||||
|
|
||||||
.container .one.column { width: 28px; }
|
.container .one.column { width: 28px; }
|
||||||
.container .two.columns { width: 76px; }
|
.container .two.columns { width: 76px; }
|
||||||
.container .three.columns { width: 124px; }
|
.container .three.columns { width: 124px; }
|
||||||
@@ -97,11 +97,11 @@
|
|||||||
.container .fourteen.columns { width: 652px; }
|
.container .fourteen.columns { width: 652px; }
|
||||||
.container .fifteen.columns { width: 700px; }
|
.container .fifteen.columns { width: 700px; }
|
||||||
.container .sixteen.columns { width: 748px; }
|
.container .sixteen.columns { width: 748px; }
|
||||||
|
|
||||||
.container .one-third.column { width: 236px; }
|
.container .one-third.column { width: 236px; }
|
||||||
.container .two-thirds.column { width: 492px; }
|
.container .two-thirds.column { width: 492px; }
|
||||||
|
|
||||||
/* Offsets */
|
/* Offsets */
|
||||||
.container .offset-by-one { padding-left: 48px; }
|
.container .offset-by-one { padding-left: 48px; }
|
||||||
.container .offset-by-two { padding-left: 96px; }
|
.container .offset-by-two { padding-left: 96px; }
|
||||||
.container .offset-by-three { padding-left: 144px; }
|
.container .offset-by-three { padding-left: 144px; }
|
||||||
@@ -118,65 +118,17 @@
|
|||||||
.container .offset-by-fourteen { padding-left: 672px; }
|
.container .offset-by-fourteen { padding-left: 672px; }
|
||||||
.container .offset-by-fifteen { padding-left: 720px; }
|
.container .offset-by-fifteen { padding-left: 720px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* #Mobile (Portrait)
|
/* #Mobile (Portrait)
|
||||||
================================================== */
|
================================================== */
|
||||||
|
|
||||||
/* Note: Design for a width of 320px */
|
/* Note: Design for a width of 320px */
|
||||||
|
|
||||||
@media only screen and (max-width: 767px) {
|
@media only screen and (max-width: 767px) {
|
||||||
.container { width: 300px; }
|
.container { width: 300px; }
|
||||||
.columns, .column { margin: 0; }
|
.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; }
|
|
||||||
|
|
||||||
/* 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; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* #Mobile (Landscape)
|
|
||||||
================================================== */
|
|
||||||
|
|
||||||
/* 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 .one.column,
|
||||||
.container .two.columns,
|
.container .two.columns,
|
||||||
.container .three.columns,
|
.container .three.columns,
|
||||||
@@ -193,18 +145,66 @@
|
|||||||
.container .fourteen.columns,
|
.container .fourteen.columns,
|
||||||
.container .fifteen.columns,
|
.container .fifteen.columns,
|
||||||
.container .sixteen.columns,
|
.container .sixteen.columns,
|
||||||
.container .one-third.column,
|
.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; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* #Mobile (Landscape)
|
||||||
|
================================================== */
|
||||||
|
|
||||||
|
/* 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 .two-thirds.column { width: 420px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* #Clearing
|
/* #Clearing
|
||||||
================================================== */
|
================================================== */
|
||||||
|
|
||||||
/* Self Clearing Goodness */
|
/* Self Clearing Goodness */
|
||||||
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
|
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
|
||||||
|
|
||||||
/* Use clearfix class on parent to clear nested columns,
|
/* Use clearfix class on parent to clear nested columns,
|
||||||
or wrap each row of columns in a <div class="row"> */
|
or wrap each row of columns in a <div class="row"> */
|
||||||
.clearfix:before,
|
.clearfix:before,
|
||||||
.clearfix:after,
|
.clearfix:after,
|
||||||
@@ -219,10 +219,10 @@
|
|||||||
.row:after,
|
.row:after,
|
||||||
.clearfix:after {
|
.clearfix:after {
|
||||||
clear: both; }
|
clear: both; }
|
||||||
.row,
|
.row,
|
||||||
.clearfix {
|
.clearfix {
|
||||||
zoom: 1; }
|
zoom: 1; }
|
||||||
|
|
||||||
/* You can also use a <br class="clear" /> to clear columns */
|
/* You can also use a <br class="clear" /> to clear columns */
|
||||||
.clear {
|
.clear {
|
||||||
clear: both;
|
clear: both;
|
||||||
@@ -232,6 +232,5 @@
|
|||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user