diff --git a/app/scss/components.scss b/app/scss/components.scss index b709fecd..a7edf985 100644 --- a/app/scss/components.scss +++ b/app/scss/components.scss @@ -172,13 +172,10 @@ blockquote { } .toc { - .nav-link { - color: #ADADAD; - padding: 0.25rem 0.5rem; + flex-basis: 25%; - &:hover, &.active { - color: #DDD; - } + .nav-link { + padding: 0.25rem 0.5rem; } .nav .nav { diff --git a/app/scss/custom.scss b/app/scss/custom.scss index 9a215259..2db5184c 100644 --- a/app/scss/custom.scss +++ b/app/scss/custom.scss @@ -1,5 +1,7 @@ :root { + --bs-link-color: rgb(99, 163, 230); --bs-link-color-rgb: 99, 163, 230; + --bs-link-hover-color: rgb(88, 145, 204); --bs-link-hover-color-rgb: 88, 145, 204; } @@ -166,10 +168,6 @@ pre { border-color: #00b05c; } -.btn-download:focus, .btn-download.focus { - -webkit-box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.5); - box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.5); -} .ranks-table tr { th, td { diff --git a/app/templates/base.html b/app/templates/base.html index d0f18147..6d01730e 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -16,7 +16,7 @@ {%- endif %} - + {% if noindex -%} diff --git a/app/templates/flatpage.html b/app/templates/flatpage.html index 692e167f..b4e0d207 100644 --- a/app/templates/flatpage.html +++ b/app/templates/flatpage.html @@ -11,14 +11,8 @@ {% set html = page.html %} {% if page.meta.get("toc", True) %}