aboutsummaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-05-31 01:34:30 +0100
committerGitHub <[email protected]>2024-05-31 10:34:30 +1000
commit119e54e9e3db66355a07be5f8db9fcc81b65f1ff (patch)
tree0dbca754bc72a2cd868caf73ce19be939a1967c4 /builddefs
parent32af90ae840714d0fcb8dc438bc519e88ab63e1f (diff)
downloadqmk_firmware-119e54e9e3db66355a07be5f8db9fcc81b65f1ff.tar.gz
qmk_firmware-119e54e9e3db66355a07be5f8db9fcc81b65f1ff.zip
Docs theme updates (#23832)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/docsgen/.vitepress/theme/custom.css14
1 files changed, 13 insertions, 1 deletions
diff --git a/builddefs/docsgen/.vitepress/theme/custom.css b/builddefs/docsgen/.vitepress/theme/custom.css
index 77726adede..732cb5b74f 100644
--- a/builddefs/docsgen/.vitepress/theme/custom.css
+++ b/builddefs/docsgen/.vitepress/theme/custom.css
@@ -1,7 +1,19 @@
/* 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: 32px;
+
+ --vp-layout-max-width: calc(98% + 64px);
+
+ --vp-sidebar-width: 300px;
+}
+
+.VPDoc.has-aside .content-container {
+ max-width: unset !important;
+}