Add style sheets information for heading self links.
authorDirk Schulze <dschulze@adobe.com>
Thu, 22 May 2014 13:01:09 +0200
changeset 671 4aede694086b
parent 670 59a713c832ca
child 672 ca515e8b6287
Add style sheets information for heading self links.
master/style/default_svg.css
--- a/master/style/default_svg.css	Tue Apr 29 06:12:45 2014 +0100
+++ b/master/style/default_svg.css	Thu May 22 13:01:09 2014 +0200
@@ -456,3 +456,26 @@
 }
 
 .definitions > dt > dfn { font-style: normal; }
+
+/* .self-link is a link to the element */
+.heading, li, dt { position: relative; }
+a.self-link {
+  position: absolute;
+  top: 0;
+  left: -2.5em;
+  width: 2em;
+  height: 2em;
+  text-align: center;
+  border: none;
+  transition: opacity .2s;
+  opacity: .5;
+  text-decoration: none;
+}
+a.self-link:hover {
+  opacity: 1;
+}
+.heading > a.self-link {
+  font-size: 83%;
+}
+
+.heading > a.self-link::before { content: "ยง"; }
\ No newline at end of file