diff --git a/static/style/common.css b/static/style/common.css index 3a2b31d..91eac00 100644 --- a/static/style/common.css +++ b/static/style/common.css @@ -13,6 +13,34 @@ main { height: 1.8em; } +/* Mobile optimizations */ +@media only screen and (max-width: 600px) { + .brand-logo { + font-size: 1.2rem; + left: 0.5rem; + } + + .brand-logo img { + height: 1.4em; + } + + nav .right { + font-size: 0.9rem; + } + + nav .right a { + padding: 0 0.5rem; + } + + .container { + width: 95%; + } + + .page-footer .container { + font-size: 0.9rem; + } +} + .page-footer { padding-bottom: 1em; } diff --git a/templates/base.html b/templates/base.html index b222fa4..e2a2298 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,13 +22,14 @@