summary refs log tree commit diff
path: root/develop/website_files
diff options
context:
space:
mode:
authorAzrenbeth <Azrenbeth@users.noreply.github.com>2021-08-27 14:19:43 +0000
committerAzrenbeth <Azrenbeth@users.noreply.github.com>2021-08-27 14:19:43 +0000
commit24d8c35592de2e310a6c9e15fce7f18dcddceea0 (patch)
tree75f5337fb4db3880c2a15c713d87e17033767273 /develop/website_files
parentdeploy: 051ddac53b733e5768488bac7548a0c31bf68982 (diff)
downloadsynapse-24d8c35592de2e310a6c9e15fce7f18dcddceea0.tar.xz
deploy: 54aa7047ebf0d2605e31bdd4933effc4eb63813b
Diffstat (limited to 'develop/website_files')
-rw-r--r--develop/website_files/table-of-contents.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/develop/website_files/table-of-contents.css b/develop/website_files/table-of-contents.css
index d16bb3b988..1b6f44b66a 100644
--- a/develop/website_files/table-of-contents.css
+++ b/develop/website_files/table-of-contents.css
@@ -1,3 +1,7 @@
+:root {
+    --pagetoc-width: 250px;
+}
+
 @media only screen and (max-width:1439px) {
     .sidetoc {
         display: none;
@@ -8,6 +12,7 @@
     main {
         position: relative;
         margin-left: 100px !important;
+        margin-right: var(--pagetoc-width) !important;
     }
     .sidetoc {
         margin-left: auto;
@@ -18,7 +23,7 @@
     }
     .pagetoc {
         position: fixed;
-        width: 250px;
+        width: var(--pagetoc-width);
         overflow: auto;
         right: 20px;
         height: calc(100% - var(--menu-bar-height));