mirror of
https://git.ludikovsky.name/git/fugitive.git
synced 2024-09-28 22:25:27 +02:00
added styles for links in headers
This commit is contained in:
parent
4dd006c377
commit
0572553c60
|
@ -14,6 +14,12 @@ html, body {
|
||||||
width: 51%;
|
width: 51%;
|
||||||
min-width: 480px;
|
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 {
|
nav {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -34,7 +40,7 @@ nav ul li a {
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
nav ul li a:hover { color: #888; }
|
#container nav ul li a:hover { color: #888; }
|
||||||
header {
|
header {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
|
@ -86,13 +92,12 @@ article > div {
|
||||||
}
|
}
|
||||||
article > div a {
|
article > div a {
|
||||||
color: #08f;
|
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 a:visited { color: #048; }
|
||||||
article > div h2 {
|
article > div h2 {
|
||||||
margin: 1em 0 0.5em 0;
|
margin: 1em 0 0.5em 0;
|
||||||
padding: 0;
|
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
counter-increment: section;
|
counter-increment: section;
|
||||||
|
@ -104,7 +109,6 @@ article > div h2:before {
|
||||||
}
|
}
|
||||||
article > div h3 {
|
article > div h3 {
|
||||||
margin: 1em 0 0.5em 0;
|
margin: 1em 0 0.5em 0;
|
||||||
padding: 0;
|
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
counter-increment: subsection;
|
counter-increment: subsection;
|
||||||
|
@ -113,6 +117,11 @@ article > div h3:before {
|
||||||
display: inline;
|
display: inline;
|
||||||
content: counter(section) "." counter(subsection) ". ";
|
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 {
|
article > div p:first-child:first-letter {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -267,3 +276,4 @@ footer p a {
|
||||||
color: #666;
|
color: #666;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
#container footer p a:hover { color: #333; }
|
||||||
|
|
Loading…
Reference in a new issue