mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-28 15:25:46 -04:00
fix unnoticeable background color bug in dark mode
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
.main {
|
||||
.flex {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.default {
|
||||
width: 100%;
|
||||
padding: 1.5em;
|
||||
color: var(--text);
|
||||
background-color: var(--background-inner);
|
||||
/* light-dark theme switch fading */
|
||||
transition: color 0.25s ease, background 0.25s ease, border 0.25s ease;
|
||||
}
|
||||
|
||||
.container {
|
||||
@@ -13,6 +15,11 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* footer needs to fill the remaining vertical screen space. doing it here to keep flex stuff together. */
|
||||
.footer {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.main {
|
||||
padding: 1.25em;
|
||||
|
||||
Reference in New Issue
Block a user