chore: Update sanitize.css resets

This commit is contained in:
Lucas Larroche 2022-03-06 10:53:20 +07:00
parent 9b0dda8b94
commit 4c914d1807
32 changed files with 201 additions and 249 deletions

View file

@ -4,16 +4,11 @@
// Reboot based on :
// - normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
// - sanitize.css v12.0.1 | CC0 1.0 Universal | github.com/csstools/sanitize.css
// - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
//
// Change the alignment on media elements in all browsers (opinionated)
audio,
canvas,
iframe,
img,
svg,
video {
:where(audio, canvas, iframe, img, svg, video) {
vertical-align: middle;
}
@ -30,7 +25,7 @@ audio:not([controls]) {
}
// Remove the border on iframes in all browsers (opinionated)
iframe {
:where(iframe) {
border-style: none;
}
@ -43,7 +38,7 @@ img {
}
// Change the fill color to match the text color in all browsers (opinionated)
svg:not([fill]) {
:where(svg:not([fill])) {
fill: currentColor;
}