forked from AbleOS/holey-bytes
118 lines
1.7 KiB
CSS
118 lines
1.7 KiB
CSS
* {
|
|
font-family: var(--font);
|
|
}
|
|
|
|
body {
|
|
--primary: white;
|
|
--secondary: #EFEFEF;
|
|
--timestamp: #777777;
|
|
--error: #ff3333;
|
|
--placeholder: #333333;
|
|
}
|
|
|
|
body {
|
|
--small-gap: 5px;
|
|
--font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
--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.info {
|
|
display: flex;
|
|
gap: var(--small-gap);
|
|
|
|
span[apply=timestamp] {
|
|
color: var(--timestamp);
|
|
}
|
|
}
|
|
|
|
div.stats {
|
|
display: flex;
|
|
gap: var(--small-gap);
|
|
}
|
|
|
|
margin: var(--small-gap) 0px;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--small-gap);
|
|
|
|
|
|
.error {
|
|
color: var(--error);
|
|
text-align: center;
|
|
}
|
|
|
|
}
|
|
|
|
textarea {
|
|
outline: none;
|
|
border: none;
|
|
background: var(--secondary);
|
|
padding: var(--small-gap);
|
|
padding-top: calc(var(--small-gap) * 1.5);
|
|
font-family: var(--monospace);
|
|
resize: none;
|
|
tab-size: 4;
|
|
}
|
|
|
|
pre {
|
|
background: var(--secondary);
|
|
padding: var(--small-gap);
|
|
padding-top: calc(var(--small-gap) * 1.5);
|
|
margin: 0px;
|
|
font-family: var(--monospace);
|
|
tab-size: 4;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
div#code-editor {
|
|
display: flex;
|
|
position: relative;
|
|
|
|
span#code-size {
|
|
position: absolute;
|
|
right: 2px;
|
|
font-size: 12px;
|
|
}
|
|
}
|