holey-bytes/depell/src/index.css

107 lines
1.6 KiB
CSS
Raw Normal View History

2024-10-08 17:17:13 -05:00
* {
2024-10-10 01:35:17 -05:00
font-family: var(--font);
2024-10-08 17:17:13 -05:00
}
body {
--primary: white;
--secondary: #EFEFEF;
2024-10-10 01:35:17 -05:00
--timestamp: #777777;
2024-10-08 17:17:13 -05:00
--error: #ff3333;
--placeholder: #333333;
}
body {
--small-gap: 5px;
2024-10-10 01:35:17 -05:00
--font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
2024-10-08 17:17:13 -05:00
--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 {
2024-10-10 01:35:17 -05:00
div.info {
display: flex;
gap: var(--small-gap);
span[apply=timestamp] {
color: var(--timestamp);
}
}
2024-10-08 17:17:13 -05:00
div.stats {
display: flex;
gap: var(--small-gap);
}
2024-10-10 02:51:03 -05:00
margin: var(--small-gap) 0px;
2024-10-08 17:17:13 -05:00
}
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;
2024-10-12 14:25:37 -05:00
tab-size: 4;
2024-10-10 02:51:03 -05:00
}
pre {
background: var(--secondary);
padding: var(--small-gap);
padding-top: calc(var(--small-gap) * 1.5);
margin: 0px;
font-family: var(--monospace);
2024-10-10 01:35:17 -05:00
tab-size: 4;
2024-10-08 17:17:13 -05:00
}
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;
}