Add font
This commit is contained in:
3
README
3
README
@@ -1,2 +1,5 @@
|
||||
See template.info.txt for main info
|
||||
See COPYING for license info
|
||||
|
||||
Notes:
|
||||
- Default UI font uses the bundled "Perfect DOS VGA 437" from the fonts directory.
|
||||
@@ -8,6 +8,14 @@
|
||||
* @author Anika Henke <anika@selfthinker.org>
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "Perfect DOS VGA 437";
|
||||
src: url("./fonts/Perfect%20DOS%20VGA%20437%20Win.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
html {
|
||||
overflow-x: auto;
|
||||
overflow-y: scroll;
|
||||
@@ -20,7 +28,7 @@ body {
|
||||
padding: 0;
|
||||
}
|
||||
body {
|
||||
font: normal 100%/1.4 Frutiger, Calibri, "Myriad Pro", Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font: normal 100%/1.4 "Perfect DOS VGA 437", Frutiger, Calibri, "Myriad Pro", Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
/* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
@@ -34,7 +42,7 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: Constantia, Utopia, Lucidabright, Lucida, Georgia, "Nimbus Roman No9 L", serif;
|
||||
font-family: "Perfect DOS VGA 437", Constantia, Utopia, Lucidabright, Lucida, Georgia, "Nimbus Roman No9 L", serif;
|
||||
font-weight: bold;
|
||||
color: __text_neu__;
|
||||
background-color: inherit;
|
||||
|
||||
BIN
fonts/Perfect DOS VGA 437 Win.ttf
Normal file
BIN
fonts/Perfect DOS VGA 437 Win.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user