2011-06-08 18:18:37 +00:00
|
|
|
$border: inline-image('dotted-border.png');
|
2011-06-07 20:12:46 +00:00
|
|
|
#articles {
|
2011-06-22 16:29:23 +00:00
|
|
|
@media only screen and (max-width: 768px) {
|
2011-06-18 02:24:48 +00:00
|
|
|
ul, ol { margin-left: 1.4em; }
|
|
|
|
}
|
2011-06-07 20:12:46 +00:00
|
|
|
> article {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
&:last-child { margin-bottom: 0; border-bottom: none; }
|
|
|
|
h2 {
|
|
|
|
padding-top: 0.8em;
|
2011-06-08 18:18:37 +00:00
|
|
|
background: $border top left repeat-x;
|
2011-06-18 02:24:48 +00:00
|
|
|
&:first-child {
|
|
|
|
background: none;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2011-06-07 20:12:46 +00:00
|
|
|
}
|
2011-06-20 20:44:04 +00:00
|
|
|
.byline + time:before, time +time:before, .comments:before {
|
|
|
|
@extend .separator;
|
2011-06-07 20:12:46 +00:00
|
|
|
}
|
|
|
|
header {
|
2011-06-19 19:14:01 +00:00
|
|
|
position: relative;
|
2011-06-07 20:12:46 +00:00
|
|
|
padding-top: 2em;
|
|
|
|
margin-bottom: 1.5em;
|
2011-06-19 19:14:01 +00:00
|
|
|
padding-bottom: 1em;
|
2011-06-08 18:18:37 +00:00
|
|
|
background: $border bottom left repeat-x;
|
2011-06-07 20:12:46 +00:00
|
|
|
h1 {
|
|
|
|
margin: 0;
|
|
|
|
a { text-decoration: none;
|
|
|
|
&:hover { text-decoration: underline; } }
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: .9em;
|
2011-06-20 20:44:04 +00:00
|
|
|
color: $text-color-light;
|
2011-06-07 20:12:46 +00:00
|
|
|
margin: 0;
|
2011-06-08 18:18:37 +00:00
|
|
|
@extend .sans;
|
2011-06-19 19:14:01 +00:00
|
|
|
&.meta {
|
|
|
|
text-transform: uppercase;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
background: $border bottom left repeat-x;
|
|
|
|
p.meta { position: static; }
|
|
|
|
}
|
|
|
|
|
2011-06-22 16:29:23 +00:00
|
|
|
}
|
|
|
|
h1.feature {
|
|
|
|
padding-top: .5em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
background: $border bottom left repeat-x;
|
|
|
|
font-size: 2.0em; font-style: italic;
|
|
|
|
line-height: 1.3em;
|
2011-06-07 20:12:46 +00:00
|
|
|
}
|
|
|
|
.entry-content {
|
2011-06-13 20:41:03 +00:00
|
|
|
img, video { max-width: 100%; height: auto; }
|
|
|
|
video { display: block; margin-bottom: 1.5em;
|
|
|
|
padding: .8em; background: #fff; border: 1px solid #eee;
|
|
|
|
@include box-sizing(border-box);
|
|
|
|
}
|
|
|
|
.flash-video {
|
|
|
|
max-width: 100%;
|
|
|
|
padding: .8em; background: #fff; border: 1px solid #eee;
|
|
|
|
> div {
|
|
|
|
position: relative;
|
|
|
|
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-07 20:12:46 +00:00
|
|
|
}
|
|
|
|
#disqus_thread { }
|
|
|
|
|
2011-06-20 20:44:04 +00:00
|
|
|
iframe.twitter-share-button {
|
|
|
|
//display: block;
|
|
|
|
//margin-top: .5em;
|
|
|
|
//padding: .2em 0;
|
|
|
|
position: relative;
|
|
|
|
top: .3em;
|
|
|
|
padding-left: .5em;
|
|
|
|
}
|
2011-06-19 19:14:01 +00:00
|
|
|
footer {
|
2011-06-20 20:44:04 +00:00
|
|
|
margin-top: 2em;
|
|
|
|
padding-top: 1em;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
background: $border top left repeat-x;
|
|
|
|
time, .author { color: $text-color-light; @extend .sans; }
|
2011-06-19 19:14:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
article + article {
|
|
|
|
background: $border top left repeat-x;
|
|
|
|
}
|
|
|
|
#articles.blog-index {
|
|
|
|
article header { background: none; padding-bottom: 0; }
|
|
|
|
article h1 {
|
|
|
|
font-size: 2.2em;
|
|
|
|
a { color: inherit; &:hover{ color: $link-color-hover; } }
|
|
|
|
}
|
|
|
|
a[rel=full-article] {
|
|
|
|
background: darken($main-bg, 5);
|
|
|
|
display: inline-block;
|
|
|
|
padding: .4em .8em;
|
|
|
|
margin-right: .5em;
|
|
|
|
text-decoration: none;
|
2011-06-20 20:44:04 +00:00
|
|
|
color: mix($text-color, $text-color-light);
|
|
|
|
@extend .serif;
|
2011-06-19 19:14:01 +00:00
|
|
|
@include transition(background-color, .5s);
|
|
|
|
&:hover {
|
|
|
|
background: $link-color-hover;
|
2011-06-20 20:44:04 +00:00
|
|
|
text-shadow: none;
|
2011-06-19 19:14:01 +00:00
|
|
|
color: $main-bg;
|
2011-06-07 20:12:46 +00:00
|
|
|
}
|
|
|
|
}
|
2011-06-20 20:44:04 +00:00
|
|
|
footer {
|
|
|
|
@extend .sans;
|
|
|
|
margin-top: 1em;
|
|
|
|
p.meta { color: $text-color-light; }
|
|
|
|
a { color: inherit; &:hover{ color: $link-color-hover;} }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.separator {
|
|
|
|
content: "\2022 ";
|
|
|
|
padding: 0 .4em 0 .2em;
|
|
|
|
display: inline-block;
|
2011-06-07 20:12:46 +00:00
|
|
|
}
|