-
Notifications
You must be signed in to change notification settings - Fork 3
/
akronim.html
32 lines (26 loc) · 1.07 KB
/
akronim.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css2?family=Akronim&display=swap" rel="stylesheet">
<style>
@font-face {
font-family: "Akronim Spice";
src: url("./fonts/akronim/Akronim-Spice.ttf");
}
@font-palette-values --palette0 { font-family: "Akronim Spice"; base-palette: 0; }
@font-palette-values --palette1 { font-family: "Akronim Spice"; base-palette: 1; }
@font-palette-values --palette2 { font-family: "Akronim Spice"; base-palette: 2; }
sample {
font-family: "Akronim Spice";
font-size: 6em;
display: block;
}
sample:nth-of-type(1) { font-family: "Akronim" }
sample:nth-of-type(2) { font-palette: --palette0; }
sample:nth-of-type(3) { font-palette: --palette1; }
sample:nth-of-type(4) { font-palette: --palette2; }
</style>
<style id="palette_overrides"></style>
<sample>The quick brown fox jumps over the lazy dog</sample>
<sample>The quick brown fox jumps over the lazy dog</sample>
<sample>The quick brown fox jumps over the lazy dog</sample>
<sample>The quick brown fox jumps over the lazy dog</sample>