Skip to content

Commit

Permalink
style(docs): fix some doc site style issue
Browse files Browse the repository at this point in the history
fix some doc site style issue
  • Loading branch information
simeng-li committed Jul 12, 2022
1 parent 46f2c9d commit bdd6e75
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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);
Expand All @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit bdd6e75

Please sign in to comment.