Previously, if the page was too short, the lighter footer background was
not all the way down, looking ugly. Now the <html> element has the
footer background color and that's overriden by <body> to the body
background.
Again, I hope this doesn't break anyone's site :)
/* Globals */
html {
font-size: var(--font-size);
- background-color: var(--background-color);
+ background-color: var(--footer-background-color);
}
body {
font-family: var(--font);
font-size: 1rem;
color: var(--color);
+ background-color: var(--background-color);
}
/* Block elements */
html {
font-size: 16px;
- background-color: #2f363f;
+ background-color: #444e5c;
}
body {
font-family: 'Source Sans Pro', sans-serif;
font-size: 1rem;
color: #dcdcdc;
+ background-color: #2f363f;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
html {
font-size: 14px;
- background-color: #ffffff;
+ background-color: #eeeeee;
}
body {
font-family: 'Libre Baskerville', serif;
font-size: 1rem;
color: #000000;
+ background-color: #ffffff;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;