]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow up to r1828588.
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 12 Jan 2019 13:38:03 +0000 (13:38 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 12 Jan 2019 13:38:03 +0000 (13:38 +0000)
Update css to have permalink more in line with httpd.a.o:
   - default to white (blue on dark-blue is not really visible)
   - visible only when the mouse is over the corresponding heading

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

docs/manual/style/css/manual.css

index b3b024d46fc2c3cd8b726435681027a997d3a791..4b267515792e14dd87327cb1aa1072bab8ab14f2 100644 (file)
@@ -1032,6 +1032,24 @@ p.figure dfn {
     font-weight: bold;
 }
 
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * Permalink are used in <h2> tags only.
+ * They are hidden by default, and become visible only when the mouse
+ * is over the corresponding element.
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+.permalink {
+    visibility: hidden;
+}
+.permalink:link {
+   color: white;
+}
+.permalink:visited {
+   color: white;
+}
+h2:hover > .permalink {
+    visibility: visible;
+}
+
 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * -> The End <-
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */