add optional light color theme to style.css #51

Open
reese wants to merge 3 commits from reese/capsul-flask:main into main

View file

@ -1,3 +1,53 @@
@media (prefers-color-scheme: light) {
.yellow {
color: rgba(221, 169, 56, 1) !important;
}
html {
color: #241e1e !important;
background-color: #eaeed9 !important;
}
a {
color:#2ea1d2 !important;
text-shadow: 1px 1px 0px #0001 !important;
}
input[type=submit].form-submit-link {
color:#2ea1d2 !important;
}
a:hover, a:active, a:visited {
color: #94a12d !important;
}
h1, h2, h3, h4, h5 {
text-shadow: 2px 2px 0px #0001 !important;
}
main {
border-color: #777e73 !important;
}
input, select, textarea {
color: #241e1e !important;
background-color: #fff3 !important;
}
thead {
background: #dbe5d6 !important;
}
th {
border-color: #eaf4e5 !important;
}
.code {
background: #fff3 !important;
}
.metric img, .metrics img {
filter: brightness(50%) saturate(250%);
}
}
html { html {
color: #bdc7b8; color: #bdc7b8;
font: calc(0.40rem + 1vmin) monospace; font: calc(0.40rem + 1vmin) monospace;
@ -215,7 +265,7 @@ input[type=submit], select {
input[type=submit].form-submit-link { input[type=submit].form-submit-link {
border: none; border: none;
background-color: initial; background-color: #0000 !important;
color: #6CF; color: #6CF;
padding: 0; padding: 0;
margin: 0; margin: 0;
@ -313,7 +363,7 @@ th {
} }
td { td {
font: calc(0.35rem + 0.95vmin) monospace; font: calc(0.35rem + 0.95vmin) monospace;
border-bottom: 2px dotted #777e7355; border-bottom: 2px dotted #777e7388;
padding-top: 0.4rem; padding-top: 0.4rem;
padding-bottom: 0.4rem; padding-bottom: 0.4rem;
} }