graffen.dk-website/_sass/_layout.scss

111 lines
1.4 KiB
SCSS
Raw Normal View History

2015-02-11 12:14:22 +00:00
/**
* Site header
*/
.site-header {
border-bottom: 1px solid $grey-color-light;
text-align: center;
padding: 1rem 0;
2015-02-11 12:14:22 +00:00
}
.site-title {
font-size: 1.5rem;
font-weight: 300;
2015-02-11 12:14:22 +00:00
letter-spacing: -1px;
color: $grey-color-dark;
2015-02-11 12:14:22 +00:00
&,
&:hover {
text-decoration: none;
2015-02-11 12:14:22 +00:00
}
}
/**
* Page content
2015-02-11 12:14:22 +00:00
*/
.page-content {
position: relative;
max-width: 48rem;
padding: $spacing-unit ($spacing-unit * 0.75);
margin: 0 auto;
box-sizing: border-box;
2015-02-11 12:14:22 +00:00
}
/**
* Pages
2015-02-11 12:14:22 +00:00
*/
.home {
section + section {
margin-top: $spacing-unit;
}
2015-02-11 12:14:22 +00:00
}
.smallcap {
text-transform: lowercase;
font-variant: small-caps;
2015-02-11 12:14:22 +00:00
&::first-letter {
text-transform: uppercase;
2015-02-11 12:14:22 +00:00
}
}
.post-list > li {
margin-bottom: $spacing-unit / 4;
2015-02-11 12:14:22 +00:00
@include media-query($on-palm) {
span {
display: block;
font-size: $small-font-size;
}
}
2015-02-11 12:14:22 +00:00
}
/**
* Posts
*/
.post-header {
margin-bottom: $spacing-unit;
}
.post-title {
font-size: 2rem;
2015-02-11 12:14:22 +00:00
letter-spacing: -1px;
line-height: 1;
}
2015-02-11 12:14:22 +00:00
.post-meta {
font-size: $small-font-size;
color: $grey-color;
2015-02-11 12:14:22 +00:00
}
.post-content {
margin-bottom: $spacing-unit;
h1, h2, h3,
h4, h5, h6 {
margin-top: 2rem;
}
2015-02-11 12:14:22 +00:00
h1,
h2 {
font-size: 2rem;
2015-02-11 12:14:22 +00:00
}
h3 {
font-size: 1.5rem;
2015-02-11 12:14:22 +00:00
}
h4 {
font-size: 1.25rem;
}
2015-02-11 12:14:22 +00:00
h5,
h6 {
font-size: 1rem;
2015-02-11 12:14:22 +00:00
}
}