Skip to content

Instantly share code, notes, and snippets.

@mcrider
Created October 23, 2013 22:26
Show Gist options
  • Save mcrider/7127881 to your computer and use it in GitHub Desktop.
Save mcrider/7127881 to your computer and use it in GitHub Desktop.
#news {
background: url('bg-birdofparadise.jpg') no-repeat center bottom;
box-shadow: 0 10px 10px -1px rgba(50, 50, 50, 0.05);
h2.single {
margin-top: 20px;
padding-bottom: 30px;
}
.post {
border-bottom: 1px solid $border-grey;
padding: 30px 0;
h4 {
line-height: 1;
a {
color: #222;
}
}
p.date {
margin-bottom: 10px;
a {
font-weight: 700;
}
}
div p:last-child {
margin-bottom: 0;
}
p.tags {
font-style: italic;
a {
font-weight: 400;
}
}
&.post-important {
background-color: #fff;
border: 1px solid $border-grey;
}
&:nth-child(even) {
background: rgba(247, 247, 237, .5);
}
}
.large-8 {
div {
span {
color: $body-font-color;
font-family: $paragraph-font-family;
font-weight: $paragraph-font-weight;
font-size: $paragraph-font-size;
line-height: $paragraph-line-height;
text-rendering: $paragraph-text-rendering;
}
}
}
.sidebar {
ul {
margin-left: 20px;
color: $body-font-color;
&.nobullet {
margin-left: 0;
list-style: none;
}
}
}
.breadcrumbs {
padding-bottom: 20px;
margin: 0 -30px;
border: 0;
border-bottom: 1px solid $border-grey;
border-radius: 0;
background: none;
font-size: 18px;
li {
margin-bottom: 0;
text-transform: none;
a {
text-transform: none;
}
}
}
}
nav.pagination {
width: 100%;
text-align: center;
padding: 0;
margin: 20px 0;
span {
display: inline-block;
@media only screen and (max-width: #{$topbar-breakpoint}) {
font-size: 12px;
&.prev {
display: none;
}
&.next {
display: none;
}
&.gap {
font-size: 4px;
}
}
a {
margin: 0;
padding: 5px 10px;
}
&.current {
background: rgba(235, 235, 211, .75);
padding: 5px 10px;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment