[doc] all: Center content when there's room

This commit is contained in:
Jonathan Rubenstein
2021-12-26 04:25:11 +02:00
committed by Geoffrey McRae
parent ff6c46f7ca
commit 936688ddac
2 changed files with 24 additions and 1 deletions

17
doc/css/center-rtd.css Normal file
View File

@@ -0,0 +1,17 @@
@media screen and (min-width:1100px) {
.wy-nav-content-wrap {
margin-left: auto;
}
.wy-nav-content {
margin: auto;
}
}
@media screen and (max-width:1430px) {
.wy-nav-content-wrap {
margin-left: 300px;
}
.wy-nav-content {
margin: 0;
}
}