Files
gott/wwwroot/css/base.css
T
2026-02-27 07:18:12 +01:00

61 lines
877 B
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: var(--f2-bg);
color: var(--text);
height: 100vh;
display: flex;
flex-direction: column;
}
body, input, select, button, textarea {
font-family: monospace;
font-size: 1em;
line-height: 1.5;
color: var(--text);
}
input, textarea, select {
padding: var(--s2);
}
h1, h2, h3, h4, h5 {
font-size: 1em;
}
textarea, p {
line-height: 1.5;
}
button, select, input, textarea {
border: var(--border-width) solid var(--f3-border);
background: var(--f3-bg);
outline: none;
}
button {
line-height: 1.25;
padding: var(--s2) var(--s3);
}
button:not(:disabled) {
cursor: pointer;
}
button:not(:disabled):hover, select:hover, input:hover, textarea:hover {
border-color: var(--primary);
}
button:disabled {
opacity: .5;
}
textarea {
height: 8em;
min-height: 8em;
}