diff options
author | sanine <sanine.not@pm.me> | 2024-07-06 18:41:43 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2024-07-06 18:41:43 -0500 |
commit | 0c6831d63cfb6b98107826524183d444eee2e4bd (patch) | |
tree | 62a8f839ffd2e50cd4d5aed07732f5eec9964327 /style.css | |
parent | 1611ea0b88044bc6bc98ddd1d7dc9d6011b7f05c (diff) |
add alerts
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 43 |
1 files changed, 33 insertions, 10 deletions
@@ -26,23 +26,47 @@ body { } #root { - width: min(90vw, 50em); + width: min(90vw, 800px); margin: auto; border-left: 1px solid white; border-right: 1px solid white; - padding: 0.5em; + padding: 8px; min-height: 95vh; } +.center-screen-container { + position: absolute; + top: 0; + right: 0; + left: 0; + bottom: 0; +} + +.center-screen { + display: flex; + justify-content: center; + align-items: center; + text-align: center; + min-height: 95vh; +} + +.alert-box { + border: 2px solid white; + background-color: black; + padding: 16px; + max-width: min(80vw, 600px); + font-size: 24px; +} + h1 { - font-size: 4em; + font-size: 32px; } h2 { - font-size: 3em; + font-size: 24px; } p { - font-size: 2em; + font-size: 16px; padding: 1em; } @@ -56,15 +80,14 @@ input { font-variant-caps: small-caps; color: white; background-color: black; - font-size: 1em; - padding: 0.5em; - margin: 0.5em; + font-size: 16px; + padding: 8px; + margin: 8px; font-weight: bold; border: 2px solid; } input[type=button] { - padding: 0.6em; - font-size: 1.3em; + font-size: 20px; } input[type=button]:hover { color: black; |