Compare commits

...

2 Commits

Author SHA1 Message Date
f2549e8d64
Add FreeMono font 2024-03-24 16:34:05 +01:00
1a16c887b1
Fix layout on wide files 2024-03-24 15:28:53 +01:00
8 changed files with 22 additions and 3 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> </style>
</head> </head>
<body style="font-family: courier, monospace;"> <body>
<img src="/img/Logo128x152.jpg" alt=""> <img src="/img/Logo128x152.jpg" alt="">
<h1>TempleOS Documentation</h1> <h1>TempleOS Documentation</h1>

View File

@ -1,12 +1,31 @@
@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 { body {
font-family: FreeMono, Courier, monospace;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
#content { #content {
font-family: courier, monospace; font-family: FreeMono, Courier, monospace;
line-height: 1.2;
font-size: 10pt; font-size: 10pt;
width: 80ch; min-width: 80ch;
display: inline-block; display: inline-block;
text-align: left; text-align: left;
} }