mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-19 01:23:10 +00:00
improve layout
This commit is contained in:
@ -5,6 +5,11 @@ body {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 3em;
|
||||
margin: .5em auto;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2em;
|
||||
margin: 1em auto;
|
||||
|
@ -2,18 +2,22 @@
|
||||
background: $brand-color;
|
||||
box-sizing: border-box;
|
||||
min-height: 50vh;
|
||||
padding: 8em 2em;
|
||||
padding: 2em;
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
@media screen and (min-width: $on-laptop) {
|
||||
padding: 6em 2em;
|
||||
}
|
||||
}
|
||||
|
||||
.site-masthead h1 {
|
||||
font-size: 3em;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
@media (min-width: $on-tablet) {
|
||||
font-size: 6em;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
.site-navigation {
|
||||
margin-top: 4rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.site-navigation ul {
|
||||
|
@ -29,6 +29,11 @@
|
||||
@media (min-width: $on-tablet) {
|
||||
padding: .25em 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1em;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.post-link__title + .post-link__excerpt {
|
||||
@ -41,9 +46,11 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
* > {
|
||||
text-align: center;
|
||||
> * {
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
padding: 1em 0;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
|
Reference in New Issue
Block a user