diff options
| author | Jieiku | 2023-09-28 10:12:53 -0700 |
|---|---|---|
| committer | Jieiku | 2023-09-28 10:12:53 -0700 |
| commit | 4343b5799cdae7f75a0c4d639482dabfc2c5f318 (patch) | |
| tree | e4b9419866a75c7a092d14ed964a5e7732181b6b | |
| parent | 0968b8ffbae62db8fcbb2f724d61bf24642072e2 (diff) | |
| download | abridge-4343b5799cdae7f75a0c4d639482dabfc2c5f318.tar.gz abridge-4343b5799cdae7f75a0c4d639482dabfc2c5f318.tar.bz2 abridge-4343b5799cdae7f75a0c4d639482dabfc2c5f318.zip | |
Series Navigation, color current page.
| -rw-r--r-- | sass/abridge.scss | 4 | ||||
| -rw-r--r-- | templates/macros/macros.html | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sass/abridge.scss b/sass/abridge.scss index 9f008de..608081c 100644 --- a/sass/abridge.scss +++ b/sass/abridge.scss @@ -1213,6 +1213,10 @@ $syntax: true !default;//syntax highlighting for code blocks margin-bottom: .2rem; color: var(--c4); } + .scur {//series current page + font-weight: var(--fh); + color: var(--a1); + } } ol,ul { font-size: 1em; diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 21c943d..a6d31c6 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -15,7 +15,7 @@ {%- set uglyurls = config.extra.uglyurls | default(value=false) -%} {%- if config.extra.offline %}{% set uglyurls = true %}{% endif %} {%- if inner.content == page.content %} - <li><a href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"><b>{{ inner.title }}</b></a></li> + <li><a class="scur" href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"><b>{{ inner.title }}</b></a></li> {% else %} <li><a href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ inner.title }}</a></li> {%- endif %} |
