summaryrefslogtreecommitdiff
path: root/css/style.css
diff options
context:
space:
mode:
authorj-james2021-02-17 23:26:10 +0000
committerj-james2021-02-17 23:26:10 +0000
commit1f45635f59c614ad835e6917ef6047339d9dad05 (patch)
tree47a4eb07043016ee12ddb98e61643403d2994fe7 /css/style.css
parent3f547f23fe0dd1a629cfd38cb1e10a18ef664963 (diff)
Don't cut off content on small screens
Diffstat (limited to 'css/style.css')
-rw-r--r--css/style.css12
1 files changed, 3 insertions, 9 deletions
diff --git a/css/style.css b/css/style.css
index 5108bc5..290d385 100644
--- a/css/style.css
+++ b/css/style.css
@@ -3,9 +3,9 @@ body {
font-size: 20px;
background-color: #FFF;
color: #333;
- display: flex;
- flex-direction: column;
- align-items: center;
+ width: 40em;
+ margin: 0 auto;
+ padding: 0 1em;
}
a {
@@ -26,7 +26,6 @@ h1 {
}
header {
- width: 40em;
padding: 1em 0 3em 0;
display: flex;
flex-direction: row;
@@ -60,10 +59,6 @@ nav a:hover {
font-size: 1.15em;
}
-main {
- width: 40em;
-}
-
#intro {
display: flex;
flex-direction: row;
@@ -87,7 +82,6 @@ main {
}
footer {
- width: 40em;
text-align: right;
}