diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-23 00:02:34 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-23 00:05:22 -0500 |
commit | b06c4252293fce3171cd8d9f43cf061f1fdedeb1 (patch) | |
tree | fdac9fb655f2a85e7fcde75ead5d1f0482500be8 /src | |
parent | 96f557180f7b61750e312b057d443a946c418fda (diff) |
clean up nav/body page layout
Diffstat (limited to 'src')
-rw-r--r-- | src/main.scss | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/main.scss b/src/main.scss index 9860aa0..be00d49 100644 --- a/src/main.scss +++ b/src/main.scss @@ -1,5 +1,9 @@ @import url(https://fonts.googleapis.com/css?family=Neucha|Patrick+Hand+SC); +* { + box-sizing: border-box; +} + body { margin: 0; padding: 0; @@ -34,8 +38,10 @@ body { header { width: 20%; - margin: 0 -50% 0 0; - float: left; + position: fixed; + height: 100%; + left: 0; + top: 0; display: flex; flex-direction: column; @@ -92,9 +98,11 @@ header { } article, footer { - width: 60%; - margin: 0 auto; + width: 80%; + margin-left: 20%; + font-family: 'Neucha', sans-serif; + padding: 1em; } article { @@ -123,7 +131,6 @@ article { } footer { - padding: 1em 0; font-size: 70%; p { margin: 0; |