|
11 | 11 | --card: rgba(8, 14, 29, 0.78); |
12 | 12 | --border: rgba(109, 146, 219, 0.38); |
13 | 13 | --header: rgba(4, 8, 18, 0.9); |
| 14 | + --clean-glow-cyan: rgba(118, 196, 255, 0.35); |
| 15 | + --clean-glow-orange: rgba(255, 170, 105, 0.22); |
| 16 | + --clean-shadow: 0 14px 34px rgba(2, 10, 28, 0.3); |
14 | 17 | } |
15 | 18 |
|
16 | 19 | body[data-theme="mint"] { |
@@ -653,6 +656,7 @@ main, |
653 | 656 | position: sticky; |
654 | 657 | top: 0.52rem; |
655 | 658 | z-index: 24; |
| 659 | + transition: border-color 180ms ease, box-shadow 220ms ease, background 220ms ease; |
656 | 660 | } |
657 | 661 |
|
658 | 662 | .brand-name { |
@@ -752,6 +756,7 @@ main { |
752 | 756 | border-radius: 11px; |
753 | 757 | background: var(--card); |
754 | 758 | backdrop-filter: blur(7px); |
| 759 | + transition: border-color 180ms ease, box-shadow 220ms ease, background 220ms ease; |
755 | 760 | } |
756 | 761 |
|
757 | 762 | .skew-left { |
|
893 | 898 | background: transparent; |
894 | 899 | color: var(--ink); |
895 | 900 | cursor: pointer; |
896 | | - transition: transform 145ms ease, background 145ms ease, border-color 145ms ease; |
| 901 | + transition: transform 145ms ease, background 145ms ease, border-color 145ms ease, box-shadow 180ms ease; |
897 | 902 | } |
898 | 903 |
|
899 | 904 | .btn:hover, |
@@ -1908,6 +1913,7 @@ body.browser-not-firefox .penguin-avatar { |
1908 | 1913 | background: rgba(8, 14, 29, 0.8); |
1909 | 1914 | padding: 0.58rem; |
1910 | 1915 | transform-style: preserve-3d; |
| 1916 | + transition: border-color 180ms ease, box-shadow 220ms ease, background 180ms ease; |
1911 | 1917 | } |
1912 | 1918 |
|
1913 | 1919 | .favorite-card p, |
@@ -1974,6 +1980,49 @@ body.browser-not-firefox .penguin-avatar { |
1974 | 1980 | background: rgba(12, 22, 42, 0.96); |
1975 | 1981 | } |
1976 | 1982 |
|
| 1983 | +@media (hover: hover) and (pointer: fine) { |
| 1984 | + .site-header:hover { |
| 1985 | + border-color: rgba(166, 210, 255, 0.52); |
| 1986 | + box-shadow: |
| 1987 | + 0 1px 0 rgba(205, 231, 255, 0.16) inset, |
| 1988 | + var(--clean-shadow), |
| 1989 | + 0 0 32px var(--clean-glow-cyan); |
| 1990 | + } |
| 1991 | + |
| 1992 | + .hero:hover, |
| 1993 | + .panel:hover { |
| 1994 | + border-color: rgba(159, 206, 255, 0.52); |
| 1995 | + box-shadow: |
| 1996 | + var(--clean-shadow), |
| 1997 | + 0 0 30px var(--clean-glow-cyan), |
| 1998 | + 0 0 46px var(--clean-glow-orange); |
| 1999 | + } |
| 2000 | + |
| 2001 | + .chaos-card:hover, |
| 2002 | + .favorite-card:hover, |
| 2003 | + .fact-card:hover, |
| 2004 | + .glass-card:hover, |
| 2005 | + .repo-card:hover, |
| 2006 | + .contact-item:hover { |
| 2007 | + border-color: rgba(160, 207, 255, 0.52); |
| 2008 | + box-shadow: |
| 2009 | + 0 10px 24px rgba(4, 13, 31, 0.34), |
| 2010 | + 0 0 22px rgba(104, 184, 255, 0.22); |
| 2011 | + } |
| 2012 | + |
| 2013 | + .btn:hover, |
| 2014 | + .egg-btn:hover, |
| 2015 | + .theme-cycle-btn:hover, |
| 2016 | + .theme-top-select:hover { |
| 2017 | + box-shadow: 0 8px 18px rgba(4, 14, 33, 0.35), 0 0 18px rgba(99, 175, 255, 0.22); |
| 2018 | + } |
| 2019 | + |
| 2020 | + nav a:hover, |
| 2021 | + nav a.active { |
| 2022 | + box-shadow: 0 0 0 1px rgba(168, 209, 255, 0.24) inset, 0 0 16px rgba(94, 170, 255, 0.18); |
| 2023 | + } |
| 2024 | +} |
| 2025 | + |
1977 | 2026 | .site-footer { |
1978 | 2027 | margin: 0.72rem auto 1.55rem; |
1979 | 2028 | color: var(--muted); |
@@ -2022,6 +2071,14 @@ body[data-theme="liquidglass"] .site-header { |
2022 | 2071 | box-shadow: 0 16px 36px rgba(2, 10, 28, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16); |
2023 | 2072 | } |
2024 | 2073 |
|
| 2074 | +body[data-theme="liquidglass"] .site-header:hover { |
| 2075 | + border-color: rgba(220, 236, 255, 0.45); |
| 2076 | + box-shadow: |
| 2077 | + 0 20px 40px rgba(2, 10, 28, 0.45), |
| 2078 | + 0 0 40px rgba(151, 206, 255, 0.25), |
| 2079 | + inset 0 1px 0 rgba(255, 255, 255, 0.22); |
| 2080 | +} |
| 2081 | + |
2025 | 2082 | body[data-theme="liquidglass"] .brand-name { |
2026 | 2083 | font-family: "SF Pro Display", "Inter", "Space Grotesk", sans-serif; |
2027 | 2084 | text-transform: none; |
@@ -2061,6 +2118,16 @@ body[data-theme="liquidglass"] .panel { |
2061 | 2118 | box-shadow: 0 16px 36px rgba(2, 10, 28, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14); |
2062 | 2119 | } |
2063 | 2120 |
|
| 2121 | +body[data-theme="liquidglass"] .hero:hover, |
| 2122 | +body[data-theme="liquidglass"] .panel:hover { |
| 2123 | + border-color: rgba(223, 238, 255, 0.42); |
| 2124 | + box-shadow: |
| 2125 | + 0 22px 44px rgba(2, 10, 28, 0.45), |
| 2126 | + 0 0 44px rgba(141, 205, 255, 0.24), |
| 2127 | + 0 0 62px rgba(255, 184, 134, 0.18), |
| 2128 | + inset 0 1px 0 rgba(255, 255, 255, 0.2); |
| 2129 | +} |
| 2130 | + |
2064 | 2131 | body[data-theme="liquidglass"] .skew-left { |
2065 | 2132 | transform: rotate(-0.18deg); |
2066 | 2133 | } |
|
0 commit comments