mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 08:58:58 -05:00
167 lines
3.7 KiB
SCSS
167 lines
3.7 KiB
SCSS
#content .blog-index {
|
|
padding: { top: 0; bottom: 0; }
|
|
article { padding-top: 2em; }
|
|
}
|
|
|
|
article {
|
|
padding-top: 1em;
|
|
a { @extend .force-wrap; }
|
|
header {
|
|
position: relative;
|
|
padding-top: 2em;
|
|
padding-bottom: 1em;
|
|
margin-bottom: 1em;
|
|
background: $img-border bottom left repeat-x;
|
|
@media only screen and (min-width: 768px) {
|
|
margin-bottom: 1.5em;
|
|
padding-bottom: 1em;
|
|
background: $img-border bottom left repeat-x;
|
|
}
|
|
.blog-index & { background: none; padding-bottom: 0; }
|
|
p {
|
|
font-size: .8em;
|
|
margin: 0;
|
|
color: $text-color-light;
|
|
&.meta { @extend .sans; position: absolute; top: 0; }
|
|
}
|
|
time { text-transform: uppercase; }
|
|
}
|
|
.entry-title {
|
|
margin: 0;
|
|
a { text-decoration: none;
|
|
&:hover { text-decoration: underline; }
|
|
}
|
|
.blog-index & {
|
|
font-size: $h1;
|
|
a { color: inherit; &:hover { color: $link-color-hover; } }
|
|
}
|
|
}
|
|
|
|
a[rel=bookmark] { text-decoration: none; }
|
|
|
|
h2 {
|
|
padding-top: 0.8em;
|
|
background: $img-border top left repeat-x;
|
|
}
|
|
h2:first-child, header + h2 { background: none; }
|
|
|
|
.entry-content & h2:first-child, header + h2 { padding-top: 0; }
|
|
|
|
&.linklog {
|
|
.entry-title {
|
|
font-size: $h1;
|
|
a { text-decoration: underline; }
|
|
}
|
|
.blog-index & .entry-title { font-size: $h2; }
|
|
}
|
|
|
|
.linklog-marker {
|
|
color: $text-color-light;
|
|
font-size: .8em;
|
|
line-height: 1em;
|
|
position: relative; top: -.15em;
|
|
}
|
|
|
|
> footer {
|
|
@extend .sans;
|
|
padding-bottom: 2.5em;
|
|
margin-top: 2em;
|
|
.blog-index & { margin-top: 1em; }
|
|
}
|
|
footer {
|
|
.meta {
|
|
margin-bottom: .8em;
|
|
font-size: .85em;
|
|
clear: both;
|
|
overflow: hidden;
|
|
}
|
|
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
|
|
@extend .separator;
|
|
}
|
|
p:last-child { margin-bottom: 0; }
|
|
.comments-link {
|
|
font-size: .8em;
|
|
color: inherit;
|
|
&:hover, &:focus { 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;
|
|
color: mix($text-color, $text-color-light);
|
|
@extend .serif;
|
|
@include transition(background-color .5s);
|
|
&:hover {
|
|
background: $link-color-hover;
|
|
text-shadow: none;
|
|
color: $main-bg;
|
|
}
|
|
}
|
|
|
|
.blog-index & + article {
|
|
background: $img-border top left repeat-x;
|
|
}
|
|
|
|
.feature {
|
|
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;
|
|
}
|
|
|
|
img, video, .flash-video {
|
|
@extend .flex-content;
|
|
@extend .basic-alignment;
|
|
@include shadow-box;
|
|
}
|
|
video, .flash-video { margin: 0 auto 1.5em; }
|
|
video { display: block; width: 100%; }
|
|
.flash-video {
|
|
> 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%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.separator {
|
|
content: "\2022 ";
|
|
padding: 0 .4em 0 .2em;
|
|
display: inline-block;
|
|
}
|
|
|
|
#content div.pagination {
|
|
text-align: center;
|
|
font-size: .95em;
|
|
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; }
|
|
}
|
|
}
|
|
}
|