diff options
author | Oto Šťáva <oto.stava@nic.cz> | 2024-03-20 15:12:56 +0100 |
---|---|---|
committer | Oto Šťáva <oto.stava@nic.cz> | 2024-03-22 11:10:54 +0100 |
commit | d6858533f422e2a5e7b40abe156ca86f0f39a310 (patch) | |
tree | cd42780e7db4645ab3e1bd98ff2c9e945fbb340a /doc/_static/css/user.css | |
parent | doc/user: add missing sphinxcontrib.jquery (diff) | |
download | knot-resolver-d6858533f422e2a5e7b40abe156ca86f0f39a310.tar.xz knot-resolver-d6858533f422e2a5e7b40abe156ca86f0f39a310.zip |
doc/_static/css: fix anchor colors
The global styling made some anchors misbehave. Since we only want to
recolor the anchors in the content part of the docs, let's properly
target the CSS rules.
Diffstat (limited to '')
-rw-r--r-- | doc/_static/css/user.css | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/doc/_static/css/user.css b/doc/_static/css/user.css index 6b3b9c97..06972b36 100644 --- a/doc/_static/css/user.css +++ b/doc/_static/css/user.css @@ -13,26 +13,19 @@ background-color: #00a2e2; } -a { +.wy-nav-content-wrap a { color: #00619c; } -a:hover { +.wy-nav-content-wrap a:hover { color: #00a2e2; } -a:visited { +.wy-nav-content-wrap a:visited { color: #00619c; } -a:visited:hover { +.wy-nav-content-wrap a:visited:hover { color: #00a2e2; } .wy-menu-vertical p.caption { color: #00a2e2; } - -.wy-menu-vertical a, .wy-menu-vertical a:hover, .wy-menu-vertical a:visited, -.wy-menu-vertical a:visited:hover { - /* This is here so that the a-rules above do not override the menu colors, - * which should remain grey */ - color: #d9d9d9; -} |