From 3425c3c435a000b14103a0055fd913ccb855b734 Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 18 Sep 2023 05:11:05 +0000 Subject: implement basic ui --- style.css | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'style.css') diff --git a/style.css b/style.css index 90f985a..0296148 100644 --- a/style.css +++ b/style.css @@ -84,3 +84,54 @@ pre code { text-align: center; } + +.inputdiv { + display: flex; +} + + +label { + flex: 1; + min-width: 9em; + display: inline-block; + text-align: right; + vertical-align: top; + margin: 0 0.5em 0 0; +} + +input, textarea, button { + font-family: monospace; + flex: 3; + color: var(--light); + background-color: #020202; + border: 1px solid var(--dark); +} + +input:hover, textarea:hover, button:hover { + border: 1px solid var(--light); +} + +*:focus { + outline: none; + border: 1px solid var(--highlight); +} + +*:focus:hover { + border: 1px solid #ffce4e; +} + +input { + padding: 0.2em; +} + +textarea { + min-width: 30em; +} + +button { + font-size: 1em; + padding: 0.2em; + color: var(--highlight); +} + + -- cgit v1.2.1