diff --git a/themes/chosto/static/css/custom.css b/themes/chosto/static/css/custom.css index 51c84f4..56f0129 100644 --- a/themes/chosto/static/css/custom.css +++ b/themes/chosto/static/css/custom.css @@ -29,45 +29,4 @@ p:not(.title,.subtitle) { /* New font is "smaller" in feeling */ .navbar-dropdown { font-size: 1rem; -} - -/* Add counter to title */ -body { - counter-reset: h2 -} - -h2 { - counter-reset: h3 -} - -h3 { - counter-reset: h4 -} - -h4 { - counter-reset: h5 -} - -article h2:before { - counter-increment: h2; - content: counter(h2) ". " -} - -article h3:before { - counter-increment: h3; - content: counter(h2) "." counter(h3) ". " -} - -article h4:before { - counter-increment: h4; - content: counter(h2) "." counter(h3) "." counter(h4) ". " -} - -article .toc__menu ul { - counter-reset: item -} - -article .toc__menu li a:before { - content: counters(item, ".") ". "; - counter-increment: item } \ No newline at end of file