Compare commits

...
Sign in to create a new pull request.
Author SHA1 Message Date
zvecr
72c2e3f11c Temp fix for sidebar 2024-05-30 05:04:40 +01:00
zvecr
ae30e4391f Update docs theming 2024-05-30 04:55:56 +01:00
6 changed files with 15 additions and 9 deletions

View file

@ -28,10 +28,10 @@ export default defineConfig(({ mode }) => {
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: {
light: "/badge-community-light.svg",
dark: "/badge-community-dark.svg",
light: "/qmk_icon_512.png",
dark: "/qmk_icon_light_512.png",
},
siteTitle: false,
title: 'QMK Firmware',
nav: [{ text: "Home", link: "./" }],

View file

@ -1,17 +1,25 @@
/* Override <kbd> as vitepress doesn't put them with borders */
kbd {
border: 1px solid var(--vp-c-text-1);
border-radius: 0.6em;
border-radius: 5px;
margin: 0.2em;
padding: 0.2em;
}
:root {
--vp-nav-logo-height: 100%;
--vp-nav-logo-height: 32px;
--vp-layout-max-width: calc(100% + 64px);
--vp-sidebar-width: 300px;
}
.logo {
padding-bottom: 0.2em;
.dark .logo {
filter: opacity(0.86);
}
.VPDoc.has-aside .content-container {
max-width: unset !important;
}
.VPNavBarTitle.has-sidebar .title {

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 51 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB