Redesign the docs layout and simplify the menu structure (#2902)

This commit is contained in:
Paweł Kuna
2026-08-19 22:30:14 +02:00
committed by GitHub
parent 22d0cd719b
commit 9dd26fd643
213 changed files with 11079 additions and 3928 deletions
+20 -1
View File
@@ -55,7 +55,26 @@
// Markdown tables pick up the styled table look (from `ui/_markdown.scss`)
.prose > table,
.markdown > table {
@extend .table, .table-bordered, .table-sm;
@extend .table;
font-size: var(--body-font-size);
th:first-child,
td:first-child {
padding-left: 0;
}
th:last-child,
td:last-child {
padding-right: 0;
}
tr:last-child > * {
border-bottom: 0;
}
th {
--bg-surface-tertiary: transparent;
}
}
// Light-scoped subtrees inside a dark body inherit the dark styles
+1
View File
@@ -6,6 +6,7 @@
--nav-vertical-nested-padding-start: #{$nav-vertical-nested-padding-start};
--nav-link-toggle-padding-x: #{$nav-link-toggle-padding-x};
--nav-link-icon-margin-end: #{$nav-link-icon-margin-end};
font-size: var(--body-font-size);
}
.nav-vertical {
+1 -2
View File
@@ -24,6 +24,5 @@
.offcanvas-narrow {
--offcanvas-narrow-width: #{$offcanvas-narrow-width};
width: var(--offcanvas-narrow-width);
--offcanvas-width: var(--offcanvas-narrow-width);
}
+4
View File
@@ -91,6 +91,10 @@ blockquote {
p {
margin-bottom: var(--blockquote-paragraph-margin-bottom);
&:last-child {
margin-bottom: 0;
}
}
cite {
+4
View File
@@ -92,6 +92,10 @@ Image check
.form-imagecheck-input:checked ~ .form-imagecheck-figure & {
opacity: 1;
}
.avatar {
border-radius: inherit;
}
}
.form-imagecheck-caption {