diff --git a/docs/_static/style.css b/docs/_static/style.css index 28d9fe8e..c6eb2ab1 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -9,6 +9,7 @@ body { } .wy-nav-content { + max-width: 900px; background: #fdfdfd; } @@ -57,8 +58,9 @@ a, a:visited { } .wy-nav-side { - background-image: linear-gradient(0deg,#fdfdfd 0%,#edf7fd 100%); + background: linear-gradient(0deg,#fdfdfd 0%,#edf7fd 100%); color: #000000; + overflow: auto; } .wy-menu-vertical a { @@ -189,6 +191,10 @@ a, a:visited { content: "ScPCA Portal" } +.rst-versions{ + margin-left: max(calc(50% - 600px), 0px); +} + div.version { color: white !important; } @@ -196,7 +202,7 @@ div.version { @media (min-width: 950px) { .wy-grid-for-nav { position: relative; - width: 900px; + max-width: 1200px; margin-left: auto; margin-right: auto; }