forked from AbleOS/holey-bytes
89 lines
1.3 KiB
CSS
89 lines
1.3 KiB
CSS
|
* {
|
||
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
--primary: white;
|
||
|
--secondary: #EFEFEF;
|
||
|
--error: #ff3333;
|
||
|
--placeholder: #333333;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
--small-gap: 5px;
|
||
|
--monospace: 'Courier New', Courier, monospace;
|
||
|
|
||
|
nav {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
|
||
|
section:last-child {
|
||
|
display: flex;
|
||
|
gap: var(--small-gap);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
margin-top: var(--small-gap);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
div.preview {
|
||
|
div.stats {
|
||
|
display: flex;
|
||
|
gap: var(--small-gap);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
form {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
gap: var(--small-gap);
|
||
|
|
||
|
::placeholder {
|
||
|
color: var(--placeholder);
|
||
|
}
|
||
|
|
||
|
.error {
|
||
|
color: var(--error);
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
pre,
|
||
|
textarea {
|
||
|
outline: none;
|
||
|
border: none;
|
||
|
background: var(--secondary);
|
||
|
padding: var(--small-gap);
|
||
|
padding-top: calc(var(--small-gap) * 1.5);
|
||
|
margin: var(--small-gap) 0px;
|
||
|
font-family: var(--monospace);
|
||
|
resize: none;
|
||
|
}
|
||
|
|
||
|
input {
|
||
|
font-size: inherit;
|
||
|
outline: none;
|
||
|
border: none;
|
||
|
background: var(--secondary);
|
||
|
padding: var(--small-gap);
|
||
|
}
|
||
|
|
||
|
input:is(:hover, :focus) {
|
||
|
background: white;
|
||
|
}
|
||
|
|
||
|
button {
|
||
|
border: none;
|
||
|
outline: none;
|
||
|
font-size: inherit;
|
||
|
background: var(--secondary);
|
||
|
}
|
||
|
|
||
|
button:hover:not(:active) {
|
||
|
background: white;
|
||
|
}
|