Add font
This commit is contained in:
5
README
5
README
@@ -1,2 +1,5 @@
|
|||||||
See template.info.txt for main info
|
See template.info.txt for main info
|
||||||
See COPYING for license 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>
|
* @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 {
|
html {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
@@ -20,7 +28,7 @@ body {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
body {
|
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 */
|
/* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
@@ -34,7 +42,7 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
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;
|
font-weight: bold;
|
||||||
color: __text_neu__;
|
color: __text_neu__;
|
||||||
background-color: inherit;
|
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