diff --git a/sipa/config/default.py b/sipa/config/default.py index a17f3cb4..1a3b0097 100644 --- a/sipa/config/default.py +++ b/sipa/config/default.py @@ -25,7 +25,8 @@ 'sipa.utils.bootstraped_tables', 'sipa.utils.link_patch', 'meta', - 'attr_list' + 'attr_list', + 'toc' ] FLATPAGES_EXTENSION_CONFIGS = { 'sane_lists': {}, @@ -33,6 +34,9 @@ 'sipa.utils.link_patch': {}, 'meta': {}, 'attr_list': {}, + 'toc': { + 'permalink': " #" + } } # Mail configuration diff --git a/sipa/static/css/style.css b/sipa/static/css/style.css index 9824c8ed..fad088fb 100644 --- a/sipa/static/css/style.css +++ b/sipa/static/css/style.css @@ -20,6 +20,18 @@ a:not([class]):hover { text-decoration: underline; } +.headerlink { + color: var(--bs-secondary-color); + text-decoration: none; +} + +.headerlink:hover { + color: var(--bs-heading-color); + font-weight: bold; +} + + + @media (min-width: 768px) { .pg-header { display: block;