mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 19:46:14 -04:00
chore: Update sanitize.css resets
This commit is contained in:
parent
9b0dda8b94
commit
4c914d1807
32 changed files with 201 additions and 249 deletions
|
@ -444,6 +444,7 @@ kbd {
|
|||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
::before,
|
||||
|
@ -452,10 +453,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);
|
||||
|
@ -463,6 +465,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;
|
||||
|
@ -591,18 +594,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;
|
||||
}
|
||||
|
||||
|
@ -864,12 +856,7 @@ del {
|
|||
/**
|
||||
* Embedded content
|
||||
*/
|
||||
audio,
|
||||
canvas,
|
||||
iframe,
|
||||
img,
|
||||
svg,
|
||||
video {
|
||||
:where(audio, canvas, iframe, img, svg, video) {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
@ -883,7 +870,7 @@ audio:not([controls]) {
|
|||
height: 0;
|
||||
}
|
||||
|
||||
iframe {
|
||||
:where(iframe) {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
|
@ -893,7 +880,7 @@ img {
|
|||
border-style: none;
|
||||
}
|
||||
|
||||
svg:not([fill]) {
|
||||
:where(svg:not([fill])) {
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
|
@ -1435,9 +1422,8 @@ label > input, label > select, label > textarea {
|
|||
/**
|
||||
* Table
|
||||
*/
|
||||
table {
|
||||
:where(table) {
|
||||
width: 100%;
|
||||
border-color: inherit;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
text-indent: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue