From 3edc35691b7e20548bfcbbefd42f4ec8991f89f7 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 13 Nov 2020 19:48:22 -0500 Subject: Display updates (#1024) * Update display generation to use new format assumptions * Simplify how debug information is presented --- ext/mixed/css/display.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'ext/mixed/css') diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css index 77f6b073..e8cf5b8e 100644 --- a/ext/mixed/css/display.css +++ b/ext/mixed/css/display.css @@ -138,6 +138,12 @@ h2 { border-bottom: 0.05714285714285714em solid var(--light-border-color); /* 14px * 1.25em => 1px */ } +a { + color: var(--popuplar-kanji-text-color); + text-decoration: underline; + cursor: pointer; +} + /* * Navigation @@ -524,14 +530,10 @@ button.action-button { content: ", "; } -.debug-info { +:root:not([data-debug=true]) .debug-info { display: none; } -:root[data-debug=true] .debug-info { - display: block; -} - :root[data-anki-enabled=false] .action-view-note, :root[data-anki-enabled=false] .action-add-note { display: none; -- cgit v1.2.3