From 372c86dabe554924802db3c23e7ce688c7a53c4f Mon Sep 17 00:00:00 2001 From: Saophalkun Ponlu Date: Sun, 5 Sep 2010 00:28:01 +0000 Subject: [PATCH] MINOR: Style heading anchor links git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@110437 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- themes/docs/css/DocumentationViewer.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/themes/docs/css/DocumentationViewer.css b/themes/docs/css/DocumentationViewer.css index 7096439..58394cd 100644 --- a/themes/docs/css/DocumentationViewer.css +++ b/themes/docs/css/DocumentationViewer.css @@ -35,6 +35,31 @@ pre { font-size: 11px; } +/* Headings */ +h1 .heading-anchor-link, +h2 .heading-anchor-link, +h3 .heading-anchor-link, +h4 .heading-anchor-link, +h5 .heading-anchor-link, +h6 .heading-anchor-link { + display: none; + color: #ddd; + text-decoration: none; +} + + h1.hover .heading-anchor-link, + h2.hover .heading-anchor-link, + h3.hover .heading-anchor-link, + h4.hover .heading-anchor-link, + h5.hover .heading-anchor-link, + h6.hover .heading-anchor-link { + display: inline; + } + + .heading-anchor-link:hover { + color: #aaa; + } + /* Forms */ fieldset { border: none; }