move files around, improve visibility for links and buttons
All checks were successful
/ build (push) Successful in 3m26s

This commit is contained in:
Ruben 2025-07-01 19:49:19 -05:00
commit d2a5e561bf
No known key found for this signature in database
GPG key ID: 8EA836555FB6D9A5
5 changed files with 31 additions and 9 deletions

View file

@ -253,8 +253,6 @@ h3 a {
p, p,
li, li,
button { button {
font-size: 1.125rem;
.icon { .icon {
transform: scale(1.13); transform: scale(1.13);
} }
@ -262,14 +260,18 @@ button {
/* links should look good i think */ /* links should look good i think */
a { a {
font-size: 1.125rem; color: var(--foreground);
color: var(--link); text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent);
text-decoration-thickness: 0.1em;
transition: 0.2s; transition: 0.2s;
} }
a:hover { a:hover {
color: var(--link);
text-decoration-color: var(--accent);
text-decoration-skip-ink: none;
text-decoration-thickness: .3em;
transition: 0.2s; transition: 0.2s;
text-shadow: 0em 0em 0.25em var(--link);
} }
/* smol text */ /* smol text */
@ -330,9 +332,11 @@ details.styled {
transform: translateY(.1rem); transform: translateY(.1rem);
vertical-align: middle; vertical-align: middle;
} }
.tabler--arrow-autofit-height:last-of-type { .tabler--arrow-autofit-height:last-of-type {
margin-left: auto; margin-left: auto;
} }
background: linear-gradient(color-mix(in srgb, var(--accent) 5%, transparent), color-mix(in srgb, var(--accent) 20%, transparent)); background: linear-gradient(color-mix(in srgb, var(--accent) 5%, transparent), color-mix(in srgb, var(--accent) 20%, transparent));
border-bottom: unset !important; border-bottom: unset !important;
cursor: pointer; cursor: pointer;
@ -360,6 +364,7 @@ details.styled {
margin-bottom: .4rem !important; margin-bottom: .4rem !important;
} }
} }
.card.last { .card.last {
margin-bottom: unset !important; margin-bottom: unset !important;
} }
@ -412,7 +417,7 @@ hr.solid {
hr.rounded { hr.rounded {
border: .2rem solid var(--border); border: .2rem solid var(--border);
border-radius: 5px; border-radius: 5px;
} }
/* audio */ /* audio */
audio { audio {
@ -426,7 +431,7 @@ summary {
/* button link styling */ /* button link styling */
.button { .button {
background-color: color-mix(in srgb, var(--accent) 30%, transparent); background-color: color-mix(in srgb, var(--accent) 25%, transparent);
border-radius: 1rem; border-radius: 1rem;
color: var(--foreground); color: var(--foreground);
padding: .4rem; padding: .4rem;
@ -443,7 +448,7 @@ summary {
.button:hover { .button:hover {
background-color: var(--accent); background-color: var(--accent);
color: var(--background); color: var(--foreground);
transition: all .2s; transition: all .2s;
} }
@ -526,6 +531,7 @@ summary {
.fedi-icon { .fedi-icon {
animation: opacity-blink 4s infinite !important; animation: opacity-blink 4s infinite !important;
} }
.fedi-icon-2 { .fedi-icon-2 {
animation: opacity-blink-reverse 4s infinite !important; animation: opacity-blink-reverse 4s infinite !important;
} }
@ -534,10 +540,27 @@ summary {
@media screen and (max-width: 1083px) { @media screen and (max-width: 1083px) {
details.styled { details.styled {
section { section {
/* reset margins for list on mobile view */ /* reset margins for list on mobile view */
ul { ul {
margin: unset !important; margin: unset !important;
} }
} }
} }
}
/* different styling for elements in dark mode
must also be applied to the html element below - needed as to not break with users using their browser settings or manually setting the theme through the website */
html:not([data-theme="light"]) {
@media (prefers-color-scheme: dark) {
.button:hover {
color: var(--background);
}
}
}
html[data-theme="dark"] {
.button:hover {
color: var(--background);
}
} }

View file

@ -2,4 +2,3 @@
title: about sneexy title: about sneexy
layout: "layouts/sneexy/page.njk" layout: "layouts/sneexy/page.njk"
--- ---