Compare commits

..

2 commits

Author SHA1 Message Date
6555100f46
tweak css 2023-02-18 01:16:59 +00:00
5a67d3321e
tweak css a bit 2023-02-16 22:42:07 +00:00

View file

@ -1,3 +1,24 @@
:root {
--bg-main: #f3f3f3;
--bg-bright: white;
--text-main: #232323;
--accent: #351e75;
}
@media (prefers-color-scheme: dark) {
:root {
--bg-main: #232323;
--bg-bright: black;
--text-main: #f3f3f3;
}
#output-graph > div {
filter: invert(100%);
}
}
html, body { html, body {
margin: 0; padding: 0; margin: 0; padding: 0;
font-size: 100%; font-size: 100%;
@ -5,6 +26,8 @@ html, body {
body { body {
min-height: 100vh; min-height: 100vh;
font-family: Ubuntu, sans-serif; font-family: Ubuntu, sans-serif;
background: var(--bg-main);
color: var(--text-main);
display: grid; display: grid;
grid-template-columns: 1fr; grid-template-columns: 1fr;
@ -21,15 +44,26 @@ h1 {
text-align: center; text-align: center;
} }
textarea, input, #output-graph {
background: var(--bg-bright);
color: var(--text-main);
border: 0.2em dashed var(--accent);
}
#input-summary { #input-summary {
grid-area: summary; grid-area: summary;
} }
#output-graph { #output-graph {
grid-area: graph; grid-area: graph;
overflow-x: scroll;
margin: 1em 0;
border-left-width: 0;
border-right-width: 0;
} }
footer { footer {
grid-area: footer; grid-area: footer;
margin: 0.5em; margin: 1em 1em 0.5em 1em;
} }