switch to Source font family

This commit is contained in:
Sebastian Köln 2019-03-20 16:34:19 +01:00
parent 9c8fae4704
commit 3faa3e42f0
2 changed files with 4 additions and 24 deletions

View File

@ -1,33 +1,13 @@
@font-face {
font-family: "Liberation Serif";
src: url("/fonts/LiberationSerif-Regular.ttf");
font-weight: normal;
}
@font-face {
font-family: "Liberation Serif";
src: url("/fonts/LiberationSerif-Bold.ttf");
font-weight: bold;
}
@font-face {
font-family: "Liberation Serif";
src: url("/fonts/LiberationSerif-Italic.ttf");
font-style: italic;
}
@font-face {
font-family: "Liberation Mono";
src: url("/fonts/LiberationMono-Regular.ttf");
font-weight: normal;
}
body {
font-family: "Liberation Serif", serif;
font-family: "Source Serif Pro", serif;
}
p {
text-align: justify;
line-height: 1.25em;
}
code {
font-family: "Liberation Mono", monospace;
font-family: "Source Code Pro", monospace;
padding: 0 0 1pt 0 !important;
}
pre {
margin-left: 2em;

View File

@ -19,7 +19,7 @@
<!-- Fonts -->
<link rel="stylesheet" href="{{ path_to_root }}FontAwesome/css/font-awesome.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro|Source+Serif+Pro" rel="stylesheet">
<!-- Highlight.js Stylesheets -->
<link rel="stylesheet" href="{{ path_to_root }}highlight.css">