Skip to content

Commit 441ecfa

Browse files
author
Andre Malo
committed
fix "hover" behaviour on non-white backgrounds
for all link types. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96766 13f79535-47bb-0310-9956-ffa450edef68
1 parent a43a635 commit 441ecfa

1 file changed

Lines changed: 34 additions & 2 deletions

File tree

docs/manual/style/css/manual.css

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,17 @@ a:active {
5656
background-color: #f0f0f0;
5757
}
5858

59-
/* sidebar */
59+
/* hover on non-white backgrounds */
60+
div.note a:hover,
61+
div.note a:active,
62+
div.example a:hover,
63+
div.example a:active,
64+
div.warning a:hover,
65+
div.warning a:active,
6066
div#quickview a:hover,
6167
div#quickview a:active {
6268
background-color: #fff;
63-
color: #0073c7; /* prevent validator warning */
69+
color: #0073c7;
6470
}
6571

6672
/* code.module [links] */
@@ -82,6 +88,19 @@ code.module a:active {
8288
background-color: #f0f0f0;
8389
}
8490

91+
/* hover on non-white backgrounds */
92+
div.note code.module a:hover,
93+
div.note code.module a:active,
94+
div.example code.module a:hover,
95+
div.example code.module a:active,
96+
div.warning code.module a:hover,
97+
div.warning code.module a:active,
98+
div#quickview code.module a:hover,
99+
div#quickview code.module a:active {
100+
background-color: #fff;
101+
color: #8b4513;
102+
}
103+
85104
/* code.directive [links] */
86105
/* ====================== */
87106
code.directive,
@@ -101,6 +120,19 @@ code.directive a:active {
101120
background-color: #f0f0f0;
102121
}
103122

123+
/* hover on non-white backgrounds */
124+
div.note code.directive a:hover,
125+
div.note code.directive a:active,
126+
div.example code.directive a:hover,
127+
div.example code.directive a:active,
128+
div.warning code.directive a:hover,
129+
div.warning code.directive a:active,
130+
div#quickview code.directive a:hover,
131+
div#quickview code.directive a:active {
132+
background-color: #fff;
133+
color: #287f00;
134+
}
135+
104136
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105137
* Headings
106138
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

0 commit comments

Comments
 (0)