2016-04-06 16:15:42 +00:00
|
|
|
/**
|
|
|
|
* Site header
|
|
|
|
*/
|
|
|
|
.site-header {
|
|
|
|
border-bottom: 1px solid $grey-color-light;
|
|
|
|
text-align: center;
|
|
|
|
padding: 1rem 0;
|
2016-04-06 11:06:04 +00:00
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
|
|
|
.site-title {
|
2016-04-06 17:30:22 +00:00
|
|
|
font-size: 2.0rem;
|
2016-04-06 16:15:42 +00:00
|
|
|
font-weight: 300;
|
|
|
|
letter-spacing: -1px;
|
|
|
|
color: $grey-color-dark;
|
|
|
|
|
|
|
|
&,
|
|
|
|
&:hover {
|
2016-04-06 11:06:04 +00:00
|
|
|
text-decoration: none;
|
2016-04-05 18:38:01 +00:00
|
|
|
}
|
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
2016-04-06 17:12:20 +00:00
|
|
|
aside {
|
|
|
|
width: 100%;
|
|
|
|
z-index: 2;
|
2016-04-06 17:30:22 +00:00
|
|
|
|
2016-04-06 17:12:20 +00:00
|
|
|
nav {
|
|
|
|
max-width: 800px;
|
|
|
|
margin: 0 auto;
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
display: block;
|
|
|
|
padding: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
box-shadow: 0;
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
background: $background-color;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Page content
|
|
|
|
*/
|
|
|
|
.page-content {
|
|
|
|
position: relative;
|
|
|
|
max-width: 48rem;
|
|
|
|
padding: $spacing-unit ($spacing-unit * 0.75);
|
|
|
|
margin: 0 auto;
|
|
|
|
box-sizing: border-box;
|
2016-04-06 11:06:04 +00:00
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Pages
|
|
|
|
*/
|
|
|
|
.home {
|
|
|
|
section + section {
|
|
|
|
margin-top: $spacing-unit;
|
|
|
|
}
|
2016-04-06 11:06:04 +00:00
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
|
|
|
.smallcap {
|
|
|
|
text-transform: lowercase;
|
|
|
|
font-variant: small-caps;
|
|
|
|
|
|
|
|
&::first-letter {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
2016-04-06 11:06:04 +00:00
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
|
|
|
.post-list > li {
|
|
|
|
margin-bottom: $spacing-unit / 4;
|
|
|
|
|
|
|
|
@include media-query($on-palm) {
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
font-size: $small-font-size;
|
|
|
|
}
|
|
|
|
}
|
2016-04-06 11:06:04 +00:00
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Posts
|
|
|
|
*/
|
|
|
|
.post-header {
|
|
|
|
margin-bottom: $spacing-unit;
|
2016-04-06 11:06:04 +00:00
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
|
|
|
.post-title {
|
|
|
|
font-size: 2rem;
|
|
|
|
letter-spacing: -1px;
|
|
|
|
line-height: 1;
|
2016-04-06 11:06:04 +00:00
|
|
|
}
|
2016-04-06 16:15:42 +00:00
|
|
|
|
|
|
|
.post-meta {
|
|
|
|
font-size: $small-font-size;
|
|
|
|
color: $grey-color;
|
2016-04-06 11:06:04 +00:00
|
|
|
}
|
|
|
|
|
2016-04-06 16:15:42 +00:00
|
|
|
.post-content {
|
|
|
|
margin-bottom: $spacing-unit;
|
|
|
|
|
|
|
|
h1, h2, h3,
|
|
|
|
h4, h5, h6 {
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-size: 1rem;
|
2016-04-05 18:38:01 +00:00
|
|
|
}
|
|
|
|
}
|