mirror of
https://github.com/susam/spcss.git
synced 2025-09-01 18:02:43 +02:00
Make link color scheme closer to browser defaults
This commit is contained in:
10
CHANGES.md
10
CHANGES.md
@@ -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
28
sp.css
@@ -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;
|
||||
|
Reference in New Issue
Block a user