-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
167 lines (147 loc) · 5.35 KB
/
Copy pathstyle.css
File metadata and controls
167 lines (147 loc) · 5.35 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
161
162
163
164
165
166
167
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Cormorant Garamond', serif;
background: #f4f0e8;
color: #2c2c2c;
min-height: 100vh;
}
#app { max-width: 820px; margin: 0 auto; padding: 20px; }
/* --- Screens --- */
.screen { display: none; }
.screen.active { display: block; }
.phase { display: none; }
.phase.active { display: block; }
/* --- Title --- */
#title-screen { text-align: center; padding-top: 15vh; }
#title-screen h1 { font-size: 3em; letter-spacing: 8px; margin-bottom: 10px; }
.subtitle { font-size: 1.5em; font-style: italic; color: #666; margin-bottom: 40px; }
/* --- Buttons --- */
.btn {
font-family: 'Cormorant Garamond', serif;
font-size: 1.2em; padding: 12px 32px;
background: #2c2c2c; color: #f4f0e8;
border: none; cursor: pointer;
letter-spacing: 2px; transition: background 0.3s;
}
.btn:hover { background: #555; }
.btn-small { font-size: 0.9em; padding: 8px 20px; }
/* --- Level Select --- */
#level-list {
display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 10px; margin: 20px 0;
}
.level-btn {
font-family: 'Cormorant Garamond', serif;
font-size: 1em; padding: 15px;
background: #fff; border: 2px solid #2c2c2c;
cursor: pointer; transition: all 0.3s;
}
.level-btn:hover { background: #2c2c2c; color: #f4f0e8; }
.level-btn.locked { opacity: 0.35; cursor: not-allowed; border-color: #999; }
.level-btn.locked:hover { background: #fff; color: #2c2c2c; }
.level-btn.completed { background: #d4edda; border-color: #28a745; }
/* --- Game Header --- */
#game-header {
margin-bottom: 20px; padding-bottom: 15px;
border-bottom: 2px solid #2c2c2c;
}
#prop-title { font-size: 1.8em; margin-bottom: 10px; }
#prop-statement { font-size: 1.2em; font-style: italic; line-height: 1.6; }
/* --- Toolbar --- */
#toolbar {
display: flex; gap: 8px; margin-bottom: 10px;
padding: 10px; background: #2c2c2c;
align-items: center; flex-wrap: wrap;
}
#tool-separator {
color: #666; font-size: 1.5em; margin: 0 5px;
}
.tool-btn {
font-family: 'Cormorant Garamond', serif;
font-size: 1em; padding: 8px 16px;
background: #444; color: #f4f0e8;
border: 2px solid #555; cursor: pointer;
transition: all 0.2s; letter-spacing: 1px;
}
.tool-btn:hover { background: #666; border-color: #888; }
.tool-btn.active {
background: #f4f0e8; color: #2c2c2c;
border-color: #f4f0e8; font-weight: bold;
}
/* --- Canvas --- */
#canvas-container {
border: 2px solid #2c2c2c; background: #fff;
margin-bottom: 10px; position: relative;
cursor: crosshair;
}
#geo-canvas { display: block; width: 100%; }
/* --- Construction Hint --- */
#construction-hint {
background: #fff; border: 1px solid #ccc;
padding: 10px 15px; margin-bottom: 15px;
font-size: 1.05em;
}
#hint-text { color: #555; }
/* --- Phase headings --- */
.phase h3 { font-size: 1.4em; margin-bottom: 8px; }
.phase h4 { font-size: 1.15em; margin: 16px 0 8px; }
.instruction { color: #666; margin-bottom: 20px; font-size: 1.05em; }
/* --- Fact Bank (Phase 2) --- */
#fact-bank { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.fact-item {
padding: 12px 16px; background: #fff;
border: 2px solid #ccc; cursor: pointer;
transition: all 0.2s; font-size: 1.05em; line-height: 1.4;
}
.fact-item:hover { border-color: #2c2c2c; }
.fact-item.selected { background: #2c2c2c; color: #f4f0e8; border-color: #2c2c2c; }
/* --- Steps (Phase 3) --- */
#available-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.step-item {
padding: 12px 16px; background: #fff;
border: 2px solid #ccc; cursor: pointer;
transition: all 0.2s; font-size: 1.05em; line-height: 1.4;
}
.step-item:hover { border-color: #2c2c2c; background: #eee; }
.step-item.used { opacity: 0.25; cursor: default; }
.step-item.used:hover { border-color: #ccc; background: #fff; }
#proof-chain {
min-height: 60px; border: 2px dashed #ccc;
padding: 10px; margin-bottom: 20px; background: #fafafa;
}
.proof-step {
padding: 10px 16px; background: #2c2c2c; color: #f4f0e8;
margin-bottom: 6px; cursor: pointer;
font-size: 1.05em; line-height: 1.4;
display: flex; gap: 10px;
}
.proof-step:hover { background: #555; }
.step-num { font-weight: bold; min-width: 24px; }
.empty-proof { color: #999; font-style: italic; padding: 10px; }
#ordering-buttons { display: flex; gap: 10px; }
/* --- Results --- */
#phase-results { text-align: center; padding: 20px 0; }
.stars { font-size: 2.5em; margin-bottom: 10px; }
#results-details { margin: 20px 0; font-size: 1.15em; line-height: 1.8; }
.result-good { color: #28a745; }
.result-bad { color: #dc3545; }
#unlock-message {
font-size: 1.2em; font-style: italic; color: #28a745;
margin: 20px 0; padding: 20px;
border: 2px solid #28a745; background: #d4edda;
display: none;
}
#back-to-levels { margin-top: 30px; }
/* --- Point Labels on Canvas --- */
.point-label {
position: absolute; font-family: 'Cormorant Garamond', serif;
font-size: 1.1em; font-weight: bold; color: #2c2c2c;
pointer-events: none; user-select: none;
}
/* --- Given Elements Highlight --- */
.given-note {
background: #fff3cd; border: 1px solid #ffc107;
padding: 8px 12px; margin-bottom: 10px;
font-size: 1em; color: #856404;
}