-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
169 lines (147 loc) · 3.7 KB
/
Copy pathstyle.css
File metadata and controls
169 lines (147 loc) · 3.7 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
168
169
/* Catppuccin (mocha) theme variables + base rules */
:root {
--cp-bg: #1f1e2e;
--cp-base: #242430;
--cp-surface: #1b1724;
--cp-text: #cdd6f4;
--cp-muted: #b8b4d6;
--cp-peach: #f5c2a1;
--cp-pink: #f2a2d0;
--cp-green: #a6e3a1;
--cp-shadow: 0 10px 30px rgba(2,6,23,0.6);
--radius: 14px;
}
/* Apply page background, typography and base smoothing */
html, body {
height: 100%;
margin: 0;
background: linear-gradient(180deg, var(--cp-base), var(--cp-bg));
color: var(--cp-text);
font-family: Inter, "Segoe UI", Roboto, "Merriweather", system-ui, -apple-system, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
/* Global box-sizing */
*, *::before, *::after { box-sizing: inherit; }
/* Panel styling */
.panel {
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
border-radius: var(--radius);
padding: 24px;
border: 1px solid rgba(255,255,255,0.03);
box-shadow: var(--cp-shadow);
backdrop-filter: blur(6px);
}
/* Button styling */
button {
appearance: none;
border: none;
cursor: pointer;
padding: 14px 24px;
font-weight: 700;
color: #1b1320;
background: linear-gradient(180deg, var(--cp-peach), #ffb86b);
border-radius: 12px;
box-shadow: 0 10px 26px rgba(245,194,161,0.12);
transition: transform 140ms ease, box-shadow 140ms ease;
font-size: 18px;
}
button.secondary {
background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
color: var(--cp-text);
border: 1px solid rgba(255,255,255,0.04);
box-shadow: none;
}
/* Focus ring */
button:focus,
#cookie:focus {
box-shadow: 0 0 0 6px rgba(245,194,161,0.12), 0 10px 30px rgba(6,6,14,0.5);
outline: none;
}
/* Layout container */
#Container {
display: grid;
gap: 40px;
padding: 40px;
max-width: 1400px;
width: 100%;
place-items: center;
}
/* Two-column layout for medium and large screens */
@media (min-width: 1200px) {
#Container {
grid-template-columns: minmax(400px, 500px) 1fr;
gap: 60px;
padding: 0 60px;
}
#cookie img {
width: clamp(300px, 20vw, 600px);
}
#score {
font-size: clamp(50px, 6vw, 140px);
}
.ascendContainer #store {
padding: 32px;
}
button {
padding: 16px 28px;
font-size: 20px;
}
}
/* Enhanced layout for large desktops */
@media (min-width: 1600px) {
#Container {
max-width: 2200px;
gap: 80px;
grid-template-columns: minmax(500px, 600px) 1fr;
padding: 0 80px;
}
#cookie img {
width: clamp(400px, 16vw, 800px);
}
#score {
font-size: clamp(60px, 7vw, 160px);
}
.ascendContainer #store {
max-width: 600px;
padding: 40px;
}
.panel {
padding: 32px;
border-radius: calc(var(--radius) + 6px);
}
}
/* Ultra-wide layout */
@media (min-width: 2200px) {
#Container {
grid-template-columns: minmax(600px, 700px) 1fr;
gap: 100px;
max-width: 3000px;
padding: 0 100px;
}
#cookie img {
width: clamp(500px, 14vw, 1000px);
}
#score {
font-size: clamp(70px, 8vw, 180px);
}
#imageContainer {
padding: 48px;
}
button {
padding: 18px 32px;
font-size: 22px;
}
}
/* Accessibility: increase focus ring size at large screens */
@media (min-width: 1200px) {
button:focus,
#cookie:focus {
box-shadow: 0 0 0 8px rgba(245,194,161,0.10), 0 10px 30px rgba(6,6,14,0.5);
}
}