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

@ -131,7 +131,7 @@ details[role="list"] {
right: 0;
bottom: 0;
left: 0;
background: transparent;
background: none;
content: "";
cursor: default;
}
@ -168,11 +168,11 @@ nav [role="list"] {
&[open] summary {
border-radius: var(--border-radius);
}
summary + ul {
margin-top: var(--outline-width);
}
summary[role="link"] {
margin-bottom: calc(var(--nav-link-spacing-vertical) * -1);
line-height: var(--line-height);

View file

@ -21,7 +21,7 @@ dialog {
height: inherit;
min-height: 100%;
padding: var(--spacing);
border: none;
border: 0;
background-color: var(--modal-overlay-background-color);
// Content

View file

@ -2,6 +2,18 @@
* Nav
*/
// Reboot based on :
// - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
// Prevent VoiceOver from ignoring list semantics in Safari (opinionated)
:where(nav li)::before {
float: left;
content: "\200B";
}
// Pico
//
// Horizontal Nav
nav,
nav ul {

View file

@ -4,7 +4,7 @@
// 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
//
// 1. Add the correct display in Edge 18- and IE
@ -40,7 +40,7 @@ progress {
&::-webkit-progress-bar {
border-radius: var(--border-radius);
background: transparent;
background: none;
}
&[value]::-webkit-progress-value {
background-color: var(--progress-color);