Load YOLOCOLO templates from a "theme" folder..

..configurable using the THEME env var.

Defaults to normal Capsul theme.
This commit is contained in:
3wc
2021-07-21 22:24:25 +02:00
parent bcc3f20b27
commit 40aa3bccd3
16 changed files with 535 additions and 65 deletions

View File

@ -1,8 +1,8 @@
html {
color: #241e1e;
color: #bdc7b8;
font: calc(0.40rem + 1vmin) monospace;
overflow-y: scroll;
background-color: #bdc7b8;
background-color: #241e1e;
}
body {
@ -19,8 +19,8 @@ body {
}
a {
color:#00517a;
text-shadow: 1px 1px 0px #eee;
color:#6CF;
text-shadow: 1px 1px 0px #000c;
}
a.no-shadow {
@ -28,7 +28,7 @@ a.no-shadow {
}
a:hover, a:active, a:visited {
color: #323417;
color: #b5bd68;
}
.nav-links a {
@ -59,11 +59,11 @@ h1, h2, h3, h4, h5 {
margin: initial;
padding: initial;
text-transform: uppercase;
text-shadow: 2px 2px 0px #eee;
text-shadow: 2px 2px 0px #0007;
}
main {
border: 1px dashed #241e1e;
border: 1px dashed #bdc7b8;
padding: 1rem;
margin-bottom: 2em;
@ -143,7 +143,7 @@ input, textarea, select, label {
input, select, textarea {
outline: 0;
padding: 0.25em 0.5em;
color: #241e1e;
color: #bdc7b8;
background-color: #bdc7b805;
}
@ -277,7 +277,7 @@ td.metrics img {
width: 4.3em;
}
th {
border-right: 1px solid #eee;
border-right: 4px solid #241e1e;
text-align: left;
}
td {

View File

@ -0,0 +1,30 @@
html {
color: #241e1e;
background-color: #bdc7b8;
}
a {
color:#00517a;
text-shadow: 1px 1px 0px #eee;
}
a:hover, a:active, a:visited {
color: #323417;
}
.nav-links a {
text-shadow: 2px 2px 0px #eee;
}
main {
border: 1px dashed #241e1e;
input, select, textarea {
color: #241e1e;
}
th {
border-right: 1px solid #eee;
text-align: left;
}