Skip to content

Commit

Permalink
Font size tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheiss committed May 30, 2023
1 parent e6355bc commit d8988c6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions html/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $dark: $gray-800 !default;
$font-family-sans-serif: Fira Sans Condensed, sans-serif !default;
$font-family-serif: Barlow, serif !default; /* Not actually a serif font but whatever */

$font-size-base: 1.15rem !default;
$font-size-base: 1.2rem !default;
$headings-font-weight: 700 !default;

$h1-font-size: $font-size-base * 2.35;
Expand All @@ -53,7 +53,7 @@ $h6-font-size: $font-size-base * 0.8;

$toc-font-size: 0.95rem;
$sidebar-font-size: 1.1rem;
$sidebar-font-size-section: 0.9rem;
$sidebar-font-size-section: 0.95rem;

$link-color: $red;
$link-hover-color: $yellow;
Expand All @@ -76,6 +76,16 @@ ol {
font-family: $font-family-serif;
}

// Slightly bigger callouts
.callout.callout-style-default .callout-body,
.callout.callout-style-default > div.callout-header {
font-size: 1.1rem;
}

.callout-icon-container {
padding-top: 0 !important;
}

// Home page stuff
.title-block {
margin: 1em 0;
Expand Down

0 comments on commit d8988c6

Please sign in to comment.