diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2025-12-23 19:00:20 -0400 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2025-12-23 19:00:20 -0400 |
| commit | 05414b0c6ac85e26e9de67df43ae55adf5138df5 (patch) | |
| tree | e1d75f0e7f06929e7a99fd0354a58042bba29418 /src/static | |
| parent | ef33d6b27ecd817dfa4d13e5ca9e090ddd8782ed (diff) | |
css: oklab(???) and tune opacity adjust
Diffstat (limited to 'src/static')
| -rw-r--r-- | src/static/css/site.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css index ff386847..d0d2e563 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -280,10 +280,10 @@ body::before, .wallpaper-part { #page-container { background-color: var(--bg-color, rgba(35, 35, 35, 0.8)); - --adjust-page-opacity: calc(alpha * (1.0 + 0.6 * (var(--box-opacity, 0.6) - 0.6))); + --adjust-page-opacity: calc(alpha * (1.0 + 0.55 * (var(--box-opacity, 0.6) - 0.6))); background-color: - color-mix(in hsl, + color-mix(in oklab, rgb(from var(--bg-color, rgba(35, 35, 35, 0.8)) r g b / var(--adjust-page-opacity)), rgb(from var(--bg-color, rgba(35, 35, 35, 0.8)) |