diff options
| author | ilotterytea <iltsu@alright.party> | 2025-08-16 18:27:21 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-08-16 18:27:21 +0500 |
| commit | b65f988200231ee264337d229f4445038e027d1e (patch) | |
| tree | 4a3c7ba48786c0be2e8691147fc99e81ed4998fc /static | |
| parent | de325d1d2ab9a1d47efdbb988e50085b2656aed7 (diff) | |
upd: button styles
Diffstat (limited to 'static')
| -rw-r--r-- | static/style.css | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/static/style.css b/static/style.css index e2c5064..15f9089 100644 --- a/static/style.css +++ b/static/style.css @@ -9,6 +9,10 @@ --button-submit-background-hover: linear-gradient(180deg, #ccb800, #ffe600); --button-submit-border: #8b6600; --button-submit-color: #302300; + + --button-regular-background: #cacaca; + --button-regular-background-hover: #aaaaaa; + --button-regular-border: #676767; } * { @@ -29,7 +33,7 @@ body { main { display: flex; flex-direction: column; - width: 50%; + width: 60%; } header { @@ -39,8 +43,17 @@ header { justify-content: space-between; } +table th { + text-align: left; + vertical-align: top; + padding: 8px; +} + a { color: var(--anchor); +} + +a.bold { font-weight: bold; } @@ -55,7 +68,19 @@ input[type=password] { border: 1px solid var(--box-primary-color); } -button[type=submit] { +button { + padding: 2px 6px; + background: var(--button-regular-background); + border: 1px solid var(--button-regular-border); + border-radius: 2px; +} + +button:hover { + background: var(--button-regular-background-hover); + cursor: pointer; +} + +button.fancy { padding: 4px 32px; font-size: 24px; background: var(--button-submit-background); @@ -65,7 +90,7 @@ button[type=submit] { text-shadow: 0 1px 0 var(--button-submit-border); } -button[type=submit]:hover { +button.fancy:hover { background: var(--button-submit-background-hover); text-shadow: 0 -1px 0 var(--button-submit-border); cursor: pointer; @@ -104,6 +129,18 @@ button[type=submit]:hover { flex-direction: row; } +.align-bottom { + align-items: end; +} + +.align-center { + align-items: center; +} + +.justify-center { + justify-content: center; +} + .gap-8 { gap: 8px; } |
