From 2a27850914c8a1694b64df530f2bd974278a1e7e Mon Sep 17 00:00:00 2001 From: robrobinbin <8597693+robrobinbin@users.noreply.github.com> Date: Sun, 31 Jan 2021 19:41:32 +0100 Subject: [PATCH 1/8] Minor style tweak on small screens, subscriptions are put below the logo, which looks a bit strange and makes it somehow harder to hit --- static/style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 12d74c1..6e725bd 100644 --- a/static/style.css +++ b/static/style.css @@ -94,7 +94,12 @@ nav { nav * { color: var(--text); } nav #reddit, #code { color: var(--accent); } -nav #logo { grid-area: logo; } + +nav #logo { + grid-area: logo; + white-space: nowrap; + margin-right: 5px; +} nav #links { grid-area: links; From c32d62fbd5661ce7c5ba206c71f7223215741d1c Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Sun, 31 Jan 2021 13:22:11 -0800 Subject: [PATCH 2/8] Shrink links to icons on mobile --- static/style.css | 14 +++++++++++++- templates/base.html | 10 ++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index 6e725bd..60d7323 100644 --- a/static/style.css +++ b/static/style.css @@ -93,7 +93,8 @@ nav { } nav * { color: var(--text); } -nav #reddit, #code { color: var(--accent); } +nav #reddit, #code > span { color: var(--accent); } +nav #code > svg { stroke: var(--accent); } nav #logo { grid-area: logo; @@ -104,6 +105,11 @@ nav #logo { nav #links { grid-area: links; margin-left: 10px; + display: flex; +} + +nav #links svg { + display: none; } nav #version { @@ -120,6 +126,10 @@ nav #libreddit { opacity: 0.8; } +#code { + margin-left: 5px; +} + main { display: flex; justify-content: center; @@ -1075,6 +1085,8 @@ td, th { } nav #links { margin-left: auto; } + nav #links span { display: none; } + nav #links svg { display: block; } #subscriptions { position: unset; } diff --git a/templates/base.html b/templates/base.html index 7b3ddee..742f5c9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -25,8 +25,14 @@ {% block search %}{% endblock %} From 9a1733ac992a900f35e0f2ec0d22badfc214fee8 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Sun, 31 Jan 2021 13:49:55 -0800 Subject: [PATCH 3/8] Fix cog class --- templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 742f5c9..f644a8c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -27,7 +27,7 @@