mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 19:57:57 +00:00
102 lines
1.6 KiB
SCSS
102 lines
1.6 KiB
SCSS
|
|
/**
|
|
* Posts
|
|
*/
|
|
.post-header {
|
|
margin-bottom: $spacing-unit;
|
|
}
|
|
|
|
.post-title {
|
|
@include relative-font-size(2.625);
|
|
letter-spacing: -1px;
|
|
line-height: 1;
|
|
|
|
@include media-query($on-laptop) {
|
|
@include relative-font-size(2.25);
|
|
}
|
|
}
|
|
|
|
.post-content {
|
|
margin-bottom: $spacing-unit;
|
|
|
|
h2 {
|
|
@include relative-font-size(2);
|
|
|
|
&::after {
|
|
content: "";
|
|
display: block;
|
|
border-bottom: 2px solid black;
|
|
}
|
|
|
|
@include media-query($on-laptop) {
|
|
@include relative-font-size(1.75);
|
|
}
|
|
}
|
|
|
|
h3 {
|
|
@include relative-font-size(1.625);
|
|
|
|
@include media-query($on-laptop) {
|
|
@include relative-font-size(1.375);
|
|
}
|
|
}
|
|
|
|
h4 {
|
|
@include relative-font-size(1.25);
|
|
|
|
@include media-query($on-laptop) {
|
|
@include relative-font-size(1.125);
|
|
}
|
|
}
|
|
}
|
|
|
|
.caption {
|
|
color: $grey-color;
|
|
font-size: $small-font-size;
|
|
padding-bottom: 1.5em;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.relative-posts {
|
|
color: $grey-color-dark;
|
|
display: flex;
|
|
font-size: $small-font-size;
|
|
justify-content: space-between;
|
|
margin-top: 2em;
|
|
|
|
a {
|
|
font-size: $base-font-size * 1.2;
|
|
}
|
|
|
|
.previous-post {
|
|
text-align: left;
|
|
max-width: 45%;
|
|
}
|
|
|
|
.next-post {
|
|
text-align: right;
|
|
max-width: 45%;
|
|
}
|
|
|
|
@include media-query($on-laptop) {
|
|
flex-flow: column wrap;
|
|
align-content: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
|
|
> * {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.previous-post, .next-post {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-meta-icons {
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
padding: 0 .2em;
|
|
} |