summaryrefslogtreecommitdiff
path: root/sitestatic/archweb.css
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-26 14:44:52 -0500
committerDan McGee <dan@archlinux.org>2012-04-26 14:44:52 -0500
commitfbbcc8534a25d3e78ef3a319c8aeb127bc5085f0 (patch)
treebc8dfa8154a4b8853aa2c37f9ac2cf5fdeb52c55 /sitestatic/archweb.css
parentb5ce0079643a9d026bee4871ba618c65ee4c4d1b (diff)
Add hover header links to the developer profiles pagesrelease_2012-04-26
This is a lot like you can see in the Python API documentation, and makes it easy to copy a link to a given place on a page. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'sitestatic/archweb.css')
-rw-r--r--sitestatic/archweb.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css
index bc666d74..dcf0276a 100644
--- a/sitestatic/archweb.css
+++ b/sitestatic/archweb.css
@@ -122,6 +122,16 @@ a {
color: #e90;
}
+/* special anchor elements */
+a.headerlink {
+ visibility: hidden;
+ padding-left: 0.5em;
+}
+
+h3:hover > a.headerlink {
+ visibility: visible;
+}
+
/* headings */
h2 {
font-size: 1.5em;