feat(layout): More reasonnable column sizes
All checks were successful
build configuration / build (push) Successful in 29s

The width of the menu bar depends on the largest item.
This may be brittle.
This commit is contained in:
Sélène Corbineau 2024-11-08 11:02:03 +01:00
parent 207eca79fe
commit 7821dfd41f
2 changed files with 13 additions and 0 deletions

9
docs/css/width_tweak.css Normal file
View file

@ -0,0 +1,9 @@
:root {
--page-width: 120em
}
@media only screen and (min-width: 70em) {
.terminal-mkdocs-main-grid {
grid-template-columns: max-content 10fr;
}
}

View file

@ -4,6 +4,10 @@ theme:
name: terminal
custom_dir: overrides
# features: navigation.top.hide
extra_css:
- css/width_tweak.css
nav:
- Projets:
- Borne d'arcade: projects/arcade.md