-
Notifications
You must be signed in to change notification settings - Fork 9
/
header.scss
55 lines (55 loc) · 954 Bytes
/
header.scss
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
.page-header {
padding: 20px;
font-size: 17px;
padding-bottom: 60px;
margin: 0 auto;
width: 100vw;
box-sizing: border-box;
nav {
position: relative;
}
.router-list {
display: flex;
justify-content: center;
flex-direction: row;
}
.nav-item {
margin: 17px;
font-weight: 600;
a {
transition: all 0.35s ease-in-out;
}
}
.mode-switch {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
.iconfont {
font-size: 22px;
cursor: pointer;
}
}
.social-list {
display: flex;
justify-content: center;
align-items: center;
padding-top: 20px;
li {
height: 30px;
line-height: 30px;
margin: 0 10px;
cursor: pointer;
}
span {
font-size: 24px;
transition: all 0.35s ease-in-out;
}
.icon-github {
font-size: 26px;
}
.icon-mail {
font-size: 26px;
}
}
}