topHead.scss
3.14 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
.top_head {
display: flex;
justify-content: space-between;
background: url("../assets/images/top_bg.png") no-repeat center bottom;
background-size: 100% auto;
//height: 9.44vh;
height: 114px;
.logo,
.right_box {
flex: 1;
flex-shrink: 0;
box-sizing: border-box;
}
.logo {
.img {
width: 166px;
height: 36px;
margin: 1.67vh 0 0 1.67vw;
}
}
.title_box {
box-sizing: border-box;
padding-top: 1.76vh;
text-align: center;
.title {
position: relative;
flex: 2;
font-family: SourceHanSansCN-Bold;
font-weight: 700;
font-size: 44px;
letter-spacing: 0px;
line-height: 44px;
// background: linear-gradient(left right, #00c8ff 0%, #0069f2 100%);
// background-clip: text;
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
background: linear-gradient(to right, #00c8ff 0%, #0069f2 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.title:before,
.title:after {
position: absolute;
display: block;
content: "";
width: 64px;
height: 21px;
top: 50%;
transform: translateY(-50%);
}
// .title:before{
// background:url('../assets/images/title_left.png') no-repeat;
// background-size:64px auto;
// left:-110px;
// }
// .title:after{
// background:url('../assets/images/title_right.png') no-repeat;
// background-size:64px auto;
// right:-110px;
// }
}
.right_box {
display: flex;
justify-content: flex-end;
.time_box {
display: flex;
flex-direction: column;
margin-top: 1.76vh;
.date {
font-family: SourceHanSansCN-Medium;
font-weight: 500;
font-size: 10px;
color: #56fefe;
letter-spacing: 0;
line-height: 15px;
}
.time {
font-family: SourceHanSansCN-Medium;
font-weight: 500;
font-size: 20px;
color: #56fefe;
letter-spacing: 2px;
line-height: 29px;
}
}
.welcome {
width: 7.93vw;
height: 100%;
background: url("../assets/images/top_user.png") no-repeat top center;
background-size: 100% auto;
text-align: center;
margin: 0.93vh 1.25vw 0 3.54vw;
line-height: 52px;
span {
font-family: SourceHanSansCN-Regular;
font-weight: 400;
font-size: 14px;
color: #56fefe;
letter-spacing: 0;
// margin-top:16px;
line-height: 0;
}
}
}
}