holey-bytes/depell/src/index.css

144 lines
2.1 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;
}
2024-10-08 17:17:13 -05:00
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);
2024-10-14 15:04:18 -05:00
display: flex;
flex-direction: column;
gap: var(--small-gap);
2024-10-08 17:17:13 -05:00
}
}
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);
}
}
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;
overflow-x: auto;
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: var(--primary);
2024-10-08 17:17:13 -05:00
}
button {
border: none;
outline: none;
font-size: inherit;
background: var(--secondary);
}
button:hover:not(:active) {
background: var(--primary);
2024-10-08 17:17:13 -05:00
}
2024-10-13 13:01:18 -05:00
div#code-editor {
display: flex;
position: relative;
2024-10-14 06:25:38 -05:00
textarea {
flex: 1;
}
2024-10-13 13:01:18 -05:00
span#code-size {
position: absolute;
right: 2px;
font-size: 12px;
}
}
2024-10-14 15:04:18 -05:00
div#dep-list {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--small-gap);
section {
width: 100%;
display: flex;
flex-direction: column;
text-align: center;
gap: var(--small-gap);
div {
text-align: left;
}
}
}