diff --git a/src/index.css b/src/index.css index 08a3ac9..afda27e 100644 --- a/src/index.css +++ b/src/index.css @@ -30,6 +30,24 @@ body { min-height: 100vh; } + +.glassCard { + width: 240px; + height: 360px; + background: rgba(255, 255, 255, 0.5); + backdrop-filter: blur(3px); + -webkit-backdrop-filter: blur(3px); + border-radius: 20px; + border: 1px solid rgba(255, 255, 255, 0.3); + box-shadow: + 0 8px 32px rgba(0, 0, 0, 0.1), + inset 0 1px 0 rgba(255, 255, 255, 0.5), + inset 0 -1px 0 rgba(255, 255, 255, 0.1), + inset 0 0 8px 4px rgba(255, 255, 255, 0.4); + position: relative; + overflow: hidden; +} + h1 { font-size: 3.2em; line-height: 1.1; @@ -53,16 +71,3 @@ button:focus, button:focus-visible { outline: 4px auto -webkit-focus-ring-color; } - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -}