diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-11-23 19:21:25 +0100 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-11-23 19:21:25 +0100 |
commit | 03493f9d615ae9afcb716c4d3f63c5b382d67edf (patch) | |
tree | 85970de733d236ee2e9e62727be49d4a10ef4f9a | |
parent | 58086a3fda7498f877d3428f3bfe74190eff7673 (diff) |
Fix font sizes for small devices
-rw-r--r-- | src/http/static/mediocre.css | 6 | ||||
-rw-r--r-- | src/http/tpl/base.html | 2 |
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> - // + <br/> <a href="{{ BlogURL "follow" }}">Follow</a> / <a href="{{ BlogURL "feed.xml" }}">RSS</a> |