From a56b6f866fe0a9e6aaf3ecaebf43bf3b2a00a88b Mon Sep 17 00:00:00 2001 From: Sorin Davidoi Date: Fri, 22 Nov 2019 17:19:18 +0100 Subject: [PATCH] fix(static/css/poole): Contrast issues Ensures that the contrast ratio is at least 4.5:1 (so that is complies with WCAG 2.0: https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html). --- static/css/poole.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/css/poole.css b/static/css/poole.css index 54516b8..ec6a32f 100644 --- a/static/css/poole.css +++ b/static/css/poole.css @@ -68,7 +68,7 @@ body { /* No `:visited` state is required by default (browsers will use `a`) */ a { - color: #268bd2; + color: #227bb9; text-decoration: none; } /* `:focus` is linked to `:hover` for basic accessibility */ @@ -153,7 +153,7 @@ pre { code { padding: .25em .5em; font-size: 85%; - color: #bf616a; + color: #b3555e; background-color: #f9f9f9; border-radius: 3px; } @@ -323,7 +323,7 @@ tbody tr:nth-child(odd) th { display: block; margin-top: -.5rem; margin-bottom: 1rem; - color: #9a9a9a; + color: #757575; } /* Related posts */ @@ -344,7 +344,7 @@ tbody tr:nth-child(odd) th { color: #999; } .related-posts li a:hover { - color: #268bd2; + color: #227bb9; text-decoration: none; } .related-posts li a:hover small {