Add extra scale for large width chapter lists

This commit is contained in:
Tetrakern 2024-03-09 17:15:51 +01:00
parent 0d9970a342
commit 4e6c7cd4d0
3 changed files with 10 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -666,6 +666,10 @@ html:not(.logged-in) body:not(.logged-in) {
line-height: 1.3;
width: fit-content;
@container (min-width: 900px) {
font-size: var(--chapter-list-link-font-size, 14.5px);
}
&:hover {
color: var(--chapter-list-link-color-hover, var(--heading-link-color-hover));
}
@ -680,6 +684,10 @@ html:not(.logged-in) body:not(.logged-in) {
font-weight: var(--font-weight-normal);
line-height: 1.3;
@container (min-width: 900px) {
font-size: var(--chapter-list-subrow-font-size, 12.75px);
}
> :is(span, time):not(:last-child)::after {
content: "";
color: var(--chapter-list-subrow-divider-color, var(--fg-800));