merge upstream

This commit is contained in:
Niklas Buschmann 2020-11-25 23:09:56 +01:00
parent 80ab8e36c3
commit 210afb0332

View File

@ -14,24 +14,16 @@
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
html {
background: #393b45;
}
body { body {
background: #ffffff; background: #ffffff;
color: #1c1d22; color: #1c1d22;
} }
body > header {
background: #1c1d22;
color: #ffffff;
}
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
background: #1c1d22; background: #1c1d22;
color: #ffffff; color: #ffffff;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
} }
} }
@ -45,7 +37,6 @@ body {
font-weight: 400; font-weight: 400;
line-height: 1.6; line-height: 1.6;
margin: 0; margin: 0;
min-height: 100vh;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
@ -137,6 +128,8 @@ body > header {
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
background: #1c1d22;
color: #ffffff;
border-bottom: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
} }
@ -165,9 +158,20 @@ body > header, body > article, body > footer {
padding: 1.5em; padding: 1.5em;
} }
@media (min-width: 36em) { @media (min-width: 32em) {
body > header, body > article, body > footer {
padding: 1.7em calc(38% - 12em);
}
}
@media (prefers-color-scheme: light) and (min-width: 36em) {
html {
background: #393b45;
padding: 0 calc(38% - 18em);
}
body { body {
margin: 0 calc(38% - 18em); background: #ffffff;
min-height: 100vh;
} }
body > header, body > article, body > footer { body > header, body > article, body > footer {
padding: 1.7em 12.5%; padding: 1.7em 12.5%;