From 8e93ff9f51a4c4562ceaeb3cbdda3978662dbae1 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 26 Jan 2024 09:37:05 +1300 Subject: [PATCH] better links --- app/community/util.py | 2 +- app/static/styles.css | 12 ++++++++++++ app/static/styles.scss | 15 +++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/app/community/util.py b/app/community/util.py index 18ae7f48..5a927381 100644 --- a/app/community/util.py +++ b/app/community/util.py @@ -239,7 +239,7 @@ def save_post(form, post: Post): if file_ext.lower() == '.heic': register_heif_opener() - #Image.MAX_IMAGE_PIXELS = 89478485 + Image.MAX_IMAGE_PIXELS = 89478485 # resize if necessary img = Image.open(final_place) diff --git a/app/static/styles.css b/app/static/styles.css index c1ccdcf5..4bf04547 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -401,6 +401,18 @@ body { font-size: 0.95rem; } +a { + text-decoration: none; + border: solid 2px transparent; +} + +#outer_container a:not(.btn):hover, footer a:not(.btn):hover { + text-decoration: underline; +} +#outer_container a:not(.btn):active, footer a:not(.btn):active { + border: dotted 2px #0A5CA0; +} + div.navbar { border-bottom: 1px solid rgba(0, 40, 100, 0.12); min-height: 60px; diff --git a/app/static/styles.scss b/app/static/styles.scss index ae9f1471..423bedf1 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -8,6 +8,21 @@ body { font-size: 0.95rem; } +a { + text-decoration: none; + border: solid 2px transparent; +} + +#outer_container, footer { + a:not(.btn):hover { + text-decoration: underline; + } + + a:not(.btn):active { + border: dotted 2px #0A5CA0; + } +} + div.navbar { border-bottom: 1px solid rgba(0, 40, 100, 0.12); min-height: 60px;