summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.scss17
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;