]> granicus.if.org Git - apache/commitdiff
fix "hover" behaviour on non-white backgrounds
authorAndre Malo <nd@apache.org>
Wed, 11 Sep 2002 13:30:34 +0000 (13:30 +0000)
committerAndre Malo <nd@apache.org>
Wed, 11 Sep 2002 13:30:34 +0000 (13:30 +0000)
for all link types.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96766 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/css/manual.css

index 24ae2271158ad577144e8c261ebefd3f974dffeb..0e101e6a40e2af9600f20ae8de76511156154b1f 100644 (file)
@@ -56,11 +56,17 @@ a:active {
     background-color: #f0f0f0;
 }
 
-/* sidebar */
+/* hover on non-white backgrounds */
+div.note a:hover,
+div.note a:active,
+div.example a:hover,
+div.example a:active,
+div.warning a:hover,
+div.warning a:active,
 div#quickview a:hover,
 div#quickview a:active {
     background-color: #fff;
-    color: #0073c7; /* prevent validator warning */
+    color: #0073c7;
 }
 
 /* code.module [links]    */
@@ -82,6 +88,19 @@ code.module a:active {
     background-color: #f0f0f0;
 }
 
+/* hover on non-white backgrounds */
+div.note code.module a:hover,
+div.note code.module a:active,
+div.example code.module a:hover,
+div.example code.module a:active,
+div.warning code.module a:hover,
+div.warning code.module a:active,
+div#quickview code.module a:hover,
+div#quickview code.module a:active {
+    background-color: #fff;
+    color: #8b4513;
+}
+
 /* code.directive [links] */
 /* ====================== */
 code.directive,
@@ -101,6 +120,19 @@ code.directive a:active {
     background-color: #f0f0f0;
 }
 
+/* hover on non-white backgrounds */
+div.note code.directive a:hover,
+div.note code.directive a:active,
+div.example code.directive a:hover,
+div.example code.directive a:active,
+div.warning code.directive a:hover,
+div.warning code.directive a:active,
+div#quickview code.directive a:hover,
+div#quickview code.directive a:active {
+    background-color: #fff;
+    color: #287f00;
+}
+
 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Headings
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */