Better part of speech display

This commit is contained in:
Elnu 2023-07-24 13:25:23 -07:00
parent 8421aca007
commit 33ecd1a539
4 changed files with 86 additions and 14 deletions

55
dict/static/overrides.css Normal file
View file

@ -0,0 +1,55 @@
:root {
--bg: #282828 !important;
--fg: #ebdbb2 !important;
--box-bg: #3c3836 !important; /* bg1 */
--graphical-fg: #928374 !important; /* gray */
--info-graphical-fg: red !important;
}
chip {
white-space: nowrap;
}
.noun {
--box-bg: #79740e;
--accent: #b8bb26;
--graphical-fg: #98971a;
}
.adjective {
--box-bg: #9d0006;
--accent: #fb4934;
--graphical-fg: #cc241d;
}
.verb, .adverb {
--box-bg: #076678;
--accent: #83a598;
--graphical-fg: #458588;
}
.particle {
--box-bg: #b57614;
--accent: #fabd2f;
--graphical-fg: #d79921;
}
.phrase {
--box-bg: #8f3f71;
--accent: #d3869b;
--graphical-fg: #b16286;
}
li {
margin-top: 0.75em;
}
#results .box h3 a {
color: inherit;
}
#results .box h3 a:not(:hover) {
text-decoration: none;
}