-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbus.css
146 lines (127 loc) · 2.96 KB
/
bus.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-image: url('img/fest.jpg'); /* Replace with your background image */
background-size: cover;
color: white;
text-align: center;
padding: 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
}
/* 헤더 스타일 */
header {
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: center; /* Center the header contents */
align-items: center;
width: 100%;
padding: 15px;
background-color: #ffffff;
color: #8a0017;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
z-index: 1000;
height: 70px;
}
header img {
width: 50px;
position: absolute; /* Make logo absolute */
left: 15px; /* Adjust left position */
}
.menu-icon {
font-size: 24px;
color: #8a0017;
cursor: pointer; /* 커서 포인터 추가 */
position: absolute; /* Make menu icon absolute */
right: 15px; /* Adjust right position */
}
header h1 {
font-size: 20px;
color: #8a0017;
margin: 0; /* Remove margin */
position: relative; /* Relative positioning for adjustment */
top: 5px; /* Move it a bit higher */
text-align: center; /* Center the title */
}
h1::after {
content: "";
display: block;
width: 100%; /* Set the length of the underline here */
height: 2px;
background-color: white;
margin-top: 5px;
}
.schedule-box {
background: rgba(0, 0, 0, 0.6);
padding: 20px;
border-radius: 10px;
border: 2px solid white;
margin-top: 100px; /* Adjust margin for the main content to avoid overlap with fixed header */
}
.schedule-box h2 {
font-size: 20px;
margin-bottom: 10px;
}
.schedule-box p {
margin: 10px 0;
}
.schedule {
border: 2px solid white;
padding: 15px;
margin: 10px 0;
border-radius: 10px;
}
.schedule-box p.date {
display: flex;
align-items: center;
justify-content: center;
position: relative;
font-size: 18px;
}
.schedule-box p.date::before, .schedule-box p.date::after {
content: '';
flex: 1;
height: 2px;
background-color: white;
}
.schedule-box p.date::before {
margin-right: 10px; /* 선과 텍스트 사이 간격 */
}
.schedule-box p.date::after {
margin-left: 10px; /* 선과 텍스트 사이 간격 */
}
/* 슬라이드 메뉴 스타일 */
.menu {
position: fixed;
top: 0;
right: -250px; /* 숨겨진 상태에서 시작 */
width: 250px;
height: 100%;
background-color: #8a0017;
transition: right 0.3s ease;
display: flex;
flex-direction: column;
justify-content: center;
z-index: 150;
}
.menu ul {
list-style: none;
padding: 0;
text-align: center;
}
.menu li {
margin: 20px 0;
}
.menu a {
color: white;
text-decoration: none;
font-size: 18px;
}