_activity.scss
1.26 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
.content-tab {
margin: (12rem / $remNum) 0 0 0;
text-align: center;
ul {
display: inline-block;
border-left: 1px solid #000;
li {
float: left;
border: 1px solid #000;
border-left: none;
a {
display: block;
width: 96rem / $remNum;
height: 34rem / $remNum;
line-height: 34rem / $remNum;
text-align: center;
font-size: 14rem / $remNum;
color: #000;
}
}
li.current {
background: #000;
a {
color: #fff;
}
}
}
}
.activity-main {
margin: (12rem / $remNum) 0 0 0;
}
.activity-content {
display: none;
img {
width: 100%;
}
.section {
margin: (24em / $remNum) 0 0 0;
p, h4 {
padding: 0 (16rem / $remNum);
line-height: 20rem / $remNum;
font-size: 14rem / $remNum;
}
}
}
.activity-content.current {
display: block;
}
.activity-cooperation {
h2 {
margin-left: 12rem / $remNum;
font-size: 16rem / $remNum;
color: #000;
line-height: 22rem / $remNum;
font-weight: bold;
}
}