diff --git a/src/scss/custom.scss b/src/scss/custom.scss index 34f284f9e72..32e2b4db234 100644 --- a/src/scss/custom.scss +++ b/src/scss/custom.scss @@ -23,6 +23,7 @@ --doc-sidebar-section-title: #c9c5d0; --logto-border: #c4c7c7; --ifm-menu-link-sublist-icon: url('/static/img/menu-link-sublist-icon.svg'); + --ifm-link-hover-decoration: none; --padding-max-width: 100px; } @@ -41,6 +42,10 @@ --logto-border: #5c5f60; } +body #__docusaurus { + min-height: 100vh; +} + // Top Nav .navbar { box-shadow: 0px 4px 8px rgba(66, 41, 159, 0.08); @@ -51,6 +56,15 @@ margin-right: _.unit(2); } +.navbar__logo { + display: flex; + align-items: center; + + img { + height: 30px; + } +} + .navbar__item { font-size: 16px; line-height: 24px; @@ -89,6 +103,11 @@ word-break: break-word; } +// overwrite default link hover color. +a.menu__link:not(.menu__link--active):hover { + color: var(--ifm-menu-color); +} + .menu__list-item-collapsible { align-items: center;