Add post pagination to sidebar and make minor styling alterations

This commit is contained in:
Michael Rose
2016-03-28 21:48:42 -04:00
parent c335b70007
commit 945fb58044
9 changed files with 56 additions and 17 deletions

View File

@@ -53,13 +53,16 @@
========================================================================== */
.pagination {
padding-top: 0.5em;
margin-top: 1em;
padding-top: 1em;
border-top: 1px solid $border-color;
ul {
margin: 0;
padding: 0;
list-style-type: none;
font-family: $sans-serif;
font-size: 12px;
}
li {
@@ -222,7 +225,7 @@
.nav__list {
a {
display: block;
padding: 2px 0;
padding: 4px 0;
&:hover {
text-decoration: underline;
@@ -260,12 +263,13 @@
========================================================================== */
.toc {
padding: 0 0 1em;
font-family: $sans-serif-narrow;
color: $gray;
text-transform: uppercase;
letter-spacing: 1px;
background-color: #fff;
border: 1px solid $border-color;
border-radius: $border-radius;
}
.toc__menu {

View File

@@ -61,7 +61,7 @@
}
.page__content {
p, li {
p, li, dl {
font-size: 16px;
}
@@ -77,6 +77,15 @@
}
}
}
dt {
margin-top: 1em;
font-weight: bold;
}
dd {
margin-left: 1em;
}
}
.page__hero {

View File

@@ -10,6 +10,10 @@
@include clearfix();
margin-bottom: 1em;
@include breakpoint($medium) {
padding-right: $right-sidebar-width-narrow;
}
@include breakpoint($large) {
@include span(2 of 12);
@include suffix(0.25 of 12);
@@ -34,7 +38,7 @@
p, li {
font-family: $sans-serif;
font-size: 14px;
font-size: 12px;
line-height: 1.2;
}
@@ -89,6 +93,11 @@
img {
max-width: 110px;
border-radius: 50%;
@include breakpoint($large) {
padding: 5px;
border: 1px solid $border-color;
}
}
}
@@ -109,20 +118,24 @@
.author__name {
margin: 0;
font-size: 18px;
@include breakpoint($large) {
margin-top: 10px;
margin-bottom: 10px;
font-size: 20px;
}
}
.sidebar .author__name {
font-family: $sans-serif;
font-size: 16px;
@include breakpoint($large) {
font-size: 18px;
}
}
.author__bio {
margin: 0;
font-size: 12px;
@include breakpoint($large) {
margin-top: 10px;

File diff suppressed because one or more lines are too long