From 22715b986769cceff51550c3e17adeee82014526 Mon Sep 17 00:00:00 2001 From: Tim McMackin Date: Wed, 31 Jan 2024 10:20:54 -0500 Subject: [PATCH] Language sidebar header --- src/css/custom.css | 10 ++++++++++ src/sidebars/ligoSidebar.js | 5 +++++ src/sidebars/smartpySidebar.js | 5 +++++ 3 files changed, 20 insertions(+) diff --git a/src/css/custom.css b/src/css/custom.css index 9426cf4df..622d76ee8 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -211,3 +211,13 @@ article a[target="_blank"]:after { content: url("/img/external_link.svg"); padding-left: 5px; } + +/* Language sidebar header */ +.sidebar-header { + font-family: 'GT Eesti Display', sans-serif; + font-weight: bold; + font-size: 16px; + line-height: 26px; + color: #4A4E52; + padding: var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal); +} diff --git a/src/sidebars/ligoSidebar.js b/src/sidebars/ligoSidebar.js index 6b34df671..9ab314bb1 100644 --- a/src/sidebars/ligoSidebar.js +++ b/src/sidebars/ligoSidebar.js @@ -1,6 +1,11 @@ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const ligoSidebar = [ + { + type: 'html', + value: '', + className: 'menu__list-item', + }, { type: 'ref', id: 'languages', diff --git a/src/sidebars/smartpySidebar.js b/src/sidebars/smartpySidebar.js index 393494faf..fab4f871f 100644 --- a/src/sidebars/smartpySidebar.js +++ b/src/sidebars/smartpySidebar.js @@ -1,6 +1,11 @@ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const smartpySidebar = [ + { + type: 'html', + value: '', + className: 'menu__list-item', + }, { type: 'ref', id: 'languages',