@ -5,8 +5,7 @@
}
}
> article , > div > article {
> article , > div > article {
overflow : hidden ;
overflow : hidden ;
padding-bottom : 1 em ;
padding-top : 1 em ;
& : last-child { margin-bottom : 0 ; }
h2 {
h2 {
padding-top : 0 .8 em ;
padding-top : 0 .8 em ;
background : $img-border top left repeat-x ;
background : $img-border top left repeat-x ;
@ -32,16 +31,16 @@
font-size : .9 em ;
font-size : .9 em ;
color : $text-color-light ;
color : $text-color-light ;
margin : 0 ;
margin : 0 ;
@extend . sans ;
& . meta {
& . meta {
@extend . sans ;
text-transform : uppercase ;
text-transform : uppercase ;
position : absolute ; top : 0 ;
}
}
}
}
@media only screen and ( min-width : 768 px ) {
@media only screen and ( min-width : 768 px ) {
margin-bottom : 1 .5 em ;
margin-bottom : 1 .5 em ;
padding-bottom : 1 em ;
padding-bottom : 1 em ;
background : $img-border bottom left repeat-x ;
background : $img-border bottom left repeat-x ;
p . meta { position : absolute ; top : 0 ; }
}
}
}
}
. feature {
. feature {
@ -82,12 +81,13 @@
}
}
}
}
> div > article > footer {
> div > article > footer {
margin-bottom : 1 .5 em ;
padding-bottom : 2 .5 em ;
background : $img-border top left repeat-x ;
margin-top : 2 em ;
margin-top : 2 em ;
padding-top : 1 em ;
@extend . sans ;
@extend . sans ;
p . meta { display : inline-block ; font-size : .8 em ; }
p . meta {
margin-bottom : .8 em ;
font-size : .85 em ;
}
}
}
}
}
@ -95,6 +95,8 @@ article + article {
background : $img-border top left repeat-x ;
background : $img-border top left repeat-x ;
}
}
# content . blog-index {
# content . blog-index {
padding : { top : 0 ; bottom : 0 ; }
article { padding-top : 2 em ; }
article header { background : none ; padding-bottom : 0 ; }
article header { background : none ; padding-bottom : 0 ; }
article h1 {
article h1 {
font-size : 2 .2 em ;
font-size : 2 .2 em ;
@ -126,3 +128,23 @@ article + article {
padding : 0 .4 em 0 .2 em ;
padding : 0 .4 em 0 .2 em ;
display : inline-block ;
display : inline-block ;
}
}
nav [ role = pagination ] {
text-align : center ;
font-size : .95 em ;
div {
position : relative ;
background : $img-border top left repeat-x ;
padding : { top : 1 .5 em ; bottom : 1 .5 em ; }
}
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 .3 em ; }
}
}
}