1
0
Fork 0
mirror of https://git.ludikovsky.name/git/fugitive.git synced 2024-05-18 14:35:32 +02:00

added styles for links in headers

This commit is contained in:
p4bl0 2010-07-27 17:43:07 +02:00
parent 4dd006c377
commit 0572553c60

View file

@ -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; }