Skip to content

Commit

Permalink
libraryReadMe style fixes for consistency
Browse files Browse the repository at this point in the history
* margin beneath lists
* heading font sizes to match Antora
  • Loading branch information
cdw9 committed Dec 13, 2024
1 parent 78a00e2 commit 35446e1
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions boostlook.css
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,10 @@ html:has(.boostlook)::-webkit-scrollbar {
margin-left: 0;
}

.boostlook#libraryReadMe ul {
margin-bottom: 1.5rem;
}

.boostlook#libraryReadMe pre {
padding: 0;
}
Expand Down Expand Up @@ -1026,17 +1030,26 @@ html:has(.boostlook)::-webkit-scrollbar {

/*---------- Quickbook docs styling fixes -----------*/

#boost-legacy-docs-wrapper.boostlook h2 {
#boost-legacy-docs-wrapper.boostlook h1,
#libraryReadMe.boostlook h1 {
font-size: 2rem;
}

#boost-legacy-docs-wrapper.boostlook h2,
#libraryReadMe.boostlook h2 {
font-size: 2rem;
border-bottom: 1px solid #eaf0f3;
border-bottom: 1px solid var(--bl-table-border-color);
font-weight: 500;
}

#boost-legacy-docs-wrapper.boostlook h3 {
#boost-legacy-docs-wrapper.boostlook h3,
#libraryReadMe.boostlook h3 {
font-size: 1.5rem;
}

#boost-legacy-docs-wrapper.boostlook h4 {
#boost-legacy-docs-wrapper.boostlook h4,
#libraryReadMe.boostlook h4 {
font-size: 1.35rem;
}

Expand Down

0 comments on commit 35446e1

Please sign in to comment.