diff options
author | sanine <sanine.not@pm.me> | 2023-09-18 05:11:05 +0000 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-09-18 05:11:05 +0000 |
commit | 3425c3c435a000b14103a0055fd913ccb855b734 (patch) | |
tree | 2efbb0599104d3794f5c0604d71ac16bf97368d2 /style.css | |
parent | bfcc2e759807a692d8e0353e3bbecd109175032b (diff) |
implement basic ui
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 51 |
1 files changed, 51 insertions, 0 deletions
@@ -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); +} + + |