updated some styling

- change max-width to apply ti all tabs instead of just forms
- use monospace font for buttons and labels
- add tiny 2px border radius to buttons and prepare bottombar
OFF0 2 years ago
parent f9fcb1131e
commit f33c787a9a
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

@ -1,5 +1,4 @@
form { form {
max-width: 72ch;
} }
input, input,
@ -15,6 +14,7 @@ button,
label { label {
color: var(--bgcolor-accent); color: var(--bgcolor-accent);
display: block; display: block;
font-family: monospace;
font-size: 1.6rem; font-size: 1.6rem;
margin-bottom: 0; margin-bottom: 0;
padding: 1.3rem 1.8rem; padding: 1.3rem 1.8rem;
@ -41,6 +41,15 @@ input[type="text"]:focus {
justify-content: flex-end; justify-content: flex-end;
min-height: 3.2rem; min-height: 3.2rem;
} }
.buttons-bottombar {
bottom: 2rem;
padding: 0 1rem;
position: sticky;
}
.buttons-bottombar button {
font-size: 2rem;
margin: 1rem;
}
.button-inline { .button-inline {
background: transparent; background: transparent;
@ -52,6 +61,7 @@ input[type="text"]:focus {
button { button {
background-color: var(--bgcolor-accent); background-color: var(--bgcolor-accent);
border: none; border: none;
border-radius: .2rem;
color: white; color: white;
cursor: pointer; cursor: pointer;
} }

@ -1,5 +1,6 @@
.tabs { .tabs {
position: relative; position: relative;
max-width: 72ch;
min-height: 200px; min-height: 200px;
} }
@ -48,5 +49,5 @@
opacity: 0; opacity: 0;
position: absolute; position: absolute;
right: 0; right: 0;
top: 5em; top: 10rem;
} }

Loading…
Cancel
Save