diff options
author | Wesley Moore <wes@wezm.net> | 2020-01-03 21:12:36 +1100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-01-03 20:33:06 +0000 |
commit | 99a2c57dff4dc39465d1a2b507273e8741297a68 (patch) | |
tree | 42cc4edf48b19bcbe049b011886692e12b30dc12 | |
parent | 45ff798de2b35ad55b01c9a56783a6cf8010a9af (diff) |
Improve layout on small displays
-rw-r--r-- | crumbs/static/css/crumbs.css | 11 | ||||
-rw-r--r-- | crumbs/templates/article.html | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/crumbs/static/css/crumbs.css b/crumbs/static/css/crumbs.css index 9322926..a544ed8 100644 --- a/crumbs/static/css/crumbs.css +++ b/crumbs/static/css/crumbs.css @@ -167,3 +167,14 @@ body { .colour13 { background-color: #6997c8; } .colour14 { background-color: #ca98c9; } .colour15 { background-color: #ce7b59; } + +@media (max-width: 480px) { + .nav.gay { + display: initial; + } + + .content .no-side-padding-mobile { + padding-left: 0; + padding-right: 0; + } +} diff --git a/crumbs/templates/article.html b/crumbs/templates/article.html index 07bb368..c3b2596 100644 --- a/crumbs/templates/article.html +++ b/crumbs/templates/article.html @@ -36,7 +36,7 @@ <div class="content"> <h1>{{ article.title }}</h1> - <div class="header"> + <div class="header no-side-padding-mobile"> <hr/> <a href="{{ SITEURL }}/{{ article.category|lower }}"> ⇠ back</a> {% if article.tags|length > 0 %} @@ -50,7 +50,7 @@ </div> - <div class="article"> + <div class="article no-side-padding-mobile"> {{ article.content }} </div> |