MassiveBox
3ac161e740
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Now when prefers-color-scheme is set to "dark", a dark theme will be used. SVGs have been updated to allow for it, and also compressed to optimize.
58 lines
1 KiB
CSS
58 lines
1 KiB
CSS
html {
|
|
max-width: 70ch;
|
|
padding: 4em 1em;
|
|
margin: auto;
|
|
line-height: 1.75;
|
|
}
|
|
h3 {
|
|
padding: 2em 0 0.3em;
|
|
}
|
|
.dropimage, button, .button, [type=submit], .label, [data-tooltip]:after {
|
|
background: #00a440
|
|
}
|
|
|
|
.footnote {
|
|
margin-bottom: 50px;
|
|
color: rgba(0,0,0,0.7);
|
|
font-size: 0.7em;
|
|
text-align:center
|
|
}
|
|
|
|
.home-cards {
|
|
height: 100%;
|
|
padding: 10px 10px 10px 10px;
|
|
}
|
|
.home-cards h3 { padding-top: 10px }
|
|
nav { border-bottom: 1px solid #aaa}
|
|
svg { width: 100% }
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
html, body, nav, .card, .home-cards, input, select {
|
|
background: #181a1b;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.dropimage, button, .button, [type=submit], .label, [data-tooltip]:after {
|
|
background: #00a440;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.footnote {
|
|
color: rgba(255,255,255,0.7);
|
|
}
|
|
|
|
svg {
|
|
fill: white;
|
|
}
|
|
|
|
.washing-svg * {
|
|
fill: white !important;
|
|
}
|
|
|
|
.bitcoin-svg * {
|
|
fill: none;
|
|
stroke: white !important;
|
|
}
|
|
|
|
} |