Skip to content

Commit

Permalink
fixup! doc: fix color contrast on <kbd> elements
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Feb 2, 2021
1 parent 2633c99 commit 13af518
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions doc/api_assets/style.css
Expand Up @@ -760,33 +760,6 @@ kbd {
display: block;
}

.js-flavor-selector {
appearance: none;
float: right;
background-image: url(./js-flavor-cjs.svg);
background-size: contain;
background-repeat: no-repeat;
width: 142px;
height: 20px;
}
.js-flavor-selector:checked {
background-image: url(./js-flavor-esm.svg);
}
.js-flavor-selector:not(:checked) ~ .esm,
.js-flavor-selector:checked ~ .cjs {
display: none;
}
.dark-mode .js-flavor-selector {
filter: invert(1);
}
@supports (aspect-ratio: 1 / 1) {
.js-flavor-selector {
height: 1.5em;
width: auto;
aspect-ratio: 2719 / 384;
}
}

@media print {
html {
height: auto;
Expand Down

0 comments on commit 13af518

Please sign in to comment.