|
4 | 4 | @source "../**/*.{ts,tsx}"; |
5 | 5 |
|
6 | 6 | /* Terminal/Monospace Fonts */ |
7 | | -@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Fira+Code:wght@300..700&display=swap'); |
| 7 | +@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Fira+Code:wght@300..700&display=swap"); |
8 | 8 |
|
9 | 9 | /* Local Monoton Font */ |
10 | 10 | @font-face { |
11 | | - font-family: 'Monoton'; |
12 | | - src: url('/Monoton/Monoton-Regular.ttf') format('truetype'); |
| 11 | + font-family: "Monoton"; |
| 12 | + src: url('var(--font-prefix, "")/Monoton/Monoton-Regular.ttf') |
| 13 | + format("truetype"); |
13 | 14 | font-weight: normal; |
14 | 15 | font-style: normal; |
15 | 16 | font-display: swap; |
16 | 17 | } |
17 | 18 |
|
18 | 19 | /* Local Orbitron Font - Multiple Weights */ |
19 | 20 | @font-face { |
20 | | - font-family: 'Orbitron'; |
21 | | - src: url('/Orbitron/Orbitron-VariableFont_wght.ttf') format('truetype-variations'); |
| 21 | + font-family: "Orbitron"; |
| 22 | + src: url('var(--font-prefix, "")/Orbitron/Orbitron-VariableFont_wght.ttf') |
| 23 | + format("truetype-variations"); |
22 | 24 | font-weight: 400 900; |
23 | 25 | font-style: normal; |
24 | 26 | font-display: swap; |
25 | 27 | } |
26 | 28 |
|
27 | 29 | @font-face { |
28 | | - font-family: 'Orbitron'; |
29 | | - src: url('/Orbitron/static/Orbitron-Regular.ttf') format('truetype'); |
| 30 | + font-family: "Orbitron"; |
| 31 | + src: url('var(--font-prefix, "")/Orbitron/static/Orbitron-Regular.ttf') |
| 32 | + format("truetype"); |
30 | 33 | font-weight: 400; |
31 | 34 | font-style: normal; |
32 | 35 | font-display: swap; |
33 | 36 | } |
34 | 37 |
|
35 | 38 | @font-face { |
36 | | - font-family: 'Orbitron'; |
37 | | - src: url('/Orbitron/static/Orbitron-Medium.ttf') format('truetype'); |
| 39 | + font-family: "Orbitron"; |
| 40 | + src: url('var(--font-prefix, "")/Orbitron/static/Orbitron-Medium.ttf') |
| 41 | + format("truetype"); |
38 | 42 | font-weight: 500; |
39 | 43 | font-style: normal; |
40 | 44 | font-display: swap; |
41 | 45 | } |
42 | 46 |
|
43 | 47 | @font-face { |
44 | | - font-family: 'Orbitron'; |
45 | | - src: url('/Orbitron/static/Orbitron-SemiBold.ttf') format('truetype'); |
| 48 | + font-family: "Orbitron"; |
| 49 | + src: url('var(--font-prefix, "")/Orbitron/static/Orbitron-SemiBold.ttf') |
| 50 | + format("truetype"); |
46 | 51 | font-weight: 600; |
47 | 52 | font-style: normal; |
48 | 53 | font-display: swap; |
49 | 54 | } |
50 | 55 |
|
51 | 56 | @font-face { |
52 | | - font-family: 'Orbitron'; |
53 | | - src: url('/Orbitron/static/Orbitron-Bold.ttf') format('truetype'); |
| 57 | + font-family: "Orbitron"; |
| 58 | + src: url('var(--font-prefix, "")/Orbitron/static/Orbitron-Bold.ttf') |
| 59 | + format("truetype"); |
54 | 60 | font-weight: 700; |
55 | 61 | font-style: normal; |
56 | 62 | font-display: swap; |
57 | 63 | } |
58 | 64 |
|
59 | 65 | @font-face { |
60 | | - font-family: 'Orbitron'; |
61 | | - src: url('/Orbitron/static/Orbitron-ExtraBold.ttf') format('truetype'); |
| 66 | + font-family: "Orbitron"; |
| 67 | + src: url('var(--font-prefix, "")/Orbitron/static/Orbitron-ExtraBold.ttf') |
| 68 | + format("truetype"); |
62 | 69 | font-weight: 800; |
63 | 70 | font-style: normal; |
64 | 71 | font-display: swap; |
65 | 72 | } |
66 | 73 |
|
67 | 74 | @font-face { |
68 | | - font-family: 'Orbitron'; |
69 | | - src: url('/Orbitron/static/Orbitron-Black.ttf') format('truetype'); |
| 75 | + font-family: "Orbitron"; |
| 76 | + src: url('var(--font-prefix, "")/Orbitron/static/Orbitron-Black.ttf') |
| 77 | + format("truetype"); |
70 | 78 | font-weight: 900; |
71 | 79 | font-style: normal; |
72 | 80 | font-display: swap; |
73 | 81 | } |
74 | 82 |
|
75 | 83 | /* Terminal cursor animation */ |
76 | 84 | @keyframes cursor-blink { |
77 | | - 0%, 50% { opacity: 1; } |
78 | | - 51%, 100% { opacity: 0; } |
| 85 | + 0%, |
| 86 | + 50% { |
| 87 | + opacity: 1; |
| 88 | + } |
| 89 | + 51%, |
| 90 | + 100% { |
| 91 | + opacity: 0; |
| 92 | + } |
79 | 93 | } |
80 | 94 |
|
81 | 95 | .terminal-cursor { |
82 | 96 | animation: cursor-blink 1s infinite; |
83 | 97 | } |
84 | 98 |
|
85 | 99 | .terminal-text { |
86 | | - font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace; |
| 100 | + font-family: "JetBrains Mono", "Fira Code", "Consolas", "Monaco", monospace; |
87 | 101 | } |
88 | 102 |
|
89 | 103 | .code-font { |
90 | | - font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace; |
| 104 | + font-family: "JetBrains Mono", "Fira Code", "Consolas", "Monaco", monospace; |
91 | 105 | } |
92 | 106 |
|
93 | 107 | .monoton-font { |
94 | | - font-family: 'Monoton', monospace; |
| 108 | + font-family: "Monoton", monospace; |
95 | 109 | letter-spacing: 0.1em; |
96 | 110 | } |
97 | 111 |
|
98 | 112 | .orbitron-font { |
99 | | - font-family: 'Orbitron', sans-serif; |
| 113 | + font-family: "Orbitron", sans-serif; |
100 | 114 | letter-spacing: 0.05em; |
101 | 115 | } |
102 | 116 |
|
|
115 | 129 |
|
116 | 130 | /* Scanline effect for terminal aesthetic with purple tint */ |
117 | 131 | .scanlines::before { |
118 | | - content: ''; |
| 132 | + content: ""; |
119 | 133 | position: absolute; |
120 | 134 | top: 0; |
121 | 135 | left: 0; |
|
0 commit comments