fix theming

main
Gabriel 11 months ago
parent e4d4b9e911
commit dc799bd9aa

@ -111,7 +111,7 @@ article > *{
font-size:14px;
font-weight: bolder;
text-decoration: none !important;
background-color: rgb(255, 255, 255,0.25);
background-color: rgba(0, 0, 0, 0.25);
}
.listing-text h2{
margin:0;
@ -662,44 +662,42 @@ svg{
}
@media screen and (prefers-color-scheme:dark) {
body {
--theme-color-primary: black;
--theme-color-secondary: white;
--theme-accent: gold;
}
@keyframes blur-in{
from {
backdrop-filter: blur(0px);
background-color: unset;
}
to {
backdrop-filter: blur(15px);
background-color: rgba(0, 0, 0, 0.55);
}
}
.listing-text,.listing-text>a {
background-color: rgba(0, 0, 0, 0.25);
body {
--theme-color-primary: black;
--theme-color-secondary: white;
--theme-accent: gold;
}
@keyframes blur-in{
from {
backdrop-filter: blur(0px);
background-color: unset;
}
.listing-text:hover{
animation: blur-in 0.25s;
to {
backdrop-filter: blur(15px);
background-color: rgba(0, 0, 0, 0.55);
}
.listing-text .bare-link,.listing-text h2{
}
.listing-text,.listing-text>a {
text-shadow: rgb(0, 0, 0) 0px 0px 20px;
}
.listing-text:hover >a{
animation:blur-out 0.2s;
background-color: transparent;
}
@keyframes blur-out{
from{background-color: rgba(0, 0, 0, 0.25);}
to{background-color: transparent;backdrop-filter: blur(0px);}
}
background-color: rgba(0, 0, 0, 0.25);
}
.listing-text:hover{
animation: blur-in 0.25s;
backdrop-filter: blur(15px);
background-color: rgba(0, 0, 0, 0.55);
}
.listing-text .bare-link,.listing-text h2{
text-shadow: rgb(0, 0, 0) 0px 0px 20px;
}
.listing-text:hover >a{
animation:blur-out 0.2s;
background-color: transparent;
}
@keyframes blur-out{
from{background-color: rgba(0, 0, 0, 0.25);}
to{background-color: transparent;backdrop-filter: blur(0px);}
}
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {text-decoration: none !important;}

Loading…
Cancel
Save