Merge pull request #6 from jtagcat/artur-typeface-fix

Add typeface source; fix minor complaints from IDE; add typeface itself
This commit is contained in:
Jaan Jänesmäe 2020-09-11 10:48:28 +03:00 committed by GitHub
commit d660ec5e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

BIN
public/D-DIN-Bold.woff2 Normal file

Binary file not shown.

View File

@ -3,8 +3,13 @@
size: A4 landscape; size: A4 landscape;
} }
html { @font-face {
font-family: 'Orbitron', sans-serif; font-family: 'D-DIN Bold';
src: url("https://media.k-space.ee/fonts/D-DIN-Bold.woff2") format("woff2");
src: url("https://media.k-space.ee/fonts/D-DIN-Bold.woff") format('woff');
src: url("https://media.k-space.ee/fonts/D-DIN-Bold.ttf") format('ttf');
src: url("https://media.k-space.ee/fonts/D-DIN-Bold.otf") format('otf');
src: url("D-DIN-Bold.woff2") format("woff2");
} }
body { body {
@ -20,7 +25,7 @@ body {
padding: 10mm; padding: 10mm;
padding-top: 5mm; padding-top: 5mm;
width: 297mm; width: 297mm;
height: 209mm height: 209mm;
border-spacing: 0; border-spacing: 0;
} }
@ -33,10 +38,11 @@ body {
.logo img { .logo img {
height:35mm; height:35mm;
pointer-events: none; pointer-events: none;
float:inline-start; float:initial;
} }
.main { .main {
font-family: "D-DIN Bold", sans-serif;
display: table-row; display: table-row;
font-size: 25mm; font-size: 25mm;
width: 100%; width: 100%;
@ -47,6 +53,7 @@ body {
} }
.subline { .subline {
font-family: "D-DIN Bold", sans-serif;
display: table-row; display: table-row;
font-size: 12mm; font-size: 12mm;
text-align: center; text-align: center;
@ -62,7 +69,6 @@ body {
outline: none; outline: none;
-ms-word-break: break-all; -ms-word-break: break-all;
word-break: break-all;
/* Non standard for webkit */ /* Non standard for webkit */
word-break: break-word; word-break: break-word;