Merge pull request #878 from slumbering/830-target-blank

display target blank icon only for sidebar menu
This commit is contained in:
Sam Alba 2021-08-09 13:48:52 +02:00 committed by GitHub
commit ac56f4490c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ p {
line-height: 24px; line-height: 24px;
} }
a[target="_blank"]:not(.edit-this-page) { a.menu__link[target="_blank"] {
svg { svg {
display: none; display: none;
} }
@ -137,7 +137,7 @@ a[target="_blank"]:not(.edit-this-page) {
background: var(--ifm-color-primary-darker); background: var(--ifm-color-primary-darker);
mask: url("/img/Dagger_Icons_External-link.svg") no-repeat; mask: url("/img/Dagger_Icons_External-link.svg") no-repeat;
position: absolute; position: absolute;
content:''; content: "";
right: var(--ifm-menu-link-padding-horizontal); right: var(--ifm-menu-link-padding-horizontal);
top: var(--ifm-menu-link-padding-vertical); top: var(--ifm-menu-link-padding-vertical);
height: 1.25rem; height: 1.25rem;