1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 12:52:10 +00:00

Add CSS for <mark> elements.

Will be using them in a future post.
This commit is contained in:
Rohan Kumar 2022-06-28 08:52:07 -07:00
parent b7e11852b6
commit 05dbdb7748
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,11 @@
color: #e6e6e6;
}
mark {
color: #000;
background-color: #eee7b2;
}
/* Only color <a> if it's a link; if href is empty, let it be. */
a:link {
color: #eee7b2;

View file

@ -324,6 +324,7 @@ pre {
* This is Technique C25 of SC 1.4.8 */
input,
img,
mark, /* borders provide a distinguishing factor besides color */
pre,
summary {
border: 1px solid;