-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplay.css
156 lines (131 loc) · 2.71 KB
/
play.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
body {
font-family: 'Noto Serif KR', serif;
background-color: #0B0806;
color: #333;
margin: 0;
padding: 0;
line-height: 1.6;
background-image: url('recom.gif');
background-size: 1300px auto;
background-position: calc(50% + 250px) calc(30% - 100px);
background-repeat: no-repeat;
}
header {
background-color: #1e1e1e;
color: #fff;
padding: 20px 0px;
text-align: center;
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.navbar {
display: flex;
flex-direction: column;
align-items: center;
background-color: #222;
border-top: 2px solid #ff4500;
border-bottom: 2px solid #ff4500;
padding-top: 4px;
padding-bottom: 7px;
}
.logo {
font-family: 'Abril Fatface', cursive;
font-size: 80px;
text-decoration: none;
color: #ffa500;
margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
}
.nav-menu {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
}
.nav-menu li {
margin-left: 100px;
margin-right: 50px;
padding-top: 20px;
}
.nav-menu li a {
font-family: 'Noto Serif KR', serif;
text-decoration: none;
color: #fff;
transition: color 0.3s ease;
font-size: 25px;
font-weight: bold;
}
.nav-menu li a:hover {
color: #ff4500;
}
body h2 {
text-align: center;
color: black;
}
body h1 {
text-align: center;
color: black;
margin-left: -50px;
}
/*아래 리스트*/
#recommendations {
display: flex;
flex-wrap: wrap;
gap: 10px;
max-width: 960px;
margin: 120px auto 0;
}
.recommendation-item {
flex: 1 1 calc(30% - 20px); /* 가로 3개씩 */
border: 1px solid #ddd;
border-radius: 5px;
padding: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
color: white;
background-color: #555;
}
.recommendation-item h2 {
margin-top: 0;
color:white;
}
.recommendation-item p {
margin-bottom: 10px;
}
.recommendation-item iframe {
width: 100%;
height: 200px;
border: none;
border-radius: 5px;
}
#ballon {
position: relative;
background-image: url('ballon.jpg');
background-size: cover;
background-position: center;
color: #333;
text-align: center;
padding: 50px;
width: 450px;
height: 400px;
transform-origin: center; /* 회전 중심을 중앙으로 설정 */
}
#ballon label,
#ballon input,
#ballon textarea,
#ballon button {
width: 50%;
margin-bottom: 15px;
padding: 10px;
border-radius: 5px;
border: 1px solid #ddd;
}
#ballon button {
background-color: #2617eb;
color: white;
border: none;
cursor: pointer;
}
#ballon button:hover {
background-color: #555;
}