forked from pending-done/Intro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheaderFooter.css
More file actions
189 lines (184 loc) · 4.29 KB
/
headerFooter.css
File metadata and controls
189 lines (184 loc) · 4.29 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
@font-face {
font-family: "SCoreDream-light";
font-weight: 300;
font-style: normal;
src: url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamLight.eot");
src: url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamLight.eot?#iefix")
format("embedded-opentype"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamLight.woff2")
format("woff2"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamLight.woff")
format("woff"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamLight.ttf")
format("truetype");
font-display: swap;
}
@font-face {
font-family: "SCoreDream-normal";
font-weight: 500;
font-style: normal;
src: url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamMedium.eot");
src: url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamMedium.eot?#iefix")
format("embedded-opentype"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamMedium.woff2")
format("woff2"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamMedium.woff")
format("woff"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamMedium.ttf")
format("truetype");
font-display: swap;
}
@font-face {
font-family: "SCoreDream-bold";
font-weight: 600;
font-style: normal;
src: url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamBold.eot");
src: url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamBold.eot?#iefix")
format("embedded-opentype"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamBold.woff2")
format("woff2"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamBold.woff")
format("woff"),
url("https://cdn.jsdelivr.net/gh/webfontworld/score/SCoreDreamBold.ttf")
format("truetype");
font-display: swap;
}
* {
font-family: "SCoreDream-normal";
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
height: 1000px;
}
a {
list-style-type: none;
color: inherit;
text-decoration: none;
}
.top {
width: 100%;
height: 15px;
background-color: rgb(199 231 44);
}
header {
width: 90%;
height: 50px;
display: flex;
justify-content: space-between;
padding: 20px;
margin-bottom: 20px;
margin-top: 15px;
}
#header {
width: 100%;
border-bottom: 1px solid black;
}
header h1 {
font-size: 28px;
font-weight: 600;
margin: 0 auto;
margin-left: 70px;
}
.menuButton {
width: 210px;
height: 30px;
display: flex;
justify-content: space-around;
}
#category-1,
#category-2,
#category-3 {
font-size: 15px;
position: relative;
width: 70px;
height: 30px;
line-height: 30px;
color: #37474f;
text-align: center;
}
#category-1::before {
content: "팀소개";
}
#category-2::before {
content: "팀원소개";
}
#category-3::before {
content: "갤러리";
}
#category-1::before,
#category-2::before,
#category-3::before {
display: inline-block;
position: absolute;
background-color: #37474f;
color: white;
font-size: 15px;
width: 100%;
height: 100%;
line-height: 30px;
opacity: 0;
z-index: -1;
top: 0;
left: 0;
transform: scale3d(0.7, 1, 1);
transition-duration: 0.3s;
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
#category-1:hover::before,
#category-2:hover::before,
#category-3:hover::before {
opacity: 1;
z-index: 1;
transform: scale3d(1, 1, 1);
}
/*footer css*/
footer {
width: 100%;
height: 200px;
padding: 30px;
display: flex;
flex-direction: row;
justify-content: space-around;
color: white;
background-color: #151515;
background-size: cover;
}
footer h3 {
font-size: 30px;
font-weight: 600;
display: flex;
align-items: center;
}
.members {
display: flex;
align-items: center;
display: flex;
gap: 20px;
}
.members a {
transition-duration: 0.4s;
}
.members a:hover {
color: rgb(199 231 44);
transform: scale(1.1);
}
/* scroll */
/* 프로그래스바 */
.progressbar {
position: fixed;
/* 페이지 상단에 프로그레스바 고정 */
height: 15px;
top: 0;
left: 0;
width: 100%;
z-index: 500;
background-color: rgb(199 231 44);
}
.progressbar > .progress {
width: 0%; /* 프로그래스바 진행 정도 */
height: 100%;
transition: width 0.3s ease; /* 부드러운 가속도 애니메이션 추가 */
background-color: rgb(255, 154, 231);
}