mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-02-07 12:19:26 +00:00
Remove selection styles
This commit is contained in:
parent
a2877b6d2b
commit
635c0c0e18
@ -9,12 +9,6 @@
|
|||||||
100% { background: unset; }
|
100% { background: unset; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
::selection {
|
|
||||||
background: var(--foreground);
|
|
||||||
color: var(--background);
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: var(--content-width);
|
max-width: var(--content-width);
|
||||||
@ -51,10 +45,6 @@ a {
|
|||||||
color: var(--base0B);
|
color: var(--base0B);
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::selection {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dd, li, p, td {
|
dd, li, p, td {
|
||||||
@ -99,22 +89,9 @@ pre {
|
|||||||
overflow: auto;
|
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 {
|
mark {
|
||||||
background: var(--foreground);
|
background: var(--foreground);
|
||||||
color: var(--background);
|
color: var(--background);
|
||||||
|
|
||||||
&::selection {
|
|
||||||
color: var(--base05);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
Loading…
Reference in New Issue
Block a user