2011-07-15 15:50:48 -04:00
|
|
|
article {
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 1em;
|
|
|
|
ul, ol { margin-left: 1.4em; }
|
2011-06-27 15:59:21 -04:00
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
ul, ol { margin-left: 0; }
|
2011-06-17 22:24:48 -04:00
|
|
|
}
|
2011-06-27 15:59:21 -04:00
|
|
|
header {
|
|
|
|
position: relative;
|
|
|
|
padding-top: 2em;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
background: $img-border bottom left repeat-x;
|
|
|
|
h1 {
|
|
|
|
margin: 0;
|
|
|
|
a { text-decoration: none;
|
|
|
|
&:hover { text-decoration: underline; } }
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: .9em;
|
|
|
|
color: $text-color-light;
|
|
|
|
margin: 0;
|
|
|
|
&.meta {
|
2011-07-13 22:23:19 -04:00
|
|
|
@extend .sans;
|
2011-06-27 15:59:21 -04:00
|
|
|
text-transform: uppercase;
|
2011-07-13 22:23:19 -04:00
|
|
|
position: absolute; top: 0;
|
2011-06-19 15:14:01 -04:00
|
|
|
}
|
2011-06-22 12:29:23 -04:00
|
|
|
}
|
2011-06-27 15:59:21 -04:00
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
margin-bottom: 1.5em;
|
2011-06-22 12:29:23 -04:00
|
|
|
padding-bottom: 1em;
|
2011-06-27 15:59:21 -04:00
|
|
|
background: $img-border bottom left repeat-x;
|
2011-06-07 16:12:46 -04:00
|
|
|
}
|
2011-06-27 15:59:21 -04:00
|
|
|
}
|
2011-07-15 15:50:48 -04:00
|
|
|
h2 {
|
|
|
|
padding-top: 0.8em;
|
|
|
|
background: $img-border top left repeat-x;
|
|
|
|
.entry-content &:first-child { padding-top: 0; }
|
|
|
|
&:first-child { background: none; }
|
|
|
|
}
|
2011-07-03 18:11:54 -04:00
|
|
|
.feature {
|
2011-06-27 15:59:21 -04:00
|
|
|
padding-top: .5em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
background: $img-border bottom left repeat-x;
|
|
|
|
font-size: 2.0em; font-style: italic;
|
|
|
|
line-height: 1.3em;
|
|
|
|
}
|
|
|
|
.entry-content {
|
|
|
|
img, video { max-width: 100%; height: auto; }
|
|
|
|
video {
|
|
|
|
width: 100%; display: block; margin-bottom: 1.5em;
|
|
|
|
padding: .8em; background: #fff; border: 1px solid #eee;
|
|
|
|
@include box-sizing(border-box);
|
2011-06-07 16:12:46 -04:00
|
|
|
}
|
2011-06-27 15:59:21 -04:00
|
|
|
}
|
|
|
|
.flash-video {
|
|
|
|
max-width: 100%;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
@include box-sizing(border-box);
|
|
|
|
padding: .8em; background: #fff; border: 1px solid #eee;
|
|
|
|
> div {
|
2011-06-20 16:44:04 -04:00
|
|
|
position: relative;
|
2011-06-27 15:59:21 -04:00
|
|
|
display: block;
|
|
|
|
padding-bottom: 56.25%;
|
|
|
|
padding-top: 1px;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
iframe, object, embed {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2011-06-19 15:14:01 -04:00
|
|
|
}
|
|
|
|
}
|
2011-07-15 15:50:48 -04:00
|
|
|
> footer {
|
2011-07-13 22:23:19 -04:00
|
|
|
padding-bottom: 2.5em;
|
2011-07-12 19:40:57 -04:00
|
|
|
margin-top: 2em;
|
2011-06-27 15:59:21 -04:00
|
|
|
@extend .sans;
|
2011-07-13 22:23:19 -04:00
|
|
|
p.meta {
|
|
|
|
margin-bottom: .8em;
|
|
|
|
font-size: .85em;
|
|
|
|
}
|
2011-07-15 15:50:48 -04:00
|
|
|
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
|
|
|
|
@extend .separator;
|
|
|
|
}
|
2011-06-27 15:59:21 -04:00
|
|
|
}
|
|
|
|
|
2011-06-19 15:14:01 -04:00
|
|
|
}
|
|
|
|
article + article {
|
2011-06-27 15:59:21 -04:00
|
|
|
background: $img-border top left repeat-x;
|
2011-06-19 15:14:01 -04:00
|
|
|
}
|
2011-07-12 19:40:57 -04:00
|
|
|
#content .blog-index {
|
2011-07-13 22:23:19 -04:00
|
|
|
padding: { top: 0; bottom: 0; }
|
|
|
|
article { padding-top: 2em; }
|
2011-06-19 15:14:01 -04:00
|
|
|
article header { background: none; padding-bottom: 0; }
|
|
|
|
article h1 {
|
|
|
|
font-size: 2.2em;
|
2011-06-27 15:59:21 -04:00
|
|
|
a { color: inherit; &:hover { color: $link-color-hover; } }
|
2011-06-19 15:14:01 -04:00
|
|
|
}
|
|
|
|
a[rel=full-article] {
|
|
|
|
background: darken($main-bg, 5);
|
|
|
|
display: inline-block;
|
|
|
|
padding: .4em .8em;
|
|
|
|
margin-right: .5em;
|
|
|
|
text-decoration: none;
|
2011-06-20 16:44:04 -04:00
|
|
|
color: mix($text-color, $text-color-light);
|
|
|
|
@extend .serif;
|
2011-06-19 15:14:01 -04:00
|
|
|
@include transition(background-color, .5s);
|
|
|
|
&:hover {
|
|
|
|
background: $link-color-hover;
|
2011-06-20 16:44:04 -04:00
|
|
|
text-shadow: none;
|
2011-06-19 15:14:01 -04:00
|
|
|
color: $main-bg;
|
2011-06-07 16:12:46 -04:00
|
|
|
}
|
|
|
|
}
|
2011-06-20 16:44:04 -04:00
|
|
|
footer {
|
|
|
|
@extend .sans;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.separator {
|
|
|
|
content: "\2022 ";
|
|
|
|
padding: 0 .4em 0 .2em;
|
|
|
|
display: inline-block;
|
2011-06-07 16:12:46 -04:00
|
|
|
}
|
2011-07-13 22:23:19 -04:00
|
|
|
|
2011-07-15 15:50:48 -04:00
|
|
|
#content nav[role=pagination] {
|
2011-07-13 22:23:19 -04:00
|
|
|
text-align: center;
|
|
|
|
font-size: .95em;
|
|
|
|
div {
|
|
|
|
position: relative;
|
|
|
|
background: $img-border top left repeat-x;
|
|
|
|
padding: {top: 1.5em; bottom: 1.5em;}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $text-color-light;
|
|
|
|
&.prev { position: absolute; left: 0; }
|
|
|
|
&.next { position: absolute; right: 0; }
|
|
|
|
&:hover { color: $link-color-hover; }
|
|
|
|
&[href*=archive] {
|
|
|
|
&:before, &:after { content: '\2014'; padding: 0 .3em; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|