diff options
Diffstat (limited to 'public/global.css')
-rw-r--r-- | public/global.css | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/public/global.css b/public/global.css index 1683ef5..2a23250 100644 --- a/public/global.css +++ b/public/global.css @@ -8,6 +8,7 @@ --fg: #000000; --fg-alt: #111111; } +input.buttonstyle.filled[type=number] { color-scheme: dark; } @media (prefers-color-scheme: dark) { :root { @@ -16,6 +17,7 @@ --fg: #dddddd; --fg-alt: #ffffff; } + input.buttonstyle.filled[type=number] { color-scheme: light; } } body, html { @@ -49,7 +51,6 @@ body, html { .button, .buttonstyle { - margin-bottom: 16px; padding: 9px 12px; border-radius: 8px; border: none; @@ -74,12 +75,20 @@ body, html { .button.filled, .buttonstyle.filled { - background-color: canvastext; - color: canvas; + background-color: var(--fg); + color: var(--bg-alt); font-weight: bold; cursor: pointer; } +.button.outlined, +.buttonstyle.outlined { + padding: 7px 10px; + border: 2px solid currentColor; +} + +input.buttonstyle[type=number] { cursor: unset; } + .center { text-align: center; } @@ -92,3 +101,4 @@ body, html { gap: 16px; } +.skipafter { margin-bottom: 16px; } |