feat: Add variable Source Code Pro font
This commit is contained in:
parent
6a7c537ea4
commit
a40b30f0fe
2 changed files with 10 additions and 1 deletions
BIN
fonts/SourceCodePro.var.woff2
Normal file
BIN
fonts/SourceCodePro.var.woff2
Normal file
Binary file not shown.
11
style.css
11
style.css
|
@ -63,13 +63,21 @@
|
|||
/* Typography */
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter Var';
|
||||
font-family: 'Source Code Var';
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
font-style: oblique 0deg 10deg;
|
||||
src: url("fonts/Inter.var.woff2?v=3.19") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter Var';
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
font-style: oblique 0deg 10deg;
|
||||
src: url("fonts/SourceCodePro.var.woff2?v=2.042") format("woff2");
|
||||
}
|
||||
|
||||
* {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
|
@ -443,6 +451,7 @@ tbody td {
|
|||
|
||||
/* Code Blocks */
|
||||
.highlighter-rouge {
|
||||
font-family: "Source Code Var", sans-serif;
|
||||
padding: 2px 1rem;
|
||||
border-radius: 5px;
|
||||
background-color: var(--light1);
|
||||
|
|
Loading…
Reference in a new issue