Make link color scheme closer to browser defaults

This commit is contained in:
Susam Pal
2021-04-20 15:48:13 +05:30
parent 01ec5d8132
commit 3dfad23d76
2 changed files with 29 additions and 9 deletions

View File

@@ -1,3 +1,13 @@
0.7.0 (UNRELEASED)
------------------
### Changed
- Retain underlines for links.
- Color visited links purple.
- Color active links red.
0.6.0 (2021-01-06) 0.6.0 (2021-01-06)
------------------ ------------------

28
sp.css
View File

@@ -10,13 +10,17 @@ h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.5em 0; margin: 1em 0 0.5em 0;
line-height: 1.2; line-height: 1.2;
} }
a:link, a:visited { a:link {
color: #03c; color: #00e;
text-decoration: none;
} }
a:hover, a:active, a:focus { a:visited {
color: #06f; color: #518;
text-decoration: underline; }
a:focus, a:hover {
color: #03f;
}
a:active {
color: #e00;
} }
h1 a:empty:before, h2 a:empty:before, h3 a:empty:before, h1 a:empty:before, h2 a:empty:before, h3 a:empty:before,
h4 a:empty:before, h5 a:empty:before, h6 a:empty:before { h4 a:empty:before, h5 a:empty:before, h6 a:empty:before {
@@ -77,11 +81,17 @@ th, td {
color: #bbb; color: #bbb;
background: #222; background: #222;
} }
a:link, a:visited { a:link {
color: #9bf; color: #9bf;
} }
a:hover, a:active { a:visited {
color: #acf; color: #caf;
}
a:focus, a:hover {
color: #9cf;
}
a:active {
color: #faa;
} }
pre, code, samp, kbd { pre, code, samp, kbd {
color: #6cf; color: #6cf;