]> git.proxmox.com Git - proxmox-backup.git/commitdiff
docs: html: improve css for small displays
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 24 Sep 2020 17:56:27 +0000 (19:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 24 Sep 2020 18:03:17 +0000 (20:03 +0200)
fixed-width navi/toc links were not switched in color for small width
displays, and thus they were barely readable as the background
switches to dark for small widths.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
docs/custom.css

index d8827d11dbebbb8405010371b2f248b60ebc46c1..386ad72f2bf86414bef72ad1e8c254515a1583fb 100644 (file)
@@ -32,3 +32,11 @@ div.sphinxsidebar form.search {
 div.sphinxsidebar h3 {
     width: 100%;
 }
+@media screen and (max-width: 875px) {
+    div.sphinxsidebar span {
+        color: #AAA;
+    }
+    ul li.toctree-l1 > a {
+        color: #FFF;
+    }
+}