docs: 🐛 keep fixing css due to docusaurus update

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2021-07-01 14:29:16 +02:00 committed by Andrea Luzzardi
parent d0169727c2
commit 86dfbc4a6b

View File

@ -129,13 +129,23 @@ p {
line-height: 24px; line-height: 24px;
} }
a[class*="menuLinkExternal"]:after { a[target="_blank"]:not(.edit-this-page) {
background: url("/img/Dagger_Icons_External-link.svg") no-repeat; svg {
position: absolute; display: none;
right: var(--ifm-menu-link-padding-horizontal); }
top: var(--ifm-menu-link-padding-vertical); &:after {
height: 1.25rem; background: var(--ifm-color-primary-darker);
width: 1.25rem; mask: url("/img/Dagger_Icons_External-link.svg") no-repeat;
position: absolute;
content:'';
right: var(--ifm-menu-link-padding-horizontal);
top: var(--ifm-menu-link-padding-vertical);
height: 1.25rem;
width: 1.25rem;
}
html[data-theme="dark"] &:after {
background: var(--ifm-color-primary-light);
}
} }
h1[class^="h1Heading"] { h1[class^="h1Heading"] {