1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-15 22:25:33 -04:00

constrain header width and reduce padding across the site

This commit is contained in:
2020-04-04 10:18:20 -04:00
parent 1c2337afb8
commit 55a696c261
8 changed files with 25 additions and 24 deletions

View File

@@ -5,7 +5,7 @@ footer {
width: 100%;
letter-spacing: -0.01em;
line-height: 1.7;
padding: 1.25em 2em;
padding: 1.25em 1.75em;
box-sizing: border-box;
color: $color-medium;
border-top: 1px solid $color-light;
@@ -16,7 +16,7 @@ footer {
div#row {
width: 100%;
max-width: 980px;
max-width: 978px;
margin: 0 auto;
display: flex;
justify-content: space-between;

View File

@@ -7,7 +7,9 @@ header {
nav {
width: 100%;
max-width: 1032px;
padding: 0.25em 1.75em;
margin: 0 auto;
box-sizing: border-box;
display: flex;
align-items: center;
@@ -53,6 +55,7 @@ header {
list-style: none;
display: flex;
align-items: center;
padding: 0;
font-size: 1.2em;
line-height: 1;
@@ -81,6 +84,10 @@ header {
margin-left: 0.5em;
}
}
&:first-child {
margin-left: 0;
}
}
}
}