_home.scss
2.02 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
.home-logo {
border: none;
}
.banner-swiper {
height: 156rem / $remNum;
overflow: hidden;
img {
width: 100%;
}
}
.channel-list {
text-align: center;
li {
display: inline-block;
margin: (22rem / $remNum) (15rem / $remNum) 0;
text-align: center;
}
.channel-pic {
width: 66rem / $remNum;
height: 66rem / $remNum;
line-height: 66rem / $remNum;
border-radius: 50%;
border: 1px solid #000;
text-align: center;
color: #000;
font-size: 24rem / $remNum;
}
.video {
font-size: 16rem / $remNum;
}
.recmmend {
background: image-url("recmmend.png") no-repeat center center;
background-size: 36% auto;
}
.show {
background: image-url("show.png") no-repeat center center;
background-size: 42% auto;
}
.ticket {
background: image-url("ticket.png") no-repeat center center;
background-size: 36% auto;
}
.contact {
font-size: 12rem / $remNum;
line-height: 70rem / $remNum;
}
.channel-name {
margin-top: 9rem / $remNum;
line-height: 15rem / $remNum;
font-size: 12rem / $remNum;
font-weight: bold;
color: #000;
}
.channel-name-cn {
line-height: 15rem / $remNum;
font-size: 12rem / $remNum;
color: #000;
}
li.current, li:hover {
.channel-pic {
color: #fff;
background: #000;
}
}
li.current, li:hover {
.channel-pic.recmmend {
background: #000 image-url("recmmend-current.png") no-repeat center center;
background-size: 36% auto;
}
.channel-pic.show {
background: #000 image-url("show-current.png") no-repeat center center;
background-size: 36% auto;
}
.channel-pic.ticket {
background: #000 image-url("ticket-current.png") no-repeat center center;
background-size: 36% auto;
}
}
}