0
0

Added selection colours

This commit is contained in:
Opnxng 2024-10-28 11:44:36 +08:00
parent 5f8181b374
commit 9be8b26111

View File

@ -1,22 +1,19 @@
/*----------------------------------------------------------------------------------------------------*/
@font-face {
font-family: "eb_garamond_initials";
src:
url("/css/fonts/ebgaramond-initials-webfont.woff2") format("woff2"),
src: url("/css/fonts/ebgaramond-initials-webfont.woff2") format("woff2"),
url("/css/fonts/ebgaramond-initials-webfont.woff") format("woff");
unicode-range: U+0020-FB02;
}
@font-face {
font-family: "HeldaneText-Regular";
src:
url("/css/fonts/HeldaneText-Regular.woff2") format("woff2"),
src: url("/css/fonts/HeldaneText-Regular.woff2") format("woff2"),
url("/css/fonts/HeldaneText-Regular.woff") format("woff");
unicode-range: U+0020-FB02;
}
@font-face {
font-family: "HeldaneText-RegularItalic";
src:
url("/css/fonts/HeldaneText-RegularItalic.woff2") format("woff2"),
src: url("/css/fonts/HeldaneText-RegularItalic.woff2") format("woff2"),
url("/css/fonts/HeldaneText-RegularItalic.woff") format("woff");
unicode-range: U+0020-FB02;
}
@ -28,6 +25,7 @@
--secondary-background-color: #fafafa;
--primary-color: #20599e;
--secondary-color: #20599e;
--tertiary-color: #E6E6E6;
--line: calc(var(--font-size) * var(--line-height));
}
@media (prefers-color-scheme: dark) {
@ -37,6 +35,7 @@
--secondary-background-color: #0e0e0f;
--primary-color: #1860a3;
--secondary-color: #1860a3;
--tertiary-color: #292929;
}
}
/*----------------------------------------------------------------------------------------------------*/
@ -86,6 +85,7 @@ html {
width: 0;
height: 0;
}
/*----------------------------------------------------------------------------------------------------*/
body {
font-style: normal;
font-stretch: normal;
@ -120,7 +120,7 @@ body {
background: var(--primary-background-color);
}
}
/*----------------------------------------------------------------------------------------------------*/
::-webkit-scrollbar,
.wrapper details::-webkit-scrollbar {
width: 0;
@ -180,6 +180,10 @@ p:first-child:first-letter {
margin-right: calc(var(--font-size) * 0.32);
}
/*----------------------------------------------------------------------------------------------------*/
::selection {
background-color: var(--tertiary-color);
}
/*----------------------------------------------------------------------------------------------------*/
a:link,
.wrapper a:visited {
outline: none;