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)
------------------

28
sp.css
View File

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