docs: 🚑 reset deleted commit

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2021-08-23 11:34:02 +02:00
parent 3ec7275ea6
commit 582446d92e
2 changed files with 27 additions and 6 deletions

View File

@ -10,4 +10,9 @@
.btn__github { .btn__github {
width: 240px !important; width: 240px !important;
} border-radius: 0 !important;
}
.btn__github > div {
display: inline-flex !important;
}

View File

@ -133,11 +133,11 @@ a[target="_blank"]:not(.edit-this-page) {
svg { svg {
display: none; display: none;
} }
&:after { &:after {
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;
@ -185,7 +185,7 @@ h1[class^="h1Heading"] {
font-size: 1rem; font-size: 1rem;
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
line-height: 24px; line-height: 1;
letter-spacing: 0em; letter-spacing: 0em;
text-align: left; text-align: left;
padding: 1rem; padding: 1rem;
@ -268,7 +268,7 @@ main[class^="docMainContainer"] {
padding: 2rem; padding: 2rem;
html[data-theme="dark"] & { html[data-theme="dark"] & {
background: var(--ifm-color-primary); background: var(--ifm-color-primary-dark);
color: var(--ifm-color-primary-light); color: var(--ifm-color-primary-light);
} }
@ -354,7 +354,7 @@ button[class^="copyButton"] {
& > ul > li:nth-child(1) > a:nth-child(1) { & > ul > li:nth-child(1) > a:nth-child(1) {
padding-top: 2rem; padding-top: 2rem;
border: 0; border-top: 0;
} }
& > ul > li > a:nth-child(1) { & > ul > li > a:nth-child(1) {
@ -368,6 +368,10 @@ button[class^="copyButton"] {
border-color: #65627b; border-color: #65627b;
} }
} }
& > ul > li + li > a:nth-child(1) {
border-top: 0;
}
} }
.menu__list { .menu__list {
@ -391,11 +395,19 @@ button[class^="copyButton"] {
& + .menu__list & { & + .menu__list & {
padding-left: 2rem; padding-left: 2rem;
width: calc(100% - 1rem);
&:hover, &:hover,
&.active { &.active {
background-color: var(--ifm-color-primary-dark); background-color: var(--ifm-color-primary-dark);
color: var(--ifm-color-primary-light); color: var(--ifm-color-primary-light);
font-weight: bold;
}
html[data-theme="dark"] &:hover,
html[data-theme="dark"] &.active {
background-color: var(--ifm-color-secondary);
color: var(--ifm-color-primary-dark);
} }
&.menu__link--sublist:hover::after { &.menu__link--sublist:hover::after {
@ -431,6 +443,7 @@ button[class^="copyButton"] {
&.menu__link--sublist { &.menu__link--sublist {
color: var(--ifm-color-primary-dark); color: var(--ifm-color-primary-dark);
padding-right: 2rem;
&:hover { &:hover {
background-color: var(--ifm-color-primary-light); background-color: var(--ifm-color-primary-light);
@ -475,6 +488,9 @@ button[class^="copyButton"] {
@media (min-width: 1160px) { @media (min-width: 1160px) {
width: 350px; width: 350px;
} }
html[data-theme="dark"] & {
background-color: white;
}
} }
/* pagination */ /* pagination */