-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
161 lines (138 loc) · 2.6 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
/* 공통 스타일 */
body {
font-family: 'Noto Sans KR', sans-serif;
padding: 20px;
background-color: #f4f4f4;
margin: 0;
}
h1 {
text-align: center;
margin-top: 50px;
}
form {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 10px;
}
label {
display: block;
margin-top: 10px;
margin-bottom: 5px;
}
input[type="text"], input[type="number"], textarea, input[type="date"], input[type="datetime-local"], select {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
box-sizing: border-box;
margin-bottom: 10px;
}
input[type="checkbox"] {
margin-right: 10px;
}
button[type="submit"], button[type="button"] {
display: block;
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: #ffffff;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
margin-top: 20px;
}
button[type="submit"]:hover, button[type="button"]:hover {
background-color: #45a049;
}
/* 헤더 스타일 */
.header {
background-color: #ffffff;
padding: 10px;
display: flex;
align-items: center;
justify-content: space-between;
color: #000;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
height: 50px;
line-height: 60px;
}
.header .logo-container {
width: 90px;
height: 40px;
border-radius: 30%;
overflow: hidden;
}
.header .logo-container img {
width: 100%;
height: 100%;
object-fit: cover;
}
.nav-btn {
list-style-type: none;
margin: auto 5%;
display: flex;
gap: 10px;
font-size: 12px;
font-weight: bold;
}
.nav-btn a {
color: midnightblue;
text-decoration: none;
}
/* 그리드 스타일 */
.grid-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
.grid-item {
display: flex;
align-items: center;
}
.grid-item label {
margin: 0;
flex-grow: 1;
}
/* 내용 스타일 */
.content {
margin-top: 100px;
}
.accommodations {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 20px;
}
.accommodation {
border: 1px solid #ddd;
border-radius: 10px;
overflow: hidden;
transition: transform 0.3s;
}
.accommodation img {
width: 100%;
height: 200px;
object-fit: cover;
}
.accommodation .info {
padding: 10px;
}
.accommodation h3 {
margin: 0;
font-size: 1.2em;
}
.accommodation p {
margin: 5px 0;
color: #555;
}
.accommodation:hover {
transform: translateY(-10px);
}