aboutsummaryrefslogtreecommitdiff
path: root/builddefs/docsgen/.vitepress/theme/custom.css
diff options
context:
space:
mode:
Diffstat (limited to 'builddefs/docsgen/.vitepress/theme/custom.css')
-rw-r--r--builddefs/docsgen/.vitepress/theme/custom.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/builddefs/docsgen/.vitepress/theme/custom.css b/builddefs/docsgen/.vitepress/theme/custom.css
new file mode 100644
index 0000000000..646d215c1f
--- /dev/null
+++ b/builddefs/docsgen/.vitepress/theme/custom.css
@@ -0,0 +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;
+ margin: 0.2em;
+ padding: 0.2em;
+}
+
+:root {
+ --vp-nav-logo-height: 100%;
+}
+
+.logo {
+ padding-bottom: 0.2em;
+}
+
+.VPNavBarTitle.has-sidebar .title {
+ border-bottom: 0;
+}