Files
gott/wwwroot/css/base.css
T

67 lines
963 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 {
min-width: 0;
}
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: var(--semi-transparent);
}
textarea {
height: 12em;
min-height: 12em;
max-height: 12em;
resize: none;
}