Skip to content

Commit

Permalink
Improve chapter author/subtitle link color in ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
SteelWagstaff committed Nov 16, 2021
1 parent 770b0f5 commit e7c63d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 2 additions & 0 deletions assets/legacy/styles/_prince-toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
display: inline-block;
width: 75%;
text-indent: 0;
color: inherit;
}

/* TOC CHAPTER NUMBERS */
Expand Down Expand Up @@ -610,6 +611,7 @@
display: none;
width: 75%;
text-indent: 0;
color: inherit;
}

/* TOC CHAPTER NUMBERS */
Expand Down
5 changes: 2 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions packages/buckram/assets/styles/components/toc/_generic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,10 @@
text-indent: 0;
}

.chapter-subtitle {
hyphens: none;
text-indent: 0;
}

.chapter-author {
.chapter-subtitle, .chapter-author {
hyphens: none;
text-indent: 0;
color: inherit;
}

.chapter-license {
Expand Down Expand Up @@ -219,7 +215,7 @@
}

@if $type == 'prince' {

#toc {
display: $toc-display;
counter-reset: part;
Expand Down

0 comments on commit e7c63d1

Please sign in to comment.