Commit 14e83f6f authored by Kaushal Modi's avatar Kaushal Modi

Add some margin on top of ox-hugo TOC; add contrast to its border

parent 10fa0d2a
......@@ -86,7 +86,9 @@
/* Navigation Bar */
/* Hamburger Menu only for small screens */
/* Color border at the top of the page */
/* Table of Contents on side */
/* Table of Contents */
/* Table of Contents on side */
/* Table of Contents in body */
/* TeX, LaTeX, XeTeX rendering */
/* Series */
/* Footer */
......@@ -1734,7 +1736,8 @@ pre code.language-xml::before { content: 'XML'; }
color: red;
}
/* * Table of Contents on side */
/* * Table of Contents */
/* ** Table of Contents on side */
.hugotoc {
font-family: var(--sans-serif-1);
display: none;
......@@ -1786,12 +1789,14 @@ pre code.language-xml::before { content: 'XML'; }
padding-left: 1rem;
}
/* ** Table of Contents in body */
.ox-hugo-toc {
font-size: 0.9em;
border: 2px dotted var(--grey-light);
border: 2px dotted var(--grey);
background: var(--grey-bg);
max-width: 90%; /* Make the TOC div narrower than body */
margin-left: 5%; /* Sort of center align it: 5 + 90 + 5 */
margin-top: 1rem;
margin-bottom: 2rem;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment