-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfont_preview.html
More file actions
160 lines (141 loc) · 4.61 KB
/
Copy pathfont_preview.html
File metadata and controls
160 lines (141 loc) · 4.61 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Font Preview</title>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Press+Start+2P&family=Rajdhani:wght@400;600;700&family=Quantico:wght@400;700&family=Oxanium:wght@400;600;700&display=swap" rel="stylesheet">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: sans-serif;
background: #1a1a2e;
color: #eee;
padding: 2rem;
}
h1 {
text-align: center;
font-size: 2rem;
margin-bottom: 0.5rem;
}
.subtitle {
text-align: center;
opacity: 0.6;
margin-bottom: 2rem;
font-size: 0.9rem;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
max-width: 1400px;
margin: 0 auto;
}
.card {
background: #16213e;
border-radius: 12px;
padding: 1.5rem;
border: 2px solid #0f3460;
}
.font-name {
font-size: 1rem;
opacity: 0.5;
margin-bottom: 1rem;
border-bottom: 1px solid #0f3460;
padding-bottom: 0.5rem;
}
.preview-box {
width: 100%;
height: 160px;
border-radius: 10px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #0f3460;
margin-bottom: 1rem;
}
.preview-box.go { background: #e94560; }
.preview-msg { font-weight: 700; }
.preview-sub { opacity: 0.7; margin-top: 0.3rem; font-size: 0.8rem; }
.preview-stats {
display: flex;
justify-content: space-around;
font-size: 0.8rem;
}
.preview-stats span { display: block; font-weight: 700; font-size: 1.3rem; margin-top: 2px; }
/* Font classes */
.font-orbitron { font-family: 'Orbitron', sans-serif; }
.font-pressstart { font-family: 'Press Start 2P', sans-serif; }
.font-rajdhani { font-family: 'Rajdhani', sans-serif; }
.font-quantico { font-family: 'Quantico', sans-serif; }
.font-oxanium { font-family: 'Oxanium', sans-serif; }
</style>
</head>
<body>
<h1>Reaction Timer Font Preview</h1>
<p class="subtitle">Each card shows the font applied to a mini version of the game UI</p>
<div class="grid">
<div class="card font-orbitron">
<div class="font-name">Orbitron</div>
<div class="preview-box go">
<div class="preview-msg" style="font-size:1.2rem;">PRESS NOW!</div>
<div class="preview-sub">React fast!</div>
</div>
<div class="preview-stats">
<div class="preview-stat">Last <span>187 ms</span></div>
<div class="preview-stat">Best <span>142 ms</span></div>
<div class="preview-stat">Avg <span>203 ms</span></div>
</div>
</div>
<div class="card font-pressstart">
<div class="font-name">Press Start 2P</div>
<div class="preview-box go">
<div class="preview-msg" style="font-size:0.75rem;">PRESS NOW!</div>
<div class="preview-sub">React fast!</div>
</div>
<div class="preview-stats">
<div class="preview-stat">Last <span>187 ms</span></div>
<div class="preview-stat">Best <span>142 ms</span></div>
<div class="preview-stat">Avg <span>203 ms</span></div>
</div>
</div>
<div class="card font-rajdhani">
<div class="font-name">Rajdhani</div>
<div class="preview-box go">
<div class="preview-msg" style="font-size:1.4rem;">PRESS NOW!</div>
<div class="preview-sub">React fast!</div>
</div>
<div class="preview-stats">
<div class="preview-stat">Last <span>187 ms</span></div>
<div class="preview-stat">Best <span>142 ms</span></div>
<div class="preview-stat">Avg <span>203 ms</span></div>
</div>
</div>
<div class="card font-quantico">
<div class="font-name">Quantico</div>
<div class="preview-box go">
<div class="preview-msg" style="font-size:1.4rem;">PRESS NOW!</div>
<div class="preview-sub">React fast!</div>
</div>
<div class="preview-stats">
<div class="preview-stat">Last <span>187 ms</span></div>
<div class="preview-stat">Best <span>142 ms</span></div>
<div class="preview-stat">Avg <span>203 ms</span></div>
</div>
</div>
<div class="card font-oxanium">
<div class="font-name">Oxanium</div>
<div class="preview-box go">
<div class="preview-msg" style="font-size:1.3rem;">PRESS NOW!</div>
<div class="preview-sub">React fast!</div>
</div>
<div class="preview-stats">
<div class="preview-stat">Last <span>187 ms</span></div>
<div class="preview-stat">Best <span>142 ms</span></div>
<div class="preview-stat">Avg <span>203 ms</span></div>
</div>
</div>
</div>
</body>
</html>