diff --git a/components/TableOfContents.jsx b/components/TableOfContents.jsx
index 9ca3e835..3a5710b1 100644
--- a/components/TableOfContents.jsx
+++ b/components/TableOfContents.jsx
@@ -9,81 +9,93 @@ import "../src/css/toc.css";
*/
export default function TableOfContents() {
return (
-
+
);
}
diff --git a/src/css/toc.css b/src/css/toc.css
index b36151b1..46585db8 100644
--- a/src/css/toc.css
+++ b/src/css/toc.css
@@ -1,7 +1,23 @@
/**
* For table of contents items
*/
-.TOC {
+.TOC-container {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+}
+
+.TOC-content {
+ display: flex;
+ flex-direction: row;
+ align-items: top;
+ justify-self: center;
+ margin: 1.5vh 0;
+ gap: 5.5vw;
+ padding: 0;
+}
+
+.TOC-col {
display: flex;
flex-direction: column;
align-items: center;
@@ -10,7 +26,7 @@
padding: 0;
}
-.TOC > ul {
+.TOC-col > ul {
display: inline-block;
text-align: center;
list-style: none;
@@ -18,12 +34,12 @@
margin: 0;
}
-.TOC > ul > li {
+.TOC-col > ul > li {
margin-bottom: 1.5vh;
font-size: large;
}
-.TOC > ul > li > ul {
+.TOC-col > ul > li > ul {
text-align: center;
list-style: none;
padding: 0;