[tools] winetest/css: Fix the color of links on index page titles.

Francois Gouget fgouget at codeweavers.com
Tue Apr 20 09:46:33 CDT 2021


The color and decorations must be specified for the hover and visited
cases too.
Also add support for putting links in h2 titles.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
The TestBot uses a different color for its titles. But then they don't 
have links (except for the up/down arrows). Maybe this should be 
standardised...

 winetest/summary.css | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/winetest/summary.css b/winetest/summary.css
index 2bc9b4435..9793cdf5a 100644
--- a/winetest/summary.css
+++ b/winetest/summary.css
@@ -27,9 +27,10 @@ h1, h2 {
     padding: 4px;
     margin: 0;
 }
-h1 :link {
-    color: #ffe0e0;
-}
+h1 :link, h2 :link         { color: #ffe0e0; }
+h1 a:visited, h2 a:visited { color: #ffe0e0; }
+h1 a:hover, h2 a:hover     { color: #ffe0e0; text-decoration: underline; }
+
 div.main, div.group {
     margin: 10px 0 0 0;
     background-color: white;
-- 
2.20.1




More information about the wine-devel mailing list