mirror of
https://github.com/susam/spcss.git
synced 2025-09-03 10:53:27 +02:00
Use :hover/:active style for :focus too
This commit is contained in:
22
sp.css
22
sp.css
@@ -13,17 +13,18 @@ a:link, a:visited {
|
|||||||
color: #03c;
|
color: #03c;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a:hover, a:active {
|
a:hover, a:active, a:focus {
|
||||||
color: #03f;
|
color: #03f;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
body,
|
body,
|
||||||
h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, h3 a:link, h3 a:visited,
|
h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link,
|
||||||
h4 a:link, h4 a:visited, h5 a:link, h5 a:visited, h6 a:link, h6 a:visited {
|
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
h1 a:hover, h1 a:active, h2 a:hover, h2 a:active, h3 a:hover, h3 a:active,
|
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
|
||||||
h4 a:hover, h4 a:active, h5 a:hover, h5 a:active, h6 a:hover, h6 a:active {
|
h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active,
|
||||||
|
h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus {
|
||||||
color: #444;
|
color: #444;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
@@ -70,19 +71,18 @@ blockquote :last-child {
|
|||||||
}
|
}
|
||||||
a:link, a:visited {
|
a:link, a:visited {
|
||||||
color: #9bf;
|
color: #9bf;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
a:hover, a:active {
|
a:hover, a:active {
|
||||||
color: #acf;
|
color: #acf;
|
||||||
text-decoration: underline;
|
|
||||||
}
|
}
|
||||||
body,
|
body,
|
||||||
h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, h3 a:link, h3 a:visited,
|
h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link,
|
||||||
h4 a:link, h4 a:visited, h5 a:link, h5 a:visited, h6 a:link, h6 a:visited {
|
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
}
|
}
|
||||||
h1 a:hover, h1 a:active, h2 a:hover, h2 a:active, h3 a:hover, h3 a:active,
|
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
|
||||||
h4 a:hover, h4 a:active, h5 a:hover, h5 a:active, h6 a:hover, h6 a:active {
|
h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active,
|
||||||
|
h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
pre, code, samp, kbd {
|
pre, code, samp, kbd {
|
||||||
|
Reference in New Issue
Block a user