summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2018-10-11 08:33:30 -0400
committerBen Burwell <ben@benburwell.com>2018-10-11 08:33:30 -0400
commit358862066ca37f091f9c9a9a3dd53b63b677f261 (patch)
treeb4952ee1c4425d3526713a196312ba96ded897ad
parent88369ad50928dfb4bea78c6e705c07023ebfd6c8 (diff)
Fix margin CSS
-rw-r--r--_layouts/master.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/_layouts/master.html b/_layouts/master.html
index 81005df..b2f4452 100644
--- a/_layouts/master.html
+++ b/_layouts/master.html
@@ -9,9 +9,14 @@
<style>
body {
max-width: 40rem;
- margin: 3rem auto;
+ margin: 1rem;
color: #242424;
}
+ @media (min-width: 40rem) {
+ body {
+ margin: 5rem auto;
+ }
+ }
h1, h2, h3, h4, h5, h6 {
font-family: sans-serif;
}