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

@ -1,3 +1,4 @@
@charset "UTF-8";
/*!
* Pico.css v1.4.4 (https://picocss.com)
* Copyright 2019-2021 - Licensed under MIT
@ -512,6 +513,7 @@ kbd {
*::before,
*::after {
box-sizing: border-box;
background-repeat: no-repeat;
}
::before,
@ -520,10 +522,11 @@ kbd {
vertical-align: inherit;
}
html {
:where(:root) {
-webkit-tap-highlight-color: transparent;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
text-size-adjust: 100%;
text-rendering: optimizeLegibility;
background-color: var(--background-color);
color: var(--color);
@ -531,6 +534,7 @@ html {
font-size: var(--font-size);
line-height: var(--line-height);
font-family: var(--font-family);
overflow-wrap: break-word;
cursor: default;
-moz-tab-size: 4;
-o-tab-size: 4;
@ -659,18 +663,7 @@ sup {
top: -0.5em;
}
dl dl,
dl ol,
dl ul,
ol dl,
ul dl {
margin: 0;
}
ol ol,
ol ul,
ul ol,
ul ul {
:where(dl, ol, ul) :where(dl, ol, ul) {
margin: 0;
}
@ -935,12 +928,7 @@ del {
/**
* Embedded content
*/
audio,
canvas,
iframe,
img,
svg,
video {
:where(audio, canvas, iframe, img, svg, video) {
vertical-align: middle;
}
@ -954,7 +942,7 @@ audio:not([controls]) {
height: 0;
}
iframe {
:where(iframe) {
border-style: none;
}
@ -964,7 +952,7 @@ img {
border-style: none;
}
svg:not([fill]) {
:where(svg:not([fill])) {
fill: currentColor;
}
@ -1634,11 +1622,11 @@ label > input, label > select, label > textarea {
padding: 0;
}
[type=color]::-webkit-color-swatch {
border: none;
border: 0;
border-radius: calc(var(--border-radius) * 0.5);
}
[type=color]::-moz-color-swatch {
border: none;
border: 0;
border-radius: calc(var(--border-radius) * 0.5);
}
@ -1677,12 +1665,12 @@ input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[
[type=file] {
--color: var(--muted-color);
padding: calc(var(--form-element-spacing-vertical) * 0.5) 0;
border: none;
border: 0;
border-radius: 0;
background: none;
}
[type=file]:hover, [type=file]:active, [type=file]:focus {
border: none;
border: 0;
background: none;
}
[type=file]::-webkit-file-upload-button {
@ -1805,7 +1793,7 @@ input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[
appearance: none;
width: 100%;
height: 1.25rem;
background: transparent;
background: none;
}
[type=range]::-webkit-slider-runnable-track {
width: 100%;
@ -1901,9 +1889,8 @@ input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file])[
/**
* Table
*/
table {
:where(table) {
width: 100%;
border-color: inherit;
border-collapse: collapse;
border-spacing: 0;
text-indent: 0;
@ -1970,7 +1957,7 @@ pre {
pre > code {
display: block;
padding: var(--spacing);
background: transparent;
background: none;
font-size: 14px;
line-height: var(--line-height);
}
@ -2002,11 +1989,10 @@ kbd {
* Miscs
*/
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
border: none;
border: 0;
border-top: 1px solid var(--muted-border-color);
color: inherit;
}
[hidden],
@ -2143,7 +2129,7 @@ dialog {
height: inherit;
min-height: 100%;
padding: var(--spacing);
border: none;
border: 0;
background-color: var(--modal-overlay-background-color);
}
dialog article {
@ -2284,6 +2270,11 @@ dialog:not([open]), dialog[open=false] {
/**
* Nav
*/
:where(nav li)::before {
float: left;
content: "";
}
nav,
nav ul {
display: flex;
@ -2371,7 +2362,7 @@ progress {
}
progress::-webkit-progress-bar {
border-radius: var(--border-radius);
background: transparent;
background: none;
}
progress[value]::-webkit-progress-value {
background-color: var(--progress-color);
@ -2535,7 +2526,7 @@ details[role=list][open] summary::before {
right: 0;
bottom: 0;
left: 0;
background: transparent;
background: none;
content: "";
cursor: default;
}
@ -2790,8 +2781,8 @@ textarea,
}
/**
* Reduce Motion Features
*/
* Reduce Motion Features
*/
@media (prefers-reduced-motion: reduce) {
*:not([aria-busy=true]),
:not([aria-busy=true])::before,