diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index c0ae488c..84993bf1 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -13,7 +13,7 @@ module.exports = { organizationName: "Dagger", projectName: "Dagger", stylesheets: [ - "https://fonts.googleapis.com/css2?family=Karla&family=Poppins:wght@700&display=swap", + "https://fonts.googleapis.com/css2?family=Karla&family=Montserrat:wght@700&display=swap", ], themeConfig: { sidebarCollapsed: false, diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index 45e6eca4..d420a7b5 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -51,6 +51,7 @@ $desktop-xl-width: 1160px; --ifm-container-width-xl: 100%; --ifm-font-color-base: var(--ifm-color-primary-dark); --ifm-font-family-base: "Karla", sans-serif; + --ifm-font-family-title: "Montserrat", "Arial", sans-serif; --ifm-font-family-monospace: "Courier new", sans-serif; --ifm-h2-font-size: 2rem; --ifm-leading-desktop: 1; @@ -61,8 +62,9 @@ $desktop-xl-width: 1160px; --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,'); - --ifm-navbar-height: 6rem; + --ifm-navbar-height: 7rem; --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; @@ -90,8 +92,9 @@ html[data-theme="dark"] { /* global */ h1, -h2 { - font-family: "Poppins", sans-serif; +h2, +h3 { + font-family: var(--ifm-font-family-title); } h2 { @@ -217,7 +220,7 @@ h1[class^="h1Heading"] { .button { background: var(--ifm-color-secondary); - font-family: "Poppins", sans-serif; + font-family: var(--ifm-font-family-title); font-size: 1rem; font-style: normal; font-weight: 700; @@ -243,7 +246,7 @@ h1[class^="h1Heading"] { .navbar__brand { height: 3rem; @include desktop { - height: 4rem; + height: 7rem; } } @@ -461,7 +464,7 @@ button[class^="copyButton"] { @include tablet { display: flex; justify-content: center; - font-family: "Poppins", sans-serif; + font-family: var(--ifm-font-family-title); font-size: 1rem; font-style: normal; font-weight: 700; diff --git a/website/static/img/dagger-logo.png b/website/static/img/dagger-logo.png index 4b09bb23..cf0d80b0 100644 Binary files a/website/static/img/dagger-logo.png and b/website/static/img/dagger-logo.png differ