📋 text highlighting follow colortheme

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2024-07-16 22:52:43 +02:00
parent f73f82241d
commit fcc1f92cd3
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
2 changed files with 12 additions and 3 deletions

View file

@ -10,5 +10,4 @@ List of changes and new features I plan for this website.
- Add page filled with wine/gin I like - Add page filled with wine/gin I like
- Add page dedicated to work I'm proud of - Add page dedicated to work I'm proud of
- Add an 88x31 button (One Piece themed) - Add an 88x31 button (One Piece themed)
- Change default text-highlight color to follow themes

View file

@ -236,6 +236,16 @@ blockquote {
border-left: 5px solid var(--light-1); border-left: 5px solid var(--light-1);
} }
::selection{
background-color: var(--dark-1);
color: var(--dark-bg);
}
.dark ::selection{
background-color: var(--light-1);
color: var(--light-bg);
}
/* PRINT */ /* PRINT */
@media print { @media print {
body { body {
@ -266,4 +276,4 @@ blockquote {
#jr { #jr {
display: none; display: none;
} }
} }