_header.scss
1.11 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
.header {
height: 87rem / $pxConvertRem;
line-height: 87rem / $pxConvertRem;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));
background-image: -moz-gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));
background-image: gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));
position: relative;
.iconfont {
color: #fff;
}
.nav-btn {
position: absolute;
left: 32rem / $pxConvertRem;
top: 0;
bottom: 0;
z-index: 2;
}
.logo {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
text-align: center;
font-size: 56rem / $pxConvertRem;
}
.search-btn {
position: absolute;
right: 32rem / $pxConvertRem;
top: 0;
bottom: 0;
}
}
.girls-wrap .header {
background: #fd307f;
}
.kids-wrap .logo{
font-style: italic;
font-family: "helvetica","Arial","黑体";
font-weight: bold;
color: #fff;
}