index.less
2.15 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
@footer-prefix-cls: rc-footer;
.@{footer-prefix-cls} {
position: relative;
clear: both;
color: rgba(255, 255, 255, .4);
font-size: 14px;
line-height: 1.5;
background-color: #000;
a {
transition: all .3s;
color: rgba(255, 255, 255, .9);
text-decoration: none;
&:hover {
color: #40a9ff;
}
}
&-container {
width: 100%;
max-width: 1200px;
padding: 80px 0;
margin: auto;
}
&-columns {
display: flex;
justify-content: space-around;
}
&-column {
h2 {
position: relative;
margin: 0 auto 24px;
font-weight: 500;
font-size: 16px;
color: #fff;
}
&-icon {
margin-right: .5em;
width: 22px;
display: inline-block;
vertical-align: middle;
top: -1px;
position: relative;
text-align: center;
> span,
> svg,
img {
width: 100%;
display: block;
}
}
}
&-item {
margin: 12px 0;
&-icon {
margin-right: .4em;
width: 16px;
display: inline-block;
vertical-align: middle;
top: -1px;
position: relative;
text-align: center;
> span,
> svg,
img {
width: 100%;
display: block;
}
}
&-separator {
margin: 0 .3em;
}
}
&-bottom {
&-container {
border-top: 1px solid rgba(255, 255, 255, .25);
width: 100%;
max-width: 1200px;
text-align: center;
margin: 0 auto;
padding: 16px 0;
line-height: 32px;
font-size: 16px;
}
}
&-light {
background-color: transparent;
color: rgba(0, 0, 0, .85);
h2,
a {
color: rgba(0, 0, 0, .85);
}
}
&-light &-bottom-container {
border-top-color: #e8e8e8;
}
&-light &-item-separator,
&-light &-item-description {
color: rgba(0, 0, 0, .45);
}
}
@media only screen and (max-width: 767.99px) {
.@{footer-prefix-cls} {
text-align: center;
&-container {
padding: 40px 0;
}
&-columns {
display: block;
}
&-column {
display: block;
margin-bottom: 40px;
&:last-child {
margin-bottom: 0;
}
}
}
}