Welcome to little lamb

Code » qmdoc » commit 71e3952

Fix some issues left in dark.css

author Olivier Brunel
2022-12-31 20:29:09 UTC
committer Olivier Brunel
2022-12-31 20:29:09 UTC
parent af747688052dc66ececc34ac610ea509acf9d6b7

Fix some issues left in dark.css

dark.css +6 -6

diff --git a/dark.css b/dark.css
index 6b63f98..5e4b698 100644
--- a/dark.css
+++ b/dark.css
@@ -14,7 +14,7 @@
     header nav {
         background: #343131;
     }
-    header nav ul li:hover {
+    header nav ul li a:hover {
         background: #4e4a4a;
     }
     header nav ul li a {
@@ -60,31 +60,31 @@
         border: 1px solid #555;
         background-image: linear-gradient(#bbb 0%,#bbb 1%,#b2b2b2 1%,#a7a7a7 50%,#999 50%,#8b8b8b 99%,#bbb 99%,#bbb 100%);
     }
-    main div.box :first-child {
+    main div.box > :first-child {
         color: #eee;
     }
     main div.box.hint {
         background: #68bd7e;
     }
-    main div.box.hint :first-child {
+    main div.box.hint > :first-child {
         background: #13821b;
     }
     main div.box.info {
         background: #58b8ce;
     }
-    main div.box.info :first-child {
+    main div.box.info > :first-child {
         background: #086abf;
     }
     main div.box.warn {
         background: #bd7e4f;
     }
-    main div.box.warn :first-child {
+    main div.box.warn > :first-child {
         background: #973c3c;
     }
     main div.box.note {
         background: #c4c4c4;
     }
-    main div.box.note :first-child {
+    main div.box.note > :first-child {
         background: #575656;
     }
     main footer {