mirror of
https://github.com/susam/spcss.git
synced 2025-09-02 18:32:45 +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)
|
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;
|
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;
|
||||||
|
Reference in New Issue
Block a user