ajout de deux autres fonts

This commit is contained in:
hugogogo
2021-05-16 20:28:18 +02:00
parent 4d6290a3e8
commit b5c24a83f3
7 changed files with 19 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,9 @@
@font-face {
font-family: 'Larsseit';
src: local('Larsseit Light'), local('Larsseit-Light'),
url('Larsseit-Light.woff2') format('woff2'),
url('Larsseit-Light.woff') format('woff'),
url('Larsseit-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}

View File

@@ -22,6 +22,8 @@ function fonts()
<button onclick="change_font()">evolvanta</button>
<button onclick="change_font()">ptroot</button>
<button onclick="change_font()">tgalcefun</button>
<button onclick="change_font()">bentonsansbook (payant)</button>
<button onclick="change_font()">larsseitlight (payant)</button>
</div>
`;
nav[0].appendChild(anchor);

View File

@@ -34,6 +34,14 @@
font-family: 'tgalcefun';
src: url('../fonts/tgalcefun/TG_Alcefun.ttf') format('truetype');
}
@font-face {
font-family: 'bentonsansbook';
src: url('../fonts/bentonsansbook/BentonSansBook.otf') format('opentype');
}
@font-face {
font-family: 'larsseitlight';
src: url('../fonts/larsseitlight/Larsseit-Light.ttf') format('truetype');
}