From 2792a4d252abbd152a38998356ea9cc1412a09a3 Mon Sep 17 00:00:00 2001 From: Tomas Roun Date: Wed, 24 Jul 2024 16:19:59 +0200 Subject: [PATCH 1/2] Improve color contrast of text in code blocks --- static/sass/_base.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/sass/_base.scss b/static/sass/_base.scss index 6883956da..588aadbf2 100644 --- a/static/sass/_base.scss +++ b/static/sass/_base.scss @@ -85,7 +85,7 @@ $darkerblue: #1e2933; $link-color: $blue; $link-hover: $darkerblue; -$code-green: #11a611; +$code-green: #0c7d0c; $default-border-color: $grey-lighter; /* Set a generic border color here to keep them consistent */ From 275a49ca3b5b1420a747e5ca929759d2fb7502b1 Mon Sep 17 00:00:00 2001 From: Tomas Roun Date: Wed, 24 Jul 2024 16:21:08 +0200 Subject: [PATCH 2/2] Improve color contrast of links inside tables --- static/sass/style.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/sass/style.scss b/static/sass/style.scss index 4fd9a3efd..3e8ce28d6 100644 --- a/static/sass/style.scss +++ b/static/sass/style.scss @@ -66,6 +66,12 @@ a, a:active, a:visited, a:hover, a:visited:hover { text-decoration: none; } +table tr td { + a, a:active, a:visited, a:hover, a:visited:hover { + color: darken($link-color, 2%); + } +} + a:hover, a:focus { color: $link-hover; } /*modernizr*/ .touch a[href^="tel:"] { border-bottom: 1px dotted $default-color; }