Skip to content

Commit

Permalink
fix: some adjustments
Browse files Browse the repository at this point in the history
- cleanup fonts
- add min-width to properties block
  • Loading branch information
pengx17 committed Jul 28, 2021
1 parent 4afb5a7 commit 850dafb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@
:root {
--ct-text-size: 16px;
--ct-line-height: 1.6;
--ls-font-family: "Source Sans 3 VF", "Source Han Sans VF", ui-sans-serif,
system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--ls-font-family: "Source Sans 3 VF", "Source Han Sans VF", sans-serif;
--ct-page-title-font-family: var(--ls-font-family);
--ct-code-font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo,
Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--ct-code-font-family: "Fira Code", monospace;
}

html,
Expand Down
2 changes: 1 addition & 1 deletion src/_miscs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ a.tag:hover {
margin: 0 0 0.5em -8px;
font-size: 0.8em;
background: var(--ls-secondary-background-color);
font-family: var(--ct-code-font-family);
width: fit-content;
min-width: 320px;
}

kbd {
Expand Down

0 comments on commit 850dafb

Please sign in to comment.