1
0

Edit fonts

This commit is contained in:
Serghei Cebotari 2023-11-23 23:42:22 +03:00
parent 945246c560
commit bc0389208b
6 changed files with 30 additions and 2 deletions

View File

@ -5,7 +5,6 @@
<title>{{ .Site.Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
<link rel="stylesheet" media="all" href="https://fontlibrary.org/face/cmu-serif" type="text/css" />
{{ partial "head/style.html" . }}
</head>

View File

@ -1,6 +1,35 @@
<style type="text/css">
@font-face {
font-family: 'Computer Modern Serif';
src: url('/font/cmunrm.woff') format('woff'),;
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Computer Modern Serif';
src: url('/font/cmunbx.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Computer Modern Serif';
src: url('cmunti.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Computer Modern Serif';
src: url('cmunbi.woff') format('woff');
font-weight: bold;
font-style: italic;
}
body {
font-family: 'CMUSerifRoman', serif;
font-family: 'Computer Modern Serif', serif;
font-size: 13pt;
line-height: 120%;
background: white;

BIN
static/font/cmunbi.woff Normal file

Binary file not shown.

BIN
static/font/cmunbx.woff Normal file

Binary file not shown.

BIN
static/font/cmunrm.woff Normal file

Binary file not shown.

BIN
static/font/cmunti.woff Normal file

Binary file not shown.