-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathstyles.css
More file actions
250 lines (220 loc) · 4.96 KB
/
styles.css
File metadata and controls
250 lines (220 loc) · 4.96 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
/* CSS Variables */
:root {
--bg-primary: #f8f9fa;
--bg-board: #ffffff;
--text-dark: #2d3748;
--text-light: #4a5568;
--accent: #6366f1;
--shadow: rgba(0, 0, 0, 0.1);
}
/* Reset & Base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Outfit', sans-serif;
background: var(--bg-primary);
min-height: 100vh;
color: var(--text-dark);
overflow-x: hidden;
}
/* Header */
header {
text-align: center;
padding: 3rem 2rem 2rem;
background: linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 100%);
}
.logo {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
margin-bottom: 0.5rem;
}
.logo-icon {
font-size: 2.5rem;
animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}
h1 {
font-size: 3rem;
font-weight: 700;
letter-spacing: -0.02em;
background: linear-gradient(135deg, #630c33 0%, #630c33 50%, #630c33 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.tagline {
font-size: 1.1rem;
color: #718096;
font-weight: 300;
letter-spacing: 0.02em;
}
/* Main Content */
main {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
}
/* Idea Wall - Whiteboard Style */
.idea-wall {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2rem;
padding: 3rem;
background:
linear-gradient(90deg, #e2e8f0 1px, transparent 1px),
linear-gradient(180deg, #e2e8f0 1px, transparent 1px),
var(--bg-board);
background-size: 40px 40px, 40px 40px, 100% 100%;
border-radius: 20px;
box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06),
inset 0 0 0 1px rgba(0, 0, 0, 0.05);
min-height: 500px;
border: 2px solid #e2e8f0;
}
/* Idea Cards - Pastel Sticky Note Style */
.idea-card {
position: relative;
padding: 2rem 1.5rem 1.5rem;
background: linear-gradient(
145deg,
hsl(var(--hue, 45), 70%, 92%) 0%,
hsl(var(--hue, 45), 65%, 88%) 100%
);
border-radius: 4px;
transform: rotate(var(--rotation, 0deg));
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow:
2px 2px 8px var(--shadow),
0 0 1px rgba(0,0,0,0.05);
cursor: default;
animation: pinDrop 0.5s ease-out;
border: 1px solid hsl(var(--hue, 45), 50%, 85%);
}
@keyframes pinDrop {
0% {
opacity: 0;
transform: rotate(var(--rotation, 0deg)) translateY(-50px) scale(0.8);
}
60% {
transform: rotate(var(--rotation, 0deg)) translateY(5px) scale(1.02);
}
100% {
opacity: 1;
transform: rotate(var(--rotation, 0deg)) translateY(0) scale(1);
}
}
.idea-card:hover {
transform: rotate(0deg) scale(1.05) translateY(-5px);
z-index: 10;
box-shadow:
6px 6px 20px rgba(0,0,0,0.15),
0 0 0 2px hsl(var(--hue, 45), 60%, 80%);
}
/* Pin */
.pin {
position: absolute;
top: -8px;
left: 50%;
transform: translateX(-50%);
width: 18px;
height: 18px;
background: radial-gradient(circle at 30% 30%, #94a3b8, #64748b);
border-radius: 50%;
box-shadow:
0 2px 4px rgba(0,0,0,0.2),
inset 0 -2px 3px rgba(0,0,0,0.15),
inset 0 2px 3px rgba(255,255,255,0.4);
}
.pin::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 5px;
height: 5px;
background: radial-gradient(circle at 30% 30%, #fff, #e2e8f0);
border-radius: 50%;
}
/* Card Content */
.idea-card h3 {
font-family: 'Caveat', cursive;
font-size: 1.6rem;
font-weight: 600;
color: var(--text-dark);
margin-bottom: 0.75rem;
line-height: 1.2;
}
.idea-card p {
font-size: 0.95rem;
color: #4a5568;
line-height: 1.5;
margin-bottom: 1rem;
}
.idea-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.8rem;
color: #a0aec0;
font-weight: 300;
}
.idea-author {
font-style: italic;
color: #718096;
}
.idea-date {
text-align: right;
}
/* Footer */
footer {
text-align: center;
padding: 2rem;
color: #a0aec0;
font-size: 0.9rem;
}
/* Responsive Design */
@media (max-width: 768px) {
h1 {
font-size: 2.2rem;
}
.tagline {
font-size: 1rem;
}
.idea-wall {
padding: 1.5rem;
gap: 1.5rem;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.idea-card {
padding: 1.5rem 1.25rem 1.25rem;
}
}
@media (max-width: 480px) {
header {
padding: 2rem 1rem 1.5rem;
}
.logo-icon {
font-size: 2rem;
}
h1 {
font-size: 1.8rem;
}
main {
padding: 1rem;
}
.idea-wall {
grid-template-columns: 1fr;
padding: 1rem;
}
}