/* ========================================================================== SINGLE PAGE/POST ========================================================================== */ /* Main content */ #main { counter-reset: captions; @include container; @include clearfix; clear: both; margin-top: 2em; } .page { @include container; @include grid(12,10); @include prefix(12,1); @include suffix(12,1); margin-bottom: 2em; @include breakpoint($small) { @include grid(12,8); @include prefix(12,0); @include suffix(12,0); } @include breakpoint($large) { @include grid(12,6); } @include breakpoint($x-large) { @include grid(12,5); } } .page__title {} .page__content { ul, ol { li + li { margin-top: 0.5em; } } } .page__hero { position: relative; margin-bottom: 2em; @include clearfix; &:after { content: ""; display: block; position: absolute; bottom: 0; left: 8%; width: 0; height: 0; border: 10px solid transparent; border-bottom-color: $body-color; @include breakpoint($small) { left: 25%; } @include breakpoint($large) { border-width: 20px; } @include breakpoint($x-large) { left: 33.333333333%; } } } .page__hero-image { width: 100%; height: auto; -ms-interpolation-mode: bicubic; } .page__hero-caption { position: absolute; bottom: 0; right: 0; margin: 0 auto; padding: 2px 5px; color: #fff; font-family: $sans-serif; font-size: 10px; background: #000; text-align: right; z-index: 5; opacity: 0.5; border-radius: $border-radius 0 $border-radius 0; @include breakpoint($medium) { padding: 5px 10px; } a { color: #fff; text-decoration: none; } } /* Post byline */ .byline { clear: both; font-size: 80%; } /* Author profile */ .sidebar { display: none; a, a:hover { border-bottom: 0 solid transparent; } img { width: 100%; } @include breakpoint($small) { display: block; @include grid(12,2); @include prefix(12,0.5); @include suffix(12,0.5); } @include breakpoint($x-large) { @include grid(12,1.5); @include prefix(12,2); } } .author__name { margin-bottom: 0; @include breakpoint($small) { margin-top: 10px; margin-bottom: 10px; } } .author__bio { font-size: 80%; font-style: italic; @include breakpoint($small) { margin-bottom: 20px; } } .author__avatar { max-width: 110px; border-radius: 50%; } .author__social-url { display: block; margin-bottom: 5px; font-size: 14px; color: #000; text-decoration: none; &:visited { color: #000; } &:hover { text-decoration: underline; } .fa { margin-right: 5px; } } @include breakpoint($small) { display: block; max-width: 125px; } @include breakpoint($large) { .author__name, .author__avatar, .author__bio, .author__social-url { max-width: 150px; } } /* Social sharing links */ .social-share { h4 { font-size: 14px; margin-bottom: 10px; text-transform: uppercase; } } /* Footer wrapper */ .footer-wrap { @include container; @include clearfix; clear: both; padding-bottom: 3em; .copyright { font-size: 14px; } footer { @include grid(12,10); @include prefix(12,1); @include suffix(12,1); @include breakpoint($small) { @include grid(12,6); @include prefix(12,3); @include suffix(12,3); } @include breakpoint($x-large) { @include grid(12,4.5); @include prefix(12,4); @include suffix(12,3.5); } } } /* Follow links */ .follow { ul { margin: 0; padding: 0; list-style-type: none; } li { display: inline-block; } li + li:before { content: ""; padding-right: 5px; } } /* Related articles list */ .related-articles { @include grid(12,10); @include prefix(12,1); @include suffix(12,1); margin-bottom: 2em; @include breakpoint($small) { @include grid(12,6); @include prefix(12,3); @include suffix(12,3); } @include breakpoint($x-large) { @include grid(12,4.5); @include prefix(12,4); @include suffix(12,3.5); } h4 { text-transform: uppercase; margin-bottom: 0; } li { margin-bottom: 0; } } /* Browser upgrade alert ========================================================================== */ .browser-upgrade { background: #000; text-align: center; margin: 0 0 2em 0; padding: 10px; text-align: center; color: #fff; a { color: #fff; border-bottom: 1px dotted #fff; text-decoration: none; &:hover { border-bottom: 1px solid #fff; } } } /* Google search form ========================================================================== */ #goog-fixurl { ul { list-style: none; margin-left: 0; padding-left: 0; li { list-style-type: none; } } } #goog-wm-qt { width: auto; margin-right: 10px; margin-bottom: 20px; padding: 8px 20px; display: inline-block; font-size: 14px; background-color: #fff; color: #000; border-width: 2px !important; border-style: solid !important; border-color: lighten(#000,50); border-radius: $border-radius; } #goog-wm-sb { @extend .btn; }