Skip to content

Commit

Permalink
Merge branch 'development' into liskdocs-19-mobile-dapp-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschakki authored Dec 5, 2024
2 parents e8d103e + e8d02df commit ab8f645
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
11 changes: 9 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ const config = {
defaultLocale: 'en',
locales: ['en', 'ind'],
localeConfigs: {
en: {
label: 'English',
direction: 'ltr',
htmlLang: 'en-US',
calendar: 'gregory',
path: 'en',
},
ind: {
label: 'Indonesian',
},
Expand Down Expand Up @@ -99,9 +106,9 @@ const config = {
srcDark: '/img/lisk-docs-dark.svg',
},
items: [
/*{
/*
TODO: Uncomment when all localozed pages are translated
/* {
{
type: 'localeDropdown',
position: 'right',
}, */
Expand Down
11 changes: 8 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
--ifm-font-color-base: #000000;
--ifm-menu-color: #000000;
--ifm-toc-link-color: #000000;
--ifm-link-color: rgba(97, 63, 255, 1);
--ifm-button-color: #000000;
}

Expand Down Expand Up @@ -105,7 +104,14 @@ html[data-theme='dark'] .alert--info {
a {
display: inline-block;
scroll-margin-top: var(--ifm-navbar-height);
text-decoration-color: var(--ifm-color-primary);
}

.markdown a {
text-decoration: underline;
}

.markdown a:hover {
font-weight: bold;
}

.alert a {
Expand Down Expand Up @@ -205,7 +211,6 @@ article iframe {
--ifm-font-color-base: #FFFFFF;
--ifm-toc-link-color: #FFFFFF;
--ifm-menu-color: #FFFFFF;
--ifm-link-color: rgba(0, 170, 98, 1);
--ifm-tabs-color-active-border: rgba(0, 170, 98, 1);
--ifm-alert-border-color: rgba(0, 170, 98, 1);
}
Expand Down
8 changes: 8 additions & 0 deletions src/css/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@

.menu__list {
padding-left: .5em;
}

.table-of-contents__link {
opacity: 70%;
}

.table-of-contents__link:hover {
opacity: 100%;
}

0 comments on commit ab8f645

Please sign in to comment.