mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-12 21:10:54 +00:00
1. Udated category layout
2. Improved scoping and styling for links 3. Sidebar collapse improvements
This commit is contained in:
@ -1,21 +1,10 @@
|
||||
#content {
|
||||
article { ul, ol { margin-left: 1.4em; }}
|
||||
article {
|
||||
overflow: hidden;
|
||||
padding-top: 1em;
|
||||
ul, ol { margin-left: 1.4em; }
|
||||
@media only screen and (min-width: 768px) {
|
||||
ul, ol { margin-left: 0; }
|
||||
}
|
||||
> article, > div > article {
|
||||
overflow: hidden;
|
||||
padding-top: 1em;
|
||||
h2 {
|
||||
padding-top: 0.8em;
|
||||
background: $img-border top left repeat-x;
|
||||
.entry-content &:first-child { padding-top: 0; }
|
||||
&:first-child { background: none; }
|
||||
}
|
||||
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
|
||||
@extend .separator;
|
||||
}
|
||||
}
|
||||
header {
|
||||
position: relative;
|
||||
padding-top: 2em;
|
||||
@ -43,6 +32,12 @@
|
||||
background: $img-border bottom left repeat-x;
|
||||
}
|
||||
}
|
||||
h2 {
|
||||
padding-top: 0.8em;
|
||||
background: $img-border top left repeat-x;
|
||||
.entry-content &:first-child { padding-top: 0; }
|
||||
&:first-child { background: none; }
|
||||
}
|
||||
.feature {
|
||||
padding-top: .5em;
|
||||
margin-bottom: 1em;
|
||||
@ -80,7 +75,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
> div > article > footer {
|
||||
> footer {
|
||||
padding-bottom: 2.5em;
|
||||
margin-top: 2em;
|
||||
@extend .sans;
|
||||
@ -88,6 +83,9 @@
|
||||
margin-bottom: .8em;
|
||||
font-size: .85em;
|
||||
}
|
||||
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
|
||||
@extend .separator;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -129,7 +127,7 @@ article + article {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
nav[role=pagination] {
|
||||
#content nav[role=pagination] {
|
||||
text-align: center;
|
||||
font-size: .95em;
|
||||
div {
|
||||
|
||||
Reference in New Issue
Block a user