diff options
| -rw-r--r-- | sass/abridge.scss | 9 | ||||
| -rw-r--r-- | templates/macros/macros.html | 2 | ||||
| -rw-r--r-- | templates/page.html | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/sass/abridge.scss b/sass/abridge.scss index 608081c..65b50ef 100644 --- a/sass/abridge.scss +++ b/sass/abridge.scss @@ -1200,6 +1200,10 @@ $syntax: true !default;//syntax highlighting for code blocks ol { margin: 0; } + .scur {//series current page + font-weight: var(--fh); + color: var(--a1); + } } .sblock { @if $series { @@ -1213,10 +1217,7 @@ $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 a6d31c6..9d794ee 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 class="scur" 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 %}">{{ inner.title }}</a></li> {% else %} <li><a href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ inner.title }}</a></li> {%- endif %} diff --git a/templates/page.html b/templates/page.html index b362877..8b63ac7 100644 --- a/templates/page.html +++ b/templates/page.html @@ -64,7 +64,7 @@ <ol> {%- for inner in tag.pages | sort(attribute="date") %} {%- 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 %}">{{ inner.title }}</a></li> {%- set_global current_section_index = loop.index0 %} {# Finds the current section, needed for pagination logic later #} {% else %} <li><a href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ inner.title }}</a></li> |
