Skip to content

Commit c53e527

Browse files
Nemo157jyn514
authored andcommitted
Add italic variant of _Source Code Pro_ (v1.058)
Necessary because /static/ayu-highlight.css makes .hljs-comment use italics
1 parent 8358d01 commit c53e527

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

static/SourceCodePro-It.ttf.woff

57.1 KB
Binary file not shown.

templates/style/base.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@
5050
font-weight: 600;
5151
src: url("SourceCodePro-Semibold.woff") format('woff');
5252
}
53+
@font-face {
54+
font-family: 'Source Code Pro';
55+
font-style: italic;
56+
font-weight: 400;
57+
src: url("SourceCodePro-It.ttf.woff") format('woff');
58+
}
5359

5460
html,
5561
input,

0 commit comments

Comments
 (0)