Skip to content

Commit

Permalink
remove hardcoding of spacing options-2
Browse files Browse the repository at this point in the history
Co-authored-by: Yihui Xie <[email protected]>
  • Loading branch information
hayden-MB and yihui authored Oct 23, 2024
1 parent fdc3b35 commit 43fbc5b
Showing 1 changed file with 2 additions and 92 deletions.
94 changes: 2 additions & 92 deletions inst/resources/gitbook/css/plugin-fontsettings.css
Original file line number Diff line number Diff line change
Expand Up @@ -303,96 +303,6 @@ div.book.color-theme-2 {
}

/* line-height */
.book.line-height-0 .book-body .page-inner section{
line-height: 1.0;
.book .book-body .page-wrapper .page-inner section.normal {
line-height: attr(data-line-height);
}

.book.line-height-1 .book-body .page-inner section{
line-height: 1.1;
}

.book.line-height-2 .book-body .page-inner section{
line-height: 1.2;
}

.book.line-height-3 .book-body .page-inner section{
line-height: 1.3;
}

.book.line-height-4 .book-body .page-inner section{
line-height: 1.4;
}

.book.line-height-5 .book-body .page-inner section{
line-height: 1.5;
}

.book.line-height-6 .book-body .page-inner section{
line-height: 1.6;
}

.book.line-height-7 .book-body .page-inner section{
line-height: 1.7;
}

.book.line-height-8 .book-body .page-inner section{
line-height: 1.8;
}

.book.line-height-9 .book-body .page-inner section{
line-height: 1.9;
}

.book.line-height-10 .book-body .page-inner section{
line-height: 2.0;
}

.book.line-height-11 .book-body .page-inner section{
line-height: 2.1;
}

.book.line-height-12 .book-body .page-inner section{
line-height: 2.2;
}

.book.line-height-13 .book-body .page-inner section{
line-height: 2.3;
}

.book.line-height-14 .book-body .page-inner section{
line-height: 2.4;
}

.book.line-height-15 .book-body .page-inner section{
line-height: 2.5;
}

.book.line-height-16 .book-body .page-inner section{
line-height: 2.6;
}

.book.line-height-17 .book-body .page-inner section{
line-height: 2.7;
}

.book.line-height-17 .book-body .page-inner section{
line-height: 2.7;
}

.book.line-height-17 .book-body .page-inner section{
line-height: 2.7;
}

.book.line-height-18 .book-body .page-inner section{
line-height: 2.8;
}

.book.line-height-19 .book-body .page-inner section{
line-height: 2.9;
}
.book.line-height-20 .book-body .page-inner section{
line-height: 3.0;
}



0 comments on commit 43fbc5b

Please sign in to comment.