Skip to content

Commit

Permalink
Merge pull request #59 from cdw9/54_code
Browse files Browse the repository at this point in the history
adjustments for code styles, table headers
  • Loading branch information
cdw9 authored Dec 9, 2024
2 parents 82821ac + eada473 commit b3355ac
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions boostlook.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,17 @@ html.dark {
url("https://cppalliance.org/fonts/NotoSansMono.ttf") format('truetype');
}

@font-face {
font-family: "Noto Sans Mono";
font-style: normal;
font-weight: 400;
font-stretch: ultra-condensed;
font-display: block;
src: url("/_/boostlook/NotoSansMono.ttf") format("truetype"),
url("../../../../tools/boostlook/NotoSansMono.ttf") format("truetype"),
url("https://cppalliance.org/fonts/NotoSansMono.ttf") format('truetype');
}

/*----------------- Font-Face Declarations end -----------------*/

/*----------------- CSS Reset start -----------------*/
Expand Down Expand Up @@ -260,7 +271,7 @@ p, h1, h2, h3, h4, h5, h6 {

.boostlook {
font-family: "Noto Sans Display" !important;
font-stretch: condensed;
font-stretch: 90%;
}

.boostlook h1,
Expand Down Expand Up @@ -336,7 +347,8 @@ p, h1, h2, h3, h4, h5, h6 {
text-decoration: none;
}

.boostlook code {
.boostlook code,
.boostlook pre code {
font-family: "Noto Sans Mono", monospace;
margin-bottom: 1.25rem;
}
Expand Down Expand Up @@ -373,6 +385,7 @@ p, h1, h2, h3, h4, h5, h6 {
background: none;
padding: 0;
font-weight: 400;
font-stretch: 90%;
color: var(--bl-code-text-color) !important;
}

Expand Down Expand Up @@ -406,6 +419,10 @@ p, h1, h2, h3, h4, h5, h6 {
color: var(--bl-link-hover-color) !important;
}

.boostlook td code {
margin-bottom: 10px;
}

.boostlook .quoteblock,
.boostlook .verseblock {
background: var(--bl-quote-background);
Expand Down Expand Up @@ -909,14 +926,18 @@ p, h1, h2, h3, h4, h5, h6 {
margin-bottom: 1.5rem;
}
.boostlook .doc table.tableblock tr th {
background-color: transparent;
background-color: var(--bl-table-head-background);
font-size: 1rem;
}

.dark .doc table.stripes-even>tbody>tr:nth-of-type(2n) {
background-color: var(--bl-table-stripe-color);
}

.boostlook .doc p.tableblock + p.tableblock {
margin-top: .25rem;
}

/* Toolbar */
.boostlook .toolbar .breadcrumbs a,
.boostlook .toolbar .breadcrumbs li {
Expand Down

0 comments on commit b3355ac

Please sign in to comment.