summaryrefslogtreecommitdiff
path: root/themes/markskitchen/static
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2022-10-09 14:15:10 -0500
committerMark Powers <mark@marks.kitchen>2022-10-09 14:15:10 -0500
commitc389bfda23e516d246d5772f05d755832fcf8464 (patch)
treed9a84beb51799015cacc22f59f13253aa4b6796a /themes/markskitchen/static
parent648a67b056df898bfdd10033ce782aa121910a7c (diff)
Fix scaling on mobile
Diffstat (limited to 'themes/markskitchen/static')
-rw-r--r--themes/markskitchen/static/css/common.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/markskitchen/static/css/common.css b/themes/markskitchen/static/css/common.css
index b52a0d7..0a248e5 100644
--- a/themes/markskitchen/static/css/common.css
+++ b/themes/markskitchen/static/css/common.css
@@ -1,3 +1,11 @@
+html {
+ max-width: 70ch;
+ padding: 3em 1em;
+ margin: auto;
+ line-height: 1.75;
+ font-size: 1.25em;
+}
+
#main > .post + .post {
margin-top: 2rem;
}
@@ -97,6 +105,12 @@ body {
}
}
+@media screen and (max-width: 512px) {
+ .item-date {
+ display: none;
+ }
+}
+
#header > nav {
display: flex;
flex-direction: row;
@@ -104,6 +118,7 @@ body {
flex-wrap: wrap;
max-width: 768px;
width: 100%;
+ margin: 1rem;
}
#header > nav > span > a {
@@ -258,11 +273,16 @@ footer {
dl > dt {
font-weight: bold;
}
+
dd {
padding-left: 2em;
padding-bottom: 1em;
}
+li {
+ margin-bottom: 0.5rem;
+}
+
.email::after {
content: "@marks.kitchen";
}