Skip to content

Commit

Permalink
Add yellow property for marked text
Browse files Browse the repository at this point in the history
  • Loading branch information
zichy committed Jan 26, 2025
1 parent ea6c7c0 commit 91b87bd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion fieber.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

--c-gray: #666;
--c-red: #b30;
--c-yellow: #fe9;

--i-triangle: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"%3E%3Cpolygon fill="black" points="5 10 10 0 0 0"/%3E%3C/svg%3E');

Expand All @@ -33,6 +34,7 @@
:root {
--c-gray: #999;
--c-red: #f99;
--c-yellow: #ff9;

--i-triangle: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"%3E%3Cpolygon fill="white" points="5 10 10 0 0 0"/%3E%3C/svg%3E');
}
Expand Down Expand Up @@ -244,7 +246,7 @@ iframe {
}

:where(h2, h3, h4, h5, h6):target {
background-color: Mark;
background-color: var(--c-yellow);
color: MarkText;
}

Expand Down Expand Up @@ -308,6 +310,12 @@ small {
font-size: var(--f-size-small);
}

/* Mark */

mark {
background-color: var(--c-yellow);
}

/* Abbreviation */

abbr[title] {
Expand Down

0 comments on commit 91b87bd

Please sign in to comment.