Skip to content

Commit

Permalink
Now added Source Code Pro
Browse files Browse the repository at this point in the history
  • Loading branch information
legoraft committed Jun 24, 2024
1 parent a27a44f commit eb95459
Showing 1 changed file with 93 additions and 0 deletions.
93 changes: 93 additions & 0 deletions template/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,97 @@
src: url(../fonts/source-sans-pro/SourceSansPro-BlackIt.otf);
font-weight: 700;
font-style: italic;
}

/* Import for the Source Code Pro font (regular) */
@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-ExtraLight.otf);
font-weight: 200;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-Light.otf);
font-weight: 300;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-Regular.otf);
font-weight: normal;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-Medium.otf);
font-weight: 500;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-Semibold.otf);
font-weight: 600;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-Bold.otf);
font-weight: 700;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-Black.otf);
font-weight: 800;
}

/* Import for the Source Sans Pro font (italic) */
@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-ExtraLightIt.otf);
font-weight: 200;
font-style: italic;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-LightIt.otf);
font-weight: 300;
font-style: italic;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-It.otf);
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-MediumIt.otf);
font-weight: 500;
font-style: italic;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-SemiboldIt.otf);
font-weight: 600;
font-style: italic;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-BoldIt.otf);
font-weight: 700;
font-style: italic;
}

@font-face {
font-family: Source Code Pro;
src: url(../fonts/source-code-pro/SourceCodePro-BlackIt.otf);
font-weight: 800;
font-style: italic;
}

0 comments on commit eb95459

Please sign in to comment.