From deb2a742edf2ddc741d71fa8a95471cbd4663a4a Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 28 Jun 2021 22:19:55 -0400 Subject: Update dictionary image link color (#1778) --- ext/css/structured-content.css | 5 ++++- ext/data/structured-content-style.json | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'ext') diff --git a/ext/css/structured-content.css b/ext/css/structured-content.css index 37cfde86..c799e865 100644 --- a/ext/css/structured-content.css +++ b/ext/css/structured-content.css @@ -32,12 +32,15 @@ } .gloss-image-link { cursor: inherit; - color: inherit; + color: var(--accent-color); display: inline-block; position: relative; line-height: 1; max-width: 100%; } +.gloss-image-link:hover { + color: var(--accent-color-dark); +} .gloss-image-link[href]:hover { cursor: pointer; } diff --git a/ext/data/structured-content-style.json b/ext/data/structured-content-style.json index cae7ff9f..ae216abd 100644 --- a/ext/data/structured-content-style.json +++ b/ext/data/structured-content-style.json @@ -17,11 +17,11 @@ "selectors": [".gloss-image-link"], "styles": [ ["cursor", "inherit"], - ["color", "inherit"], ["display", "inline-block"], ["position", "relative"], ["line-height", "1"], - ["max-width", "100%"] + ["max-width", "100%"], + ["color", "inherit"] ] }, { -- cgit v1.2.3