Add FreeMono font

This commit is contained in:
Reimar 2024-03-24 16:34:05 +01:00
parent 1a16c887b1
commit f2549e8d64
Signed by: Reimar
GPG Key ID: 93549FA07F0AE268
8 changed files with 21 additions and 2 deletions

BIN
public/fonts/FreeMono.otf Normal file

Binary file not shown.

BIN
public/fonts/FreeMono.ttf Normal file

Binary file not shown.

BIN
public/fonts/FreeMono.woff Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -12,7 +12,7 @@
}
</style>
</head>
<body style="font-family: courier, monospace;">
<body>
<img src="/img/Logo128x152.jpg" alt="">
<h1>TempleOS Documentation</h1>

View File

@ -1,10 +1,29 @@
@font-face {
font-family: FreeMono;
src:
url("/fonts/FreeMono.woff") format("woff"),
url("/fonts/FreeMono.otff") format("opentype"),
url("/fonts/FreeMono.ttf") format("truetype");
}
@font-face {
font-family: FreeMono;
font-weight: bold;
src:
url("/fonts/FreeMonoBold.woff") format("woff"),
url("/fonts/FreeMonoBold.otff") format("opentype"),
url("/fonts/FreeMonoBold.ttf") format("truetype");
}
body {
font-family: FreeMono, Courier, monospace;
font-weight: bold;
text-align: center;
}
#content {
font-family: courier, monospace;
font-family: FreeMono, Courier, monospace;
line-height: 1.2;
font-size: 10pt;
min-width: 80ch;
display: inline-block;