Compare commits

...

2 commits

Author SHA1 Message Date
21a04e7f7b more fixes 2023-06-14 04:34:02 -04:00
dc799bd9aa fix theming 2023-06-14 04:25:40 -04:00

View file

@ -1,10 +1,7 @@
body { body {
--theme-color-primary: white; --theme-color-primary: black;
--theme-color-secondary: rgb(0, 0, 0); --theme-color-secondary: white;
--theme-accent: #06225a; --theme-accent: gold;
}
body {
font-size:22px; font-size:22px;
line-height:24px; line-height:24px;
width: 100vw; width: 100vw;
@ -111,7 +108,7 @@ article > *{
font-size:14px; font-size:14px;
font-weight: bolder; font-weight: bolder;
text-decoration: none !important; text-decoration: none !important;
background-color: rgb(255, 255, 255,0.25); background-color: rgba(0, 0, 0, 0.25);
} }
.listing-text h2{ .listing-text h2{
margin:0; margin:0;
@ -120,7 +117,7 @@ article > *{
.listing-text >a{ .listing-text >a{
width:fit-content; width:fit-content;
border-bottom-style:none; border-bottom-style:none;
background-color: rgba(255,255,255,0.25); background-color: rgba(0, 0, 0, 0.25);
backdrop-filter: blur(55px); backdrop-filter: blur(55px);
padding:25px; padding:25px;
border-radius:25px; border-radius:25px;
@ -133,26 +130,10 @@ article > *{
background-color: transparent; background-color: transparent;
backdrop-filter: none; backdrop-filter: none;
} }
@keyframes blur-out{
from{background-color: rgba(255,255,255,0.25);}
to{background-color: transparent;
backdrop-filter: blur(0px);}
}
@keyframes blur-in{
from {
backdrop-filter: blur(0px);
background-color: rgb(255, 255, 255,0.15);
}
to {
backdrop-filter: blur(15px);
background-color: rgb(255, 255, 255,0.5);
}
}
.listing-text:hover{ .listing-text:hover{
animation: blur-in 0.2s; animation: blur-in 0.2s;
backdrop-filter: blur(15px); backdrop-filter: blur(15px);
background-color: rgb(255, 255, 2550,0.5); background-color: rgba(0, 0, 0, 0.55);
} }
.listing .tags a { .listing .tags a {
font-size:12px; font-size:12px;
@ -661,45 +642,37 @@ svg{
text-decoration: none; text-decoration: none;
} }
@keyframes blur-in{
@media screen and (prefers-color-scheme:dark) { from {
body { backdrop-filter: blur(0px);
--theme-color-primary: black; background-color: rgba(0, 0, 0, 0.25);
--theme-color-secondary: white;
--theme-accent: gold;
} }
@keyframes blur-in{ to {
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);
}
.listing-text:hover{
animation: blur-in 0.25s;
backdrop-filter: blur(15px); backdrop-filter: blur(15px);
background-color: rgba(0, 0, 0, 0.55); 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; background-color: rgba(0, 0, 0, 0.25);
} }
.listing-text:hover >a{ .listing-text:hover{
animation:blur-out 0.2s; animation: blur-in 0.25s;
background-color: transparent; backdrop-filter: blur(15px);
} background-color: rgba(0, 0, 0, 0.55);
}
@keyframes blur-out{ .listing-text .bare-link,.listing-text h2{
from{background-color: rgba(0, 0, 0, 0.25);}
to{background-color: transparent;backdrop-filter: blur(0px);} 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;} article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {text-decoration: none !important;}