Variables exist for a reason

This commit is contained in:
Nox Sluijtman 2023-08-21 03:41:41 +02:00
parent 93856ba8a1
commit 211fcc11a0

View file

@ -1,11 +1,14 @@
:root{
--fg:#E60073;
}
::selection{
color: black;
background-color: #E60073;
background-color: var(--fg);
}
body {
background: black;
color: #E60073;
color: var(--fg);
font-family: monospace;
font-size: 1.2em;
margin:0;
@ -16,13 +19,13 @@ summary{cursor:pointer;}
summary:hover{
filter: url(#chroma);
color: black;
background-color: #E60073;
background-color: var(--fg);
}
summary:hover:active{ filter: url(#chromaClick) }
a{
color: #E60073;
color: var(--fg);
text-decoration: none;
}
@ -36,14 +39,14 @@ a::before{ content: '['; }
a:hover{
color: black;
background-color: #E60073;
background-color: var(--fg);
position:relative;
filter: url(#chroma);
}
a:hover::selection{
background-color: black;
color: #E60073;
color: var(--fg);
}
.postImage a::before{ content: none; }
@ -76,7 +79,7 @@ a.anchor{visibility: hidden; text-decoration: none;}
h1:target::before,h2:target::before,h3:target::before,h4:target::before,h5:target::before,h6:target::before{content:"> "; }
h1:hover>a,h2:hover>a,h3:hover>a,h4:hover>a,h5:hover>a,h6:hover>a{visibility:visible;}
h1:target>a,h2:target>a,h3:target>a,h4:target>a,h5:target>a,h6:target>a{color:black; visibility:visible;}
:target{color:black; background-color: #E60073;}
:target{color:black; background-color: var(--fg);}
footer{
text-align: center;