-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
274 lines (231 loc) · 4.47 KB
/
style.css
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body {
min-height: 100vh;
background: linear-gradient(to right, #f8f9fa, #e9ecef);
}
/* 헤더 스타일 */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 3rem;
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header-left .logo {
font-size: 1.5rem;
font-weight: bold;
color: #1a73e8;
text-decoration: none;
}
.header-right {
display: flex;
gap: 1rem;
}
.header-right a {
text-decoration: none;
padding: 0.5rem 1.5rem;
border-radius: 24px;
font-weight: 500;
transition: all 0.3s ease;
}
.login-btn {
color: #1a73e8;
border: 1px solid #1a73e8;
}
.signup-btn {
background-color: #1a73e8;
color: white;
}
.login-btn:hover {
background-color: #f8f9fa;
}
.signup-btn:hover {
background-color: #1557b0;
}
/* 메인 컨텐츠 */
.main-content {
display: flex;
padding: 3rem;
gap: 2rem;
max-width: 1400px;
margin: 0 auto;
align-items: center;
}
.left-panel {
flex: 1;
padding: 2rem;
}
.left-panel h1 {
font-size: 3.5rem;
color: #1a1a1a;
margin-bottom: 1.5rem;
line-height: 1.2;
}
/* 피처 카드 */
.features {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
margin-top: 3rem;
}
.feature-card {
background: white;
border-radius: 16px;
padding: 2rem;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}
.feature-card h3 {
color: #1a202c;
font-size: 1.3rem;
margin-bottom: 1rem;
font-weight: 600;
display: flex;
align-items: center;
gap: 0.75rem;
}
.feature-card h3::before {
content: "•";
color: #4299e1;
font-size: 1.5em;
}
.feature-card p {
color: #666;
line-height: 1.6;
}
/* 우측 패널 (지도) */
.right-panel {
flex: 1;
height: 80vh; /* 화면 높이의 80%로 설정 */
min-height: 300px; /* 최소 높이 설정 */
max-height: 800px; /* 최대 높이 설정 */
background: white;
border-radius: 24px;
overflow: hidden;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
#map {
height: 100%;
width: 100%;
}
/* 시작 버튼 */
.start {
background-color: #1a73e8;
color: #fff;
padding: 14px 24px;
border: none;
border-radius: 24px;
cursor: pointer;
font-size: 16px;
font-weight: 500;
width: 100%;
margin-top: 30px;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
}
.start:hover {
background-color: #1557b0;
box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}
.start:active {
transform: translateY(1px);
}
/* 로그아웃 & 유저 정보 */
.log-out {
color: #1a73e8;
padding: 0.5rem 1.5rem;
border-radius: 24px;
font-weight: 500;
cursor: pointer;
border: 1px solid #1a73e8;
}
.log-out:hover {
background-color: #1a73e8;
color: white;
}
.user-info {
background-color: #1a73e8;
color: white;
padding: 8px 24px;
border-radius: 24px;
font-weight: 500;
}
/* 반응형 디자인 */
@media screen and (max-width: 1024px) {
.main-content {
padding: 2rem;
}
.left-panel h1 {
font-size: 2.5rem;
}
.right-panel {
height: 70vh; /* 더 작은 화면에서는 70%로 조정 */
}
}
@media screen and (max-width: 768px) {
.header {
padding: 1rem 2rem;
}
.main-content {
flex-direction: column;
padding: 1rem;
}
.features {
grid-template-columns: 1fr;
gap: 1rem;
}
.right-panel {
height: 50vh; /* 태블릿에서는 50%로 조정 */
}
.left-panel {
padding: 1rem;
}
}
@media screen and (max-width: 480px) {
.header {
padding: 1rem;
}
.header-right {
flex-wrap: wrap;
justify-content: center;
}
.main-content {
padding: 0.5rem;
}
.left-panel h1 {
font-size: 2rem;
}
.features {
margin-top: 1.5rem;
}
.right-panel {
height: 40vh; /* 모바일에서는 40%로 조정 */
min-height: 200px; /* 모바일에서의 최소 높이 */
}
/* 모바일에서는 피처 카드 숨기고 시작 버튼만 표시 */
@media screen and (max-height: 600px) {
.features {
display: none;
}
.start {
margin-top: 1rem;
}
}
}
/* 매우 작은 화면에서는 지도 숨김 */
@media screen and (max-height: 500px) {
.right-panel {
display: none;
}
}