ajout de deux autres fonts
This commit is contained in:
BIN
fonts/bentonsansbook/BentonSansBook.otf
Normal file
BIN
fonts/bentonsansbook/BentonSansBook.otf
Normal file
Binary file not shown.
BIN
fonts/larsseitlight/Larsseit-Light.ttf
Normal file
BIN
fonts/larsseitlight/Larsseit-Light.ttf
Normal file
Binary file not shown.
BIN
fonts/larsseitlight/Larsseit-Light.woff
Normal file
BIN
fonts/larsseitlight/Larsseit-Light.woff
Normal file
Binary file not shown.
BIN
fonts/larsseitlight/Larsseit-Light.woff2
Normal file
BIN
fonts/larsseitlight/Larsseit-Light.woff2
Normal file
Binary file not shown.
9
fonts/larsseitlight/style.css
Normal file
9
fonts/larsseitlight/style.css
Normal 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;
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user