update sneexy page
All checks were successful
/ build (push) Successful in 4m48s

This commit is contained in:
Ruben 2025-10-27 11:33:53 -05:00
commit 5f8f54c174
Signed by: sneexy
GPG key ID: 8ECFA045E63BC583
6 changed files with 95 additions and 150 deletions

View file

@ -168,10 +168,11 @@ small a {
/* lists need some styling */
ul {
margin-left: -1.3rem;
ul { margin-bottom: .5rem; }
li {
margin-bottom: .5rem;
&:last-of-type { margin-bottom: 0; }
&:last-child { margin-bottom: 0; }
&::marker {
color: var(--accent);
@ -414,6 +415,7 @@ card-container {
--n-bg: var(--accent);
border-radius: 1rem;
border: .15rem solid color-mix(in srgb, var(--yellow) 20%, transparent);
color: var(--foreground);
margin-bottom: .8rem;
padding: .5rem;
@ -423,9 +425,10 @@ card-container {
}
p, ul { &:last-of-type { margin-bottom: 0; } }
&[important] {
&[important], &[warning] {
--n-bg: var(--yellow);
background-color: color-mix(in srgb, var(--n-bg) 15%, transparent);
h3 { color: var(--yellow); }
}
}
@ -690,18 +693,18 @@ buttons-container {
display: flex;
flex-flow: row wrap;
gap: .4rem;
}
[button] {
background: light-dark(color-mix(in srgb,var(--accent)60%,transparent), color-mix(in srgb,var(--accent)25%,transparent));
padding: .2rem .5rem;
border-radius: 10rem;
transition: .2s;
text-decoration: none !important;
[button] {
background: light-dark(color-mix(in srgb,var(--accent)40%,transparent), color-mix(in srgb,var(--accent)25%,transparent));
border-radius: 10rem;
padding: .2rem .5rem;
text-decoration: none !important;
transition: .2s;
&:hover {
background: var(--accent);
color: light-dark(var(--foreground), var(--background));
}
&:hover {
background: var(--accent);
color: light-dark(var(--foreground), var(--background));
}
}