mirror of
https://github.com/metagov/govarch-website.git
synced 2025-04-30 13:18:00 +00:00
126 lines
1.7 KiB
SCSS
126 lines
1.7 KiB
SCSS
body {
|
|
color: $text-color;
|
|
font-family: Garamond, "Times New Roman", serif;
|
|
font-size: 1.3125em;
|
|
line-height: 1.325;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2em;
|
|
margin: 1em auto;
|
|
text-align: center;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.5em;
|
|
margin: 1.3333em auto;
|
|
text-align: center;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.25em;
|
|
font-style: italic;
|
|
margin: 1.875em auto;
|
|
text-align: center;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 1em;
|
|
font-style: italic;
|
|
margin: 2em auto;
|
|
text-align: center;
|
|
}
|
|
|
|
h6 {
|
|
font-size: .875em;
|
|
font-style: italic;
|
|
margin: 2.25em auto;
|
|
text-align: center;
|
|
}
|
|
|
|
a {
|
|
color: $text-color;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 2em auto;
|
|
opacity: .8;
|
|
> * {
|
|
padding: 0 1.5em;
|
|
}
|
|
}
|
|
|
|
blockquote.epigraph {
|
|
font-style: italic;
|
|
}
|
|
|
|
p > cite {
|
|
display: block;
|
|
text-align: right;
|
|
}
|
|
|
|
hr {
|
|
border: 0;
|
|
height: 0;
|
|
margin: 4em 0 4.5em;
|
|
&:after {
|
|
@include divider;
|
|
}
|
|
}
|
|
|
|
.divided:after {
|
|
@include divider;
|
|
}
|
|
|
|
.home {
|
|
max-width: 24em;
|
|
margin: auto;
|
|
padding: ($spacing-unit * 4) $spacing-unit;
|
|
}
|
|
|
|
.home h1 {
|
|
font-size: 2em;
|
|
padding: 2em 0;
|
|
margin-bottom: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.post-list {
|
|
margin: 1em 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.post-link {
|
|
color: $text-color;
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
text-decoration: none;
|
|
padding: .25em 0;
|
|
.post-title {
|
|
display: block;
|
|
padding: .25em 0;
|
|
}
|
|
&:hover .post-title,
|
|
&:focus .post-title {
|
|
text-decoration: underline;
|
|
}
|
|
@media (min-width: $on-tablet) {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
.post-title {
|
|
margin-right: 4em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-date {
|
|
color: $muted-text-color;
|
|
display: block;
|
|
font-size: .825em;
|
|
white-space: nowrap;
|
|
text-transform: uppercase;
|
|
.post-link & {
|
|
padding: .5em 0;
|
|
}
|
|
} |