155 lines
2.0 KiB
SCSS
155 lines
2.0 KiB
SCSS
/**
|
|
* Site header
|
|
*/
|
|
.site-header {
|
|
border-top: 5px solid #000;
|
|
border-bottom: 1px solid #000;
|
|
min-height: 56px;
|
|
|
|
// Positioning context for the mobile navigation icon
|
|
position: relative;
|
|
}
|
|
|
|
.site-title {
|
|
font-size: 26px;
|
|
font-weight: 300;
|
|
line-height: 56px;
|
|
letter-spacing: -1px;
|
|
margin-bottom: 0;
|
|
float: left;
|
|
}
|
|
|
|
.site-nav {
|
|
float: right;
|
|
line-height: 56px;
|
|
|
|
.menu-icon {
|
|
display: none;
|
|
}
|
|
|
|
@include media-query($on-palm) {
|
|
position: absolute;
|
|
top: 9px;
|
|
right: $spacing-unit / 2;
|
|
border: 1px solid #000;
|
|
text-align: right;
|
|
|
|
.menu-icon {
|
|
display: block;
|
|
float: right;
|
|
width: 36px;
|
|
height: 26px;
|
|
line-height: 0;
|
|
padding-top: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.trigger {
|
|
clear: both;
|
|
display: none;
|
|
}
|
|
|
|
&:hover .trigger {
|
|
display: block;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.page-link {
|
|
display: block;
|
|
padding: 5px 10px;
|
|
|
|
&:not(:last-child) {
|
|
margin-right: 0;
|
|
}
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Site footer
|
|
*/
|
|
.site-footer {
|
|
border-top: 1px solid #000;
|
|
padding: $spacing-unit 0;
|
|
}
|
|
|
|
.footer-heading {
|
|
font-size: 18px;
|
|
margin-bottom: $spacing-unit / 2;
|
|
}
|
|
|
|
/**
|
|
* Page content
|
|
*/
|
|
.page-content {
|
|
padding: $spacing-unit 0;
|
|
}
|
|
|
|
.page-heading {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.post-list {
|
|
margin-left: 0;
|
|
list-style: none;
|
|
|
|
> li {
|
|
margin-bottom: $spacing-unit;
|
|
}
|
|
}
|
|
|
|
.post-link {
|
|
display: block;
|
|
font-size: 24px;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Posts
|
|
*/
|
|
.post-header {
|
|
margin-bottom: $spacing-unit;
|
|
}
|
|
|
|
.post-title {
|
|
font-size: 42px;
|
|
letter-spacing: -1px;
|
|
line-height: 1;
|
|
|
|
@include media-query($on-laptop) {
|
|
font-size: 36px;
|
|
}
|
|
}
|
|
|
|
.post-content {
|
|
margin-bottom: $spacing-unit;
|
|
|
|
h2 {
|
|
font-size: 32px;
|
|
|
|
@include media-query($on-laptop) {
|
|
font-size: 28px;
|
|
}
|
|
}
|
|
|
|
h3 {
|
|
font-size: 26px;
|
|
|
|
@include media-query($on-laptop) {
|
|
font-size: 22px;
|
|
}
|
|
}
|
|
|
|
h4 {
|
|
font-size: 20px;
|
|
|
|
@include media-query($on-laptop) {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
}
|