content7.less
1.25 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
@import './custom.less';
@content7: content7;
.@{content7}-wrapper {
min-height: 720px;
.@{content7} {
>h1,
>p {
text-align: center;
}
&-tag {
& i {
width: 12px;
height: 14px;
display: inline-block;
vertical-align: middle;
margin-right: 5px;
}
&-name {
display: inline-block;
}
}
.ant-tabs-bar {
text-align: center;
}
.ant-tabs {
.ant-tabs-nav {
float: none;
text-align: center;
}
}
&-tabs-wrapper {
position: relative;
margin-top: 24px;
}
&-content {
display: flex;
align-items: center;
}
&-text {
padding: 24px 48px;
}
&-img {
padding: 24px 48px;
}
.ant-tabs-tabpane {
margin-top: 40px;
}
}
}
@media screen and (max-width: 767px) {
.@{content7}-wrapper {
min-height: 980px;
overflow: hidden;
.@{content7} {
max-width: 100%;
&-content {
display: block;
}
&-text,
&-img {
text-align: left;
padding: 0;
}
&-img {
margin-top: 32px;
}
.ant-tabs-bar {
width: auto;
.ant-tabs-nav {
float: left;
}
}
}
}
}