docs: 💄 remove icons overloading + few css changes

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge
2021-11-08 15:25:46 +01:00
parent 88e9662244
commit 07404ae25e
7 changed files with 6 additions and 326 deletions

View File

@@ -61,13 +61,11 @@ $desktop-xl-width: 1160px;
--ifm-menu-color-active: var(--ifm-color-primary-dark);
--ifm-menu-color-background-hover: #fdf9d7;
--ifm-menu-color-background-active: var(--ifm-menu-color-background-hover);
--ifm-menu-link-sublist-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M3.318 9.128a24.776 24.776 0 004.224-3.993.842.842 0 011.32.026c1.227 1.618 2.107 3.387 3.831 4.556.889.6-.159 1.9-1.044 1.3A14.369 14.369 0 018.14 7a30.457 30.457 0 01-3.829 3.463c-.845.671-1.834-.67-.993-1.335z" fill="%23131226" /></svg>');
--ifm-navbar-height: 6rem;
--ifm-navbar-background-color: var(--ifm-color-primary-dark);
--ifm-navbar-padding-vertical: 0;
--ifm-pagination-nav-border-radius: 0;
--ifm-pre-padding: 2rem;
--ifm-toc-border-color: transparent;
--ifm-toc-link-color: var(--ifm-color-primary-dark);
}
@@ -191,7 +189,7 @@ h1[class^="h1Heading"] {
margin-bottom: 3rem;
}
.edit-this-page {
.theme-edit-this-page {
font-weight: bold;
display: flex;
align-items: center;
@@ -341,7 +339,11 @@ a[class^="sidebarLogo"] {
main[class^="docMainContainer"] {
background: #ffffff;
padding: 2rem;
padding: 2rem 2rem 2rem 4rem;
@include tablet {
padding: 2rem;
}
html[data-theme="dark"] & {
background: var(--ifm-color-primary-dark);
@@ -566,19 +568,6 @@ button[class^="copyButton"] {
}
/* docsearch */
.DocSearch-Button-Container {
.DocSearch-Search-Icon {
display: none;
}
&:before {
content: "";
background-color: black;
mask: url("/img/Dagger_Icons_Search.svg");
display: block;
width: 20px;
height: 20px;
}
}
.DocSearch-Button {
margin-right: 2rem !important;