Skip to content

Commit

Permalink
Fix font size in settings not being honored
Browse files Browse the repository at this point in the history
  • Loading branch information
FireIsGood committed May 29, 2023
1 parent 538c67c commit 6870c5c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@
--h5-color: var(--header-blue);
--h6-color: var(--header-purple);

--h1-size: 2.125rem;
--h2-size: 1.625rem;
--h3-size: 1.375rem;
--h4-size: 1.250rem;
--h5-size: 1.125rem;
--h6-size: 1.000rem;
--h1-size: 2.125em;
--h2-size: 1.625em;
--h3-size: 1.375em;
--h4-size: 1.250em;
--h5-size: 1.125em;
--h6-size: 1.000em;

--h1-line-height: 1.5;
--h2-line-height: 1.5;
Expand Down Expand Up @@ -459,18 +459,19 @@ pre[class^="language-"]::after {
top: 0;
right: 6px;
padding: 0 4px;
height: calc(0.875rem * var(--line-height-normal));
height: calc(1em * var(--line-height-normal));
display: flex;
place-items: center;
font-size: var(--font-ui-smaller);
font-size: 0.875em;
}
.markdown-source-view.mod-cm6 .code-block-flair:not(:has(>svg)) {
top: 0;
padding: 0 4px;
height: calc(0.875rem * var(--line-height-normal));
height: calc(1em * var(--line-height-normal));
display: flex;
place-items: center;
font-family: var(--font-monospace);
font-size: 1em;
}
.markdown-rendered pre[class^="language-"] button.copy-code-button {
top: calc(6px + var(--code-size) * var(--line-height-normal));
Expand Down

0 comments on commit 6870c5c

Please sign in to comment.