Remove selection styles

This commit is contained in:
Gabriel Arazas 2023-02-27 13:03:57 +08:00
parent a2877b6d2b
commit 635c0c0e18

View File

@ -9,12 +9,6 @@
100% { background: unset; }
}
::selection {
background: var(--foreground);
color: var(--background);
}
body {
margin: 0 auto;
max-width: var(--content-width);
@ -51,10 +45,6 @@ a {
color: var(--base0B);
text-decoration: underline;
}
&::selection {
text-decoration: underline;
}
}
dd, li, p, td {
@ -99,22 +89,9 @@ pre {
overflow: auto;
}
code[class*=language-]::selection,
code[class*=language-] ::selection,
pre[class*=language-]::selection,
pre[class*=language-] ::selection {
background: var(--base02);
font-size: var(--mono-font-size);
color: unset;
}
mark {
background: var(--foreground);
color: var(--background);
&::selection {
color: var(--base05);
}
}
hr {