-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathhome.css
More file actions
247 lines (207 loc) · 4.48 KB
/
home.css
File metadata and controls
247 lines (207 loc) · 4.48 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
.header{
background:#8b2845;
width: 100%;
display: flex;
padding-top: 15px;
padding-bottom: 15px;
font-weight: 700;
font-size: 20px;
justify-content: center;
align-items: center;
position: fixed;
color: white;
text-align: center;
}
/* .click-text{
text-decoration: none;
color: white;
margin: 0 15px;
color: #503838;
} */
.nav-container {
display: flex;
justify-content: space-around;
width: 90%;
max-width: 800px;
}
.header a {
text-decoration: none;
color: white;
margin: 0 15px;
}
.header a:hover{
text-decoration: none;
color: white;
margin: 0 15px;
color: #503838;
}
.home-container {
display: flex;
justify-content: center;
align-items: center;
height: 80vh;
}
.where {
font-weight: 700;
color: #262626;
text-align: center;
background-color: white;
}
.radio-box {
font-size: 16px; /* 원하는 크기로 조정 */
}
.red-text {
color: #8b2845;
}
.search-box {
font-size: 25px;
margin-bottom: 10px;
padding: 10px;
}
.search-box h2 {
margin-bottom: 20px;
}
.search-box input {
width: 100%;
padding: 10px;
font-size: 16px;
}
.search-input {
display: flex;
align-items: center;
}
.search-input input {
flex: 1; /* 남은 공간을 모두 차지하도록 설정 */
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}
.search-input .icon {
width: 20px;
height: 20px;
margin-left: 10px;
}
.search-input .icon:hover{
background-color: #8b2845;
color: #fff;
border-radius: 5px;
}
.recommendations {
font-size: 15px;
margin-top: 20px;
margin-bottom: 20px;
}
.recommendations h3 {
margin-bottom: 10px;
}
.recommendations .place-list {
display: flex;
list-style: none;
padding: 0;
margin: 0;
margin-top: 15px;
margin-bottom: 20px;
color: gray;
justify-content: center;
align-items: center;
}
.recommendations .place-list li {
margin-right: 20px;
}
.recommendations .place-list li:hover {
background-color: #8b2845;
color: #fff;
border-radius: 5px;
}
.choose ul {
list-style-type:none; /* 리스트 스타일 (동그라미)을 없앰 */
padding: 0;
margin: 0;
}
.choose {
margin-top: 20px;
list-style: none;
display: flex;
flex-direction: row;
align-items: center;
}
.choose li {
margin-bottom: 20px;
display:flex;
}
.alone{
list-style: none;
align-items: center;
}
ul{
text-align: center;
padding-right: 100px;
}
.navigation a {
display: inline-block;
margin-right: 10px;
padding: 6px 10px;
border: 1px solid #ccc;
border-radius: 5px;
text-decoration: none;
color: #333;
transition: background-color 0.3s, color 0.3s;
}
.navigation a:hover {
background-color: #8b2845;
color: #fff;
}
#location-select {
margin-right: 10px; /* 셀렉트 박스와 검색 입력란 사이의 간격 */
}
/* @media screen and (max-width:600px) {
.search-box {width :80%;}
/* 기타 모바일 환경에서 필요한 스타일
}
@media screen and (min-width :800px) {
.search-box {width :60%;}
/* 기타 데스크톱 환경에서 필요한 스타일
} */
@media screen and (min-width: 1040px) {
.home-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 80vh; /* Adjust min-height for larger screens */
}
.where {
width: 70%; /* Adjust width for larger screens */
}
.search-box {
font-size: 30px; /* Increase font size for larger screens */
padding: 20px; /* Increase padding for larger screens */
}
.search-box input {
font-size: 18px; /* Increase font size for larger screens */
}
.recommendations {
font-size: 18px; /* Increase font size for larger screens */
margin-top: 30px; /* Increase margin-top for larger screens */
margin-bottom: 30px; /* Increase margin-bottom for larger screens */
}
.choose li {
margin-bottom: 30px; /* Increase margin-bottom for larger screens */
}
}
#footer{
padding: 50px;
width: 100%;
background-color: #747476a8;
display: flex;
}
@media screen and (min-width: 320px) {
.header {
/* 여기에 필요한 스타일을 적용하세요. 예: */
font-size: 18px;
}
.header a {
/* 여기에 필요한 스타일을 적용하세요. 예: */
margin: 0 10px;
}
}