summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-11-23 19:21:25 +0100
committerBrian Picciano <mediocregopher@gmail.com>2022-11-23 19:21:25 +0100
commit03493f9d615ae9afcb716c4d3f63c5b382d67edf (patch)
tree85970de733d236ee2e9e62727be49d4a10ef4f9a
parent58086a3fda7498f877d3428f3bfe74190eff7673 (diff)
Fix font sizes for small devices
-rw-r--r--src/http/static/mediocre.css6
-rw-r--r--src/http/tpl/base.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/http/static/mediocre.css b/src/http/static/mediocre.css
index 27dd963..5f692df 100644
--- a/src/http/static/mediocre.css
+++ b/src/http/static/mediocre.css
@@ -58,12 +58,12 @@
html {
font-family: Georgia, serif;
- font-size: 1em;
+ font-size: 16px;
}
-@media (max-width: 800px) {
+@media (max-device-width: 800px) {
html {
- font-size: 1.3em;
+ font-size: 36px;
}
}
diff --git a/src/http/tpl/base.html b/src/http/tpl/base.html
index c818471..7889867 100644
--- a/src/http/tpl/base.html
+++ b/src/http/tpl/base.html
@@ -17,7 +17,7 @@
<a href="{{ BlogURL "/" }}"><strong>Mediocre Blog</strong></a>
by
<a href="https://mediocregopher.com">mediocregopher</a>
- &nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;
+ <br/>
<a href="{{ BlogURL "follow" }}">Follow</a>
&nbsp;/&nbsp;
<a href="{{ BlogURL "feed.xml" }}">RSS</a>