aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/css/display.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-13 19:48:22 -0500
committerGitHub <noreply@github.com>2020-11-13 19:48:22 -0500
commit3edc35691b7e20548bfcbbefd42f4ec8991f89f7 (patch)
tree2df3849bd30bad7dda4bf7ed1acb144b521cf1e9 /ext/mixed/css/display.css
parent3dd05eb400400407e254aaaa2d063833167591af (diff)
Display updates (#1024)
* Update display generation to use new format assumptions * Simplify how debug information is presented
Diffstat (limited to 'ext/mixed/css/display.css')
-rw-r--r--ext/mixed/css/display.css12
1 files changed, 7 insertions, 5 deletions
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;