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 {
display: none;
}
&:after {
background: var(--ifm-color-primary-darker);
mask: url("/img/Dagger_Icons_External-link.svg") no-repeat;
position: absolute; position: absolute;
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;
width: 1.25rem; width: 1.25rem;
}
html[data-theme="dark"] &:after {
background: var(--ifm-color-primary-light);
}
} }
h1[class^="h1Heading"] { h1[class^="h1Heading"] {