From 0572553c60083d76f00ca464dbca2cc8ff85a731 Mon Sep 17 00:00:00 2001 From: p4bl0 Date: Tue, 27 Jul 2010 17:43:07 +0200 Subject: added styles for links in headers --- default-files/fugitive.css | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/default-files/fugitive.css b/default-files/fugitive.css index 0900aeb..b328c49 100644 --- a/default-files/fugitive.css +++ b/default-files/fugitive.css @@ -14,6 +14,12 @@ html, body { width: 51%; min-width: 480px; } +#container header a, #container h1 a, #container h2 a, +#container h3 a, #container h4 a { + color: #333; + text-decoration: none; +} +#container a:hover { color: #9c3; } nav { display: block; margin: 0; @@ -34,7 +40,7 @@ nav ul li a { color: #aaa; text-decoration: none; } -nav ul li a:hover { color: #888; } +#container nav ul li a:hover { color: #888; } header { display: block; margin: 1em 0; @@ -86,13 +92,12 @@ article > div { } article > div a { color: #08f; - text-decoration: none; + text-decoration: underline; } -article > div a:hover { text-decoration: underline; } +article > div a:hover { text-decoration: underline; } article > div a:visited { color: #048; } article > div h2 { margin: 1em 0 0.5em 0; - padding: 0; font-size: 1.4em; font-weight: normal; counter-increment: section; @@ -104,7 +109,6 @@ article > div h2:before { } article > div h3 { margin: 1em 0 0.5em 0; - padding: 0; font-size: 1.2em; font-weight: bold; counter-increment: subsection; @@ -113,6 +117,11 @@ article > div h3:before { display: inline; content: counter(section) "." counter(subsection) ". "; } +article > div h4 { + margin: 1em 0 0.5em 0; + font-size: 1.1em; + font-weight: bold; +} article > div p:first-child:first-letter { font-size: 1.5em; font-weight: bold; @@ -267,3 +276,4 @@ footer p a { color: #666; text-decoration: none; } +#container footer p a:hover { color: #333; } -- cgit v1.2.3