mirror of
https://codeberg.org/cyrneko/pages.git
synced 2025-05-04 18:13:07 +00:00
add somewhat janky background overlay
This commit is contained in:
parent
b79858a2fb
commit
caefa71b77
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
--background: light-dark(hsl(var(--hue), 100%, 97%), hsl(var(--hue), 40%, 6.5%));
|
||||
/* used for badges ↓ */
|
||||
--background-alt: light-dark(hsl(var(--hue), 75%, 88%), hsl(var(--hue), 20%, 20%));
|
||||
--background-transparent: light-dark(hsla(var(--hue), 75%, 88%, 50%), hsla(var(--hue), 20%, 20%, 50%));
|
||||
--foreground: light-dark(hsl(var(--hue), 100%, 25%), hsl(var(--hue), 100%, 90%));
|
||||
/* Used for links ↓ */
|
||||
--foreground-alt: light-dark(hsl(var(--hue), 100%, 35%), hsl(var(--hue), 65%, 70%));
|
||||
|
@ -21,6 +22,7 @@
|
|||
background-size: cover;
|
||||
background-repeat: none;
|
||||
background-attachment: fixed;
|
||||
box-shadow: inset 0 0 0 100vw var(--background-transparent);
|
||||
color: var(--foreground);
|
||||
font-family: InterVariable, Inter, system-ui;
|
||||
font-feature-settings:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue