Skip to content

Commit

Permalink
Merge pull request #1194 from eed3si9n/wip/monospace
Browse files Browse the repository at this point in the history
Use Inconsolata
  • Loading branch information
eed3si9n authored Feb 22, 2024
2 parents 5425b3a + 0f70d83 commit 3394d53
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
14 changes: 14 additions & 0 deletions src/reference/custom-202402.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ html {

pre {
border: solid 1px lightgray;
line-height: 1.8rem;
font-weight: 500;
}

code {
font-family: 'Inconsolata', monospace !important;
}

p code {
font-weight: 600;
}

li code {
font-weight: 600;
}

h1 {
Expand Down
Binary file added theme/fonts/Inconsolata[wdth,wght].ttf
Binary file not shown.
5 changes: 5 additions & 0 deletions theme/fonts/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
src: url(LinBiolinum_RI.otf);
}

@font-face{
font-family: "Inconsolata";
src: url(Inconsolata[wdth,wght].ttf);
}

/* Open Sans is licensed under the Apache License, Version 2.0. See http://www.apache.org/licenses/LICENSE-2.0 */
/* Source Code Pro is under the Open Font License. See https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL */

Expand Down
11 changes: 8 additions & 3 deletions theme/highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@
.hljs-type,
.hljs-variable.language_ {
/* prettylights-syntax-keyword */
color: #d73a49;
/* color: #d73a49; */
font-weight: bold;
}

.hljs-type {
color: #445588;
}

.hljs-title,
Expand Down Expand Up @@ -51,13 +56,13 @@
.hljs-string,
.hljs-meta .hljs-string {
/* prettylights-syntax-string */
color: #032f62;
color: #dd1144;
}

.hljs-built_in,
.hljs-symbol {
/* prettylights-syntax-variable */
color: #e36209;
/* color: #e36209; */
}

.hljs-comment,
Expand Down

0 comments on commit 3394d53

Please sign in to comment.