From fd6f6f169f9ff9a1247228fb34dc9654a9584915 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Thu, 21 Mar 2024 11:23:42 -0400 Subject: fix bugs, redo layout, reorg. --- fe/src/app.css | 53 +++++++++++++++++------------------------------------ 1 file changed, 17 insertions(+), 36 deletions(-) (limited to 'fe/src/app.css') diff --git a/fe/src/app.css b/fe/src/app.css index c24c713..be7d15c 100644 --- a/fe/src/app.css +++ b/fe/src/app.css @@ -5,48 +5,34 @@ color-scheme: light dark; color: rgba(255, 255, 255, 0.87); - background-color: #242424; + background-color: var(--background); + width: 100vw; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - --submit: #28a745; + --background: #242424; } -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} +@media (min-width: 916px) { + :root { + width: unset; + } -a:hover { - color: #535bf2; + #content div.column:first-child { + flex-direction: row; + height: 300px; + } } body { margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; + padding: 0 2em 2em; } -h1 { - font-size: 3.2em; - line-height: 1.1; -} -.card { - padding: 2em; -} - -#app { - flex-grow: 2; - max-width: 1280px; - margin: 0 auto; -} button { border-radius: 8px; @@ -56,6 +42,7 @@ button { font-weight: 500; font-family: inherit; background-color: #1a1a1a; + color: inherit; cursor: pointer; transition: border-color 0.25s; } @@ -64,10 +51,6 @@ button:hover { border-color: #646cff; } -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} @media (prefers-color-scheme: light) { :root { @@ -84,12 +67,6 @@ button:focus-visible { } } -@media (prefers-color-scheme: dark) { - :root { - color: #000; - } -} - .form { display: flex; flex-direction: column; @@ -118,3 +95,7 @@ button:focus-visible { background: var(--submit); color: #fff; } + +dialog { + top: 8em; +} -- cgit v1.1