Create media query mixins and consolidate .less files

This commit is contained in:
Michael Rose committed 2014-02-13 14:39:51 -05:00
1 parent b5aa534dd1
commit d99ad52c31
16 files changed
+175 -262

No files matched your search

+1 -5
View File
@@ -22,9 +22,6 @@ module.exports = function(grunt) {
files: { files: {
'assets/css/main.min.css': [ 'assets/css/main.min.css': [
'assets/less/main.less' 'assets/less/main.less'
],
'assets/css/ie.min.css': [
'assets/less/ie.less'
] ]
} }
} }
@@ -66,8 +63,7 @@ module.exports = function(grunt) {
watch: { watch: {
less: { less: {
files: [ files: [
'assets/less/*.less', 'assets/less/*.less'
'assets/less/bootstrap/*.less'
], ],
tasks: ['recess'] tasks: ['recess']
}, },
-4
View File
@@ -38,10 +38,6 @@
<!-- For all browsers --> <!-- For all browsers -->
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.min.css"> <link rel="stylesheet" href="{{ site.url }}/assets/css/main.min.css">
<!--[if (lt IE 9) & (!IEMobile)]>
<link rel="stylesheet" href="{{ site.url }}/assets/css/ie.min.css">
<![endif]-->
<meta http-equiv="cleartype" content="on"> <meta http-equiv="cleartype" content="on">
<!-- Load Modernizr --> <!-- Load Modernizr -->
+4
View File
@@ -1 +1,5 @@
<<<<<<< HEAD
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{width:100%;margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-size:24px;font-size:1.5rem;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:0;font-size:14px;font-size:.875rem}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#efefef;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hidden{display:none;visibility:hidden}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}hr{display:blLine truncated /*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{width:100%;margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-size:24px;font-size:1.5rem;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:0;font-size:14px;font-size:.875rem}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#efefef;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hidden{display:none;visibility:hidden}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}hr{display:blLine truncated
=======
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{width:100%;margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}@media only screen and (min-width:37.5em){.image-credit{display:inline;float:left;width:75%;margin-right:0;margin-left:0}}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-size:24px;font-size:1.5rem;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:0;font-size:14px;font-size:.875rem}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#efefef;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hidden{display:none;visibility:hidden}.visuallyhidden.focusable:activLine truncated
>>>>>>> b9b9154... Create media query mixins and consolidate .less files
+1 -1
View File
@@ -1 +1 @@
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{width:100%;margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-size:24px;font-size:1.5rem;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:0;font-size:14px;font-size:.875rem}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#efefef;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.highlight{margin-bottom:1.5em;font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;font-size:12px;font-size:.75rem;line-height:2.1667;color:#333332;background-color:#efefef;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.highlight pre{position:relativeLine truncated /*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{width:100%;margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}@media only screen and (min-width:37.5em){.image-credit{display:inline;float:left;width:75%;margin-right:0;margin-left:0}}@media only screen and (min-width:86.375em){.image-credit{display:inline;float:left;width:70.83333333333334%}}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-size:24px;font-size:1.5rem;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:0;font-size:14px;font-size:.875rem}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#efefef;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.highlight{margin-bottom:1.5em;font-family:Monaco,"Courier New","DejaVu Sans Line truncated
-44
View File
@@ -1,44 +0,0 @@
// ROOT =======================================================
// TYPOGRAPHY =================================================
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
.site-name {
.grid(12,1.5);
.prefix(12,2);
}
.top-navigation {
.grid(12,8);
}
.image-wrap {
&:after {
left: 33.333333333%;
}
.headline-wrap {
.prefix(12,1);
}
}
.image-credit {
.grid(12,8.5);
}
#main article {
.grid(12,4.5);
}
#index {
.grid(12,4.5);
}
.related-articles {
.grid(12,4.5);
.prefix(12,4);
.suffix(12,3.5);
}
.footer-wrap footer {
.grid(12,4.5);
.prefix(12,4);
.suffix(12,3.5);
}
.article-author-side {
.grid(12,1.5);
.prefix(12,2);
}
// VENDOR-SPECIFIC ============================================
-6
View File
@@ -1,6 +0,0 @@
// ROOT =======================================================
// TYPOGRAPHY =================================================
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
// VENDOR-SPECIFIC ============================================
-11
View File
@@ -1,11 +0,0 @@
// ROOT =======================================================
// TYPOGRAPHY =================================================
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
.image-grid {
li {
width: 33.333333%;
}
}
// VENDOR-SPECIFIC ============================================
-90
View File
@@ -1,90 +0,0 @@
// ROOT =======================================================
// TYPOGRAPHY =================================================
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
.site-name {
.grid(12,2);
.prefix(12,0.5);
.suffix(12,0.5);
}
.top-navigation {
.grid(12,9);
.prefix(12,0);
.suffix(12,0);
}
.image-wrap .headline-wrap,
.image-wrap:after {
left: 25%;
}
.image-wrap .headline-wrap {
margin-left: 0;
}
.image-credit {
.grid(12,9);
.prefix(12,0);
.suffix(12,0);
}
#main article {
.grid(12,6);
.prefix(12,0);
.suffix(12,0);
}
#index {
.grid(12,6);
.prefix(12,0);
.suffix(12,0);
}
.footer-wrap footer {
.grid(12,6);
.prefix(12,3);
.suffix(12,3);
}
.article-author-side {
display: block;
.grid(12,2);
.prefix(12,0.5);
.suffix(12,0.5);
h3,
.bio-photo,
p,
.author-social {
display: block;
max-width: 125px;
margin: auto;
}
h3 {
margin-top: 10px;
margin-bottom: 10px;
}
p {
margin-bottom: 20px;
}
.author-social {
margin-bottom: 5px;
}
}
.article-author-bottom {
display: none;
}
.toc {
display: block;
.grid(12,2);
.prefix(12,0.5);
.suffix(12,0.5);
position: absolute;
top: 5.5em;
right: 0;
background-color: @white;
}
.image-grid {
li {
width: 25%;
}
}
.related-articles {
.grid(12,6);
.prefix(12,3);
.suffix(12,3);
}
// VENDOR-SPECIFIC ============================================
-12
View File
@@ -1,12 +0,0 @@
// ROOT =======================================================
// TYPOGRAPHY =================================================
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
/* Image Grid ============================================== */
.image-grid {
li {
width: 20%;
}
}
// VENDOR-SPECIFIC ============================================
-26
View File
@@ -1,26 +0,0 @@
// ROOT =======================================================
// TYPOGRAPHY =================================================
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
.article-author-side,
.article-author-bottom {
h3,
.bio-photo,
p,
.author-social {
max-width: 150px;
}
img.bio-photo {
width: 150px;
height: 150px;
.rounded(150px);
}
}
/* Image Grid ============================================== */
.image-grid {
li {
width: 16.666666666%;
}
}
// VENDOR-SPECIFIC ============================================
+4
View File
@@ -21,22 +21,26 @@ svg:not(:root) {
.half { .half {
.container(); .container();
.clearfix(); .clearfix();
@media @480px {
img { img {
.grid(12,6); .grid(12,6);
} }
figcaption { figcaption {
.grid(12,12); .grid(12,12);
} }
}
} }
.third { .third {
.container(); .container();
.clearfix(); .clearfix();
@media @480px {
img { img {
.grid(12,4); .grid(12,4);
} }
figcaption { figcaption {
.grid(12,12); .grid(12,12);
} }
}
} }
/* Buttons ============================================== */ /* Buttons ============================================== */
.btn { .btn {
-37
View File
@@ -1,37 +0,0 @@
// ===========================================================
// Minimal Mistakes
// By: Michael Rose
// ===========================================================/
// ROOT =======================================================
/* CSS Normalize =========================================== */
@import "normalize.less";
/* Variables and mixins ==================================== */
@import "variables.less";
/* Site wide styles (html, body, global classes) =========== */
@import "site.less";
// TYPOGRAPHY =================================================
@import "typography.less";
// MIXINS =====================================================
@import "mixins.less";
@import "grid.less";
// ELEMENTS ===================================================
/* Figures, images, social media, other elements =========== */
@import "elements.less";
/* Standard form controls ================================== */
@import "forms.less";
// LAYOUT =====================================================
/* Page level layout styles */
@import "page.less";
// MODERNIZR ==================================================
// MEDIA QUERIES ==============================================
/* 480px wide ============================================== */
@import "480.less";
/* 600px wide ============================================== */
@import "600.less";
/* 768px wide ============================================== */
@import "768.less";
/* 992px wide ============================================== */
@import "992.less";
/* 1382px wide ============================================= */
@import "1382.less";
-24
View File
@@ -37,27 +37,3 @@
@media print { @media print {
@import "print.less"; @import "print.less";
} }
/* 480px wide ============================================== */
@media only screen and (min-width: 30em) {
@import "480.less";
}
/* 600px wide ============================================== */
@media only screen and (min-width: 37.5em) {
@import "600.less";
}
/* 768px wide ============================================== */
@media only screen and (min-width: 48em) {
@import "768.less";
}
/* 992px wide ============================================== */
@media only screen and (min-width: 62em) {
@import "992.less";
}
/* 1382px wide ============================================= */
@media only screen and (min-width: 86.375em) {
@import "1382.less";
}
/* 2x for retina displays ================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
@import "2x.less";
}
+14
View File
@@ -294,3 +294,17 @@ height : auto;
width : auto; width : auto;
margin : 0; margin : 0;
overflow: visible; } overflow: visible; }
// MEDIA QUERIES
// --------------------------------------------------
@480px: ~"only screen and (min-width: 30em)";
@600px: ~"only screen and (min-width: 37.5em)";
@768px: ~"only screen and (min-width: 48em)";
@992px: ~"only screen and (min-width: 62em)";
@1382px: ~"only screen and (min-width: 86.375em)";
@highdensity: ~"only screen and (-webkit-min-device-pixel-ratio: 1.5)",
~"only screen and (-o-min-device-pixel-ratio: 3/2)",
~"only screen and (min-resolution: 144dpi)",
~"only screen and (min-resolution: 1.5dppx)";
+143 -2
View File
@@ -18,6 +18,15 @@ body {
margin-bottom: 1em; margin-bottom: 1em;
float: none; float: none;
display: block; display: block;
@media @600px {
.grid(12,2);
.prefix(12,0.5);
.suffix(12,0.5);
}
@media @1382px {
.grid(12,1.5);
.prefix(12,2);
}
} }
.top-navigation { .top-navigation {
.grid(12,10); .grid(12,10);
@@ -26,8 +35,14 @@ body {
margin-bottom: 1em; margin-bottom: 1em;
float: none; float: none;
display: block; display: block;
} @media @600px {
.top-navigation { .grid(12,9);
.prefix(12,0);
.suffix(12,0);
}
@media @1382px {
.grid(12,8);
}
ul { ul {
list-style: none; list-style: none;
margin: 0; margin: 0;
@@ -57,6 +72,14 @@ body {
.prefix(12,1); .prefix(12,1);
.suffix(12,1); .suffix(12,1);
margin-bottom: 2em; margin-bottom: 2em;
@media @600px {
.grid(12,6);
.prefix(12,0);
.suffix(12,0);
}
@media @1382px {
.grid(12,4.5);
}
} }
} }
#index { #index {
@@ -65,6 +88,14 @@ body {
.prefix(12,1); .prefix(12,1);
.suffix(12,1); .suffix(12,1);
margin-bottom: 2em; margin-bottom: 2em;
@media @600px {
.grid(12,6);
.prefix(12,0);
.suffix(12,0);
}
@media @1382px {
.grid(12,4.5);
}
h3 { h3 {
margin: 0; margin: 0;
padding-bottom: .5em; padding-bottom: .5em;
@@ -97,6 +128,12 @@ body {
height: 0; height: 0;
border: 20px solid transparent; border: 20px solid transparent;
border-bottom-color: @bodycolor; border-bottom-color: @bodycolor;
@media @600px {
left: 25%;
}
@media @1382px {
left: 33.333333333%;
}
} }
img { img {
width: 100%; width: 100%;
@@ -107,6 +144,13 @@ body {
position: absolute; position: absolute;
bottom: 25px; bottom: 25px;
.prefix(12,1); .prefix(12,1);
@media @600px {
left: 25%;
margin-left: 0;
}
@media @1382px {
.prefix(12,1);
}
h1, h2 { h1, h2 {
color: @white; color: @white;
.text-shadow(0 1px 2px rgba(0,0,0,.25)); .text-shadow(0 1px 2px rgba(0,0,0,.25));
@@ -152,9 +196,52 @@ body {
} }
.article-author-side { .article-author-side {
display: none; display: none;
@media @600px {
display: block;
.grid(12,2);
.prefix(12,0.5);
.suffix(12,0.5);
h3,
.bio-photo,
p,
.author-social {
display: block;
max-width: 125px;
margin: auto;
}
h3 {
margin-top: 10px;
margin-bottom: 10px;
}
p {
margin-bottom: 20px;
}
.author-social {
margin-bottom: 5px;
}
}
@media @992px {
h3,
.bio-photo,
p,
.author-social {
max-width: 150px;
}
img.bio-photo {
margin-left: 25px;
margin-right: 25px;
}
}
@media @1382px {
.grid(12,1.5);
.prefix(12,2);
}
} }
.article-author-bottom { .article-author-bottom {
margin-bottom: 1em; margin-bottom: 1em;
@media @600px {
display: none;
}
.bio-photo { .bio-photo {
float: left; float: left;
margin-right: 25px; margin-right: 25px;
@@ -163,6 +250,18 @@ body {
display: inline-block; display: inline-block;
margin-right: 5px; margin-right: 5px;
} }
@media @992px {
h3,
.bio-photo,
p,
.author-social {
max-width: 150px;
}
img.bio-photo {
margin-left: 25px;
margin-right: 25px;
}
}
} }
.article-wrap { .article-wrap {
// Dotted line underlines for links // Dotted line underlines for links
@@ -181,6 +280,16 @@ body {
.toc { .toc {
display: none; display: none;
font-size: 95%; font-size: 95%;
@media @600px {
display: block;
.grid(12,2);
.prefix(12,0.5);
.suffix(12,0.5);
position: absolute;
top: 5.5em;
right: 0;
background-color: @white;
}
header { header {
background: lighten(@black, 10); background: lighten(@black, 10);
} }
@@ -232,6 +341,18 @@ body {
padding: 0; padding: 0;
li { li {
.grid(12,6); .grid(12,6);
@media @480px {
width: 33.333333%;
}
@media @600px {
width: 25%;
}
@media @768px {
width: 20%;
}
@media @992px {
width: 16.666666666%;
}
} }
} }
.recent-grid { .recent-grid {
@@ -302,6 +423,16 @@ body {
.grid(12,10); .grid(12,10);
.prefix(12,1); .prefix(12,1);
.suffix(12,1); .suffix(12,1);
@media @600px {
.grid(12,6);
.prefix(12,3);
.suffix(12,3);
}
@media @1382px {
.grid(12,4.5);
.prefix(12,4);
.suffix(12,3.5);
}
} }
} }
.related-articles { .related-articles {
@@ -309,6 +440,16 @@ body {
.prefix(12,1); .prefix(12,1);
.suffix(12,1); .suffix(12,1);
margin-bottom: 2em; margin-bottom: 2em;
@media @600px {
.grid(12,6);
.prefix(12,3);
.suffix(12,3);
}
@media @1382px {
.grid(12,4.5);
.prefix(12,4);
.suffix(12,3.5);
}
h4 { h4 {
text-transform: uppercase; text-transform: uppercase;
+8
View File
@@ -71,6 +71,14 @@ figcaption {
line-height: 1.3; line-height: 1.3;
font-style: italic; font-style: italic;
color: lighten(@text-color, 30); color: lighten(@text-color, 30);
@media @600px {
.grid(12,9);
.prefix(12,0);
.suffix(12,0);
}
@media @1382px {
.grid(12,8.5);
}
a { a {
color: lighten(@text-color, 30); color: lighten(@text-color, 30);
} }