/************************************************************* * HTML5 BOILERPLATE NORMALIZE * *************************************************************/ article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; } audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; } audio:not([controls]) { display: none; } [hidden] { display: none; } html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { margin: 0; font-size: 13px; line-height: 1.231; } body, button, input, select, textarea { font-family: sans-serif; color: #222; } ::-moz-selection { background: #87E0D4; color: #fff; text-shadow: none; } ::selection { background: #87E0D4; color: #fff; text-shadow: none; } a { color: #00e; } a:visited { color: #551a8b; } a:hover { color: #06e; } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } blockquote { margin: 1em 40px; } dfn { font-style: italic; } hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } ins { background: #ff9; color: #000; text-decoration: none; } mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; } pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; } pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; } q { quotes: none; } q:before, q:after { content: ""; content: none; } small { font-size: 85%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } ul, ol { margin: 1em 0; padding: 0 0 0 40px; } dd { margin: 0 0 0 40px; } nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; } img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; } svg:not(:root) { overflow: hidden; } figure { margin: 0; } form { margin: 0; } fieldset { border: 0; margin: 0; padding: 0; } label { cursor: pointer; } legend { border: 0; *margin-left: -7px; padding: 0; } button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; } button, input { line-height: normal; *overflow: visible; } table button, table input { *overflow: auto; } button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; } input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } textarea { overflow: auto; vertical-align: top; resize: vertical; } input:valid, textarea:valid { } input:invalid, textarea:invalid { background-color: #f0dddd; } table { border-collapse: collapse; border-spacing: 0; } td { vertical-align: top; } @import "grid"; // semantic.gs @import "common"; // common css3 mixins /************************************************************* * MOBILE AND GENERAL STYLES * *************************************************************/ /* general page styles ***********************************************************/ body { background-image:url("../img/groovepaper.png"); font-family:proxima-nova, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:10.5pt; color:#444; } .container { padding:1em; overflow:hidden; } .inner-container { max-width:560px; margin:0 auto; overflow:hidden; } /* header styles ***********************************************************/ .site-header { border-bottom:1px dotted #ddd; margin-bottom:2em; padding:1em 0; .mobile-navigation { select { padding:0.5em; width:100%; } } .header-left { text-align:center; h1 { font-family:"ratio", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:2em; font-weight:normal; text-transform:uppercase; margin:0; background-color:#87E0D4; display:inline-block; text-shadow:1px 1px 1px rgba(0,0,0,0.2); .box-shadow(3px, 3px, 1px, rgba(0,0,0,0.1)); a, a:visited { color:#fff; text-decoration:none; &:hover { background-color:#0DBA95; } } } h2 { margin:0.5em 0 0 0; text-transform:uppercase; font-weight:normal; font-size:1.2em; display:inline-block; background-color:#ccc; padding:0.2em 0 0.1em 0; color:#fff; text-shadow:1px 1px 1px rgba(0,0,0,0.2); .box-shadow(3px, 3px, 1px, rgba(0,0,0,0.1)); } } .social-icons { text-align:center; margin:2em 0; img { opacity:0.6; .transition(all, .2s, linear); &:hover { opacity:1; } } } } /* footer styles ***********************************************************/ .site-footer { border-top:1px dotted #ddd; margin-top:2em; padding:1em 0; text-align:center; span { display:block; color:#999; font-size:0.8em; a, a:visited { text-decoration:none; color:#777; border-bottom:1px dotted #ccc; .transition(all, .2s, linear); &:hover { background-color:#0DBA95; color:#fff; border-bottom:0; } } } .copyright { margin-top:1em; } } /* blog post styles ***********************************************************/ .post { background-color:#fff; border:1px solid #eee; padding:1em; margin-bottom:2em; header { h1 { font-family:"ratio", "Helvetica Neue", Helvetica, Arial, sans-serif; margin:0; font-size:1.6em; a, a:visited { text-decoration:none; color:#444; .transition(all, .2s, linear); &:hover { color:#0DBA95; border-bottom:1px dotted #ccc; } } } .post-meta { color:#aaa; text-transform:uppercase; display:block; font-size:0.7em; margin-top:1em; a, a:visited { color:#0DBA95; text-decoration:none; border-bottom:1px dotted #ccc; &:hover { border-bottom:1px solid #0DBA95; } } } } .excerpt { color:#777; p { line-height:1.5em; } } .social-buttons { border-top:1px dotted #eee; border-bottom:1px dotted #eee; padding:1em 0 0.9em 0; margin:5em 0 2em 0; overflow:hidden; &>div { float:left; } } .read-more, .read-more:visited { background-color:#0DBA95; display:block; text-decoration:none; text-shadow:0 1px 1px darken(#0DBA95, 10%); color:#fff; font-weight:bold; padding:0.3em 0.8em; text-align:center; width:7em; border:1px solid darken(#0DBA95, 5%); .box-shadow-inset(0, 0, 2px, #fff); margin-top:2em; &:hover { background-color:lighten(#0DBA95, 3%); } } } .post-body { color:#777; p { line-height:1.5em; margin-bottom:2.5em; } blockquote { border-left:4px solid #aaa; margin:2em 1.5em; background-color:#fafafa; padding:0.5em 1em; font-style:italic; text-shadow:1px 1px 0px #fff; p { margin:0; } } &>p:first-child { color:#555; font-weight:bold; } a, a:visited { text-decoration:none; color:#0DBA95; border-bottom:1px dotted #ccc; .transition(all, .2s, linear); &:hover { border-bottom:1px solid #0DBA95; background-color:#2BD9B4; text-shadow:1px 1px 1px rgba(0,0,0,0.2); color:#fff; } } } .post.single { header { h1 { font-size:2.4em; } .post-meta { margin:2em 0 4em 0; } } } /* sidebar styles ***********************************************************/ .left-sidebar { display:none; color:#777; .sidebar-container { list-style-type:none; margin:1em 0 0 1em; padding:0; font-size:0.9em; h2 { font-family:"ratio", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:1.2em; color:#555; &:first-child { margin:0; } } li { margin-bottom:3em; ul { list-style-type:none; margin:0; padding:0; li { margin:0.3em 0; } } } a, a:visited { color:#aaa; text-decoration:none; &:hover { color:#0DBA95; border-bottom:1px dotted #ccc; } } } } /* comments styles ***********************************************************/ .comments { .comment-form { margin-top:2em; border-top:1px dotted #eee; font-size:0.9em; input, textarea { border:1px solid #ccc; padding:0.5em; display:block; width:95%; color:#777; } .form-allowed-tags { font-size:0.8em; } label { display:inline-block; margin-bottom:0.5em; } a, a:visited { color:#aaa; text-decoration:none; &:hover { color:#0DBA95; } } } #comment-toggle { background-color:#ddd; display:block; text-decoration:none; text-shadow:0 1px 1px #fff; color:#666; font-weight:bold; padding:0.5em 0.8em; margin:2em 0 0 0; text-align:center; border:1px solid darken(#ddd, 10%); .box-shadow-inset(0, 0, 2px, #fff); &:hover { background-color:#eee; } } #submit { background-color:#0DBA95; display:block; text-decoration:none; text-shadow:0 1px 1px darken(#0DBA95, 10%); color:#fff; font-weight:bold; padding:0.7em 1em; text-align:center; border:1px solid darken(#0DBA95, 5%); .box-shadow-inset(0, 0, 2px, #fff); margin-top:2em; width:100%; &:hover { background-color:lighten(#0DBA95, 3%); } } #reply-title, .comment-notes { display:none; } .single-comment { overflow:hidden; margin-bottom:2em; .comment-avatar { display:none; img { border:1px solid #eee; padding:1px; background-color:#fff; } } .comment-content { font-size:0.9em; border:1px solid #eee; padding:1em; p:first-child { margin:0; } .comment-author { text-transform:uppercase; border-top:1px dotted #eee; padding:1em 0 0 0; color:#777; margin-top:1em; display:block; font-size:0.8em; i { color:#bbb; } } } } } .pagination-inner { overflow:hidden; padding:0 1em; a, a:visited { background-color:#0DBA95; display:block; text-decoration:none; text-shadow:0 1px 1px darken(#0DBA95, 10%); color:#fff; font-weight:bold; padding:0.3em 0.7em; text-align:center; border:1px solid darken(#0DBA95, 5%); .box-shadow-inset(0, 0, 2px, #fff); width:7em; &:hover { background-color:lighten(#0DBA95, 3%); } } } /************************************************************* * HELPER CLASSES * *************************************************************/ .ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; } .ir br { display: none; } .hidden { display: none !important; visibility: hidden; } .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } .invisible { visibility: hidden; } .clearfix:before, .clearfix:after { content: ""; display: table; } .clearfix:after { clear: both; } .clearfix { zoom: 1; } /************************************************************* * TABLET AND SMALL SCREEN ALTERATIONS * *************************************************************/ @media only screen and (min-width: 768px) { body { font-size:12pt; } .content { .column(12); .post { padding:2em; .box-shadow(3px, 3px , 0px, rgba(0,0,0,0.1)); border-bottom:1px solid #bbb; border-right:1px solid #ccc; } } .site-header { .column(12); margin-bottom:2em; } .site-footer { .column(12); margin-top:2em; } } /************************************************************* * FULL WIDTH ALTERATIONS * *************************************************************/ @media only screen and (min-width: 1020px) { .inner-container { max-width:none; width:960px; } .mobile-navigation { display:none; } .content { .column(9); border-right:1px dotted #ddd; &>section { padding-right:2em; } } .left-sidebar { display:block; .column(3); } .comments { .comment-form { input { width:26em; } textarea { width:40em; } #submit { width:10em; padding:0.7em 1em; } } .single-comment { .comment-avatar { display:block; float:left; } .comment-content { width:35em; float:right; } } } .site-header .social-icons { float:right; margin:0; } .site-header .header-left { float:left; text-align:left; } } /************************************************************* * PRINT / INK SAVING STYLES * *************************************************************/ @media print { * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } }