-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcache-test.html
More file actions
158 lines (137 loc) · 3.82 KB
/
cache-test.html
File metadata and controls
158 lines (137 loc) · 3.82 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
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="utf-8">
<title>Catan - Cache Test</title>
<style>
:root{
--bg: #1a202c;
--panel: #2d3748;
--surface: #4a5568;
--text: #f7fafc;
--muted: #a0aec0;
--accent: #4299e1;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #2d3748 100%);
min-height: 100vh;
color: var(--text);
padding: 20px;
}
.test-box {
max-width: 600px;
margin: 0 auto;
text-align: center;
padding: 30px 20px;
background: linear-gradient(135deg, rgba(74,85,104,0.4) 0%, rgba(45,55,72,0.5) 100%);
border: 1px solid rgba(160,174,192,0.2);
border-radius: 16px;
box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
h1 {
color: var(--accent);
margin-bottom: 15px;
font-size: clamp(24px, 5vw, 32px);
}
p {
color: var(--text);
margin: 15px 0;
font-size: clamp(14px, 3.5vw, 18px);
line-height: 1.6;
}
.button {
display: inline-block;
padding: 14px 28px;
margin: 10px 5px;
border: none;
border-radius: 10px;
background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
color: white;
font-weight: 600;
font-size: clamp(12px, 3vw, 14px);
text-decoration: none;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 14px rgba(66,153,225,0.4);
text-transform: uppercase;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.button:hover, .button:active {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(66,153,225,0.5);
}
.color-box {
display: inline-block;
width: clamp(70px, 15vw, 100px);
height: clamp(70px, 15vw, 100px);
margin: 8px;
border-radius: 10px;
border: 2px solid rgba(160,174,192,0.3);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.bg-dark { background: #1a202c; }
.bg-panel { background: #2d3748; }
.bg-surface { background: #4a5568; }
.bg-accent { background: #4299e1; }
.label {
display: block;
color: var(--muted);
font-size: clamp(10px, 2.5vw, 12px);
margin-top: 5px;
line-height: 1.3;
}
/* Mobile optimizations */
@media (max-width: 600px) {
body {
padding: 15px;
}
.test-box {
padding: 20px 15px;
}
.color-box {
margin: 5px;
}
p {
margin: 10px 0;
}
h1 {
margin-bottom: 10px;
}
}
</style>
</head>
<body>
<div class="test-box">
<h1>🎨 Theme Color Test</h1>
<p><strong>If you see GRAY-BLUE background, theme is working!</strong></p>
<p>If you see BLACK, press <strong>Cmd+Shift+R</strong> (Mac) or <strong>Ctrl+Shift+R</strong> (Windows)</p>
<div style="margin: 30px 0;">
<div style="display: inline-block; text-align: center;">
<div class="color-box bg-dark"></div>
<span class="label">#1a202c<br>Background Dark</span>
</div>
<div style="display: inline-block; text-align: center;">
<div class="color-box bg-panel"></div>
<span class="label">#2d3748<br>Panel</span>
</div>
<div style="display: inline-block; text-align: center;">
<div class="color-box bg-surface"></div>
<span class="label">#4a5568<br>Surface</span>
</div>
<div style="display: inline-block; text-align: center;">
<div class="color-box bg-accent"></div>
<span class="label">#4299e1<br>Accent Blue</span>
</div>
</div>
<a href="index.html" class="button">Go to Main App</a>
</div>
</body>
</html>