diff --git a/assets/css/main.css b/assets/css/main.css index b1874d7c..5afb1a55 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -47,7 +47,13 @@ } .toc { - border-bottom: 1px solid var(--border); - font-size: 20px; + margin-bottom: 40px; + border: 1px solid var(--border); + border-radius: 4px; + padding: .5em; +} + +.toc .details { + display: inline; font-weight: 500; } \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a2775fcb..8ba8fc60 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,10 +13,16 @@ {{ if .Params.ShowToc }} -
-+Table of Contents- {{ .TableOfContents }} -
+ {{ .TableOfContents }} ++