Also convert template body-background-image to var()

And cleanup more CSS
This commit is contained in:
djmaze 2021-02-05 15:31:42 +01:00
parent d9bece04b2
commit 5e9941d58f
15 changed files with 46 additions and 207 deletions

View file

@ -3,27 +3,6 @@
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
@ -61,7 +40,7 @@ pre {
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
* 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
*/
abbr[title] {
@ -139,7 +118,7 @@ textarea {
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* Remove the inheritance of text transform in Edge, Firefox.
* 1. Remove the inheritance of text transform in Firefox.
*/
@ -183,33 +162,12 @@ button:-moz-focusring,
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
@ -248,22 +206,3 @@ progress {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}