mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Add CSS for <mark> elements.
Will be using them in a future post.
This commit is contained in:
parent
b7e11852b6
commit
05dbdb7748
2 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,11 @@
|
||||||
color: #e6e6e6;
|
color: #e6e6e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mark {
|
||||||
|
color: #000;
|
||||||
|
background-color: #eee7b2;
|
||||||
|
}
|
||||||
|
|
||||||
/* Only color <a> if it's a link; if href is empty, let it be. */
|
/* Only color <a> if it's a link; if href is empty, let it be. */
|
||||||
a:link {
|
a:link {
|
||||||
color: #eee7b2;
|
color: #eee7b2;
|
||||||
|
|
|
@ -324,6 +324,7 @@ pre {
|
||||||
* This is Technique C25 of SC 1.4.8 */
|
* This is Technique C25 of SC 1.4.8 */
|
||||||
input,
|
input,
|
||||||
img,
|
img,
|
||||||
|
mark, /* borders provide a distinguishing factor besides color */
|
||||||
pre,
|
pre,
|
||||||
summary {
|
summary {
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
|
|
Loading…
Reference in a new issue