UNPKG

2.24 kBtext/lessView Raw
1@footer-prefix-cls: rc-footer;
2
3.@{footer-prefix-cls} {
4 position: relative;
5 clear: both;
6 color: rgba(255, 255, 255, 0.4);
7 font-size: 14px;
8 line-height: 1.5;
9 background-color: #000;
10
11 a {
12 transition: all 0.3s;
13 color: rgba(255, 255, 255, 0.9);
14 text-decoration: none;
15
16 &:hover {
17 color: #40a9ff;
18 }
19 }
20
21 &-container {
22 width: 100%;
23 max-width: 1200px;
24 padding: 80px 0 20px;
25 margin: auto;
26 }
27
28 &-columns {
29 display: flex;
30 justify-content: space-around;
31 }
32
33 &-column {
34 margin-bottom: 60px;
35
36 h2 {
37 position: relative;
38 margin: 0 auto 24px;
39 font-weight: 500;
40 font-size: 16px;
41 color: #fff;
42 }
43
44 &-icon {
45 margin-right: 0.5em;
46 width: 22px;
47 display: inline-block;
48 vertical-align: middle;
49 top: -1px;
50 position: relative;
51 text-align: center;
52
53 > span,
54 > svg,
55 img {
56 width: 100%;
57 display: block;
58 }
59 }
60 }
61
62 &-item {
63 margin: 12px 0;
64
65 &-icon {
66 margin-right: 0.4em;
67 width: 16px;
68 display: inline-block;
69 vertical-align: middle;
70 top: -1px;
71 position: relative;
72 text-align: center;
73
74 > span,
75 > svg,
76 img {
77 width: 100%;
78 display: block;
79 }
80 }
81
82 &-separator {
83 margin: 0 0.3em;
84 }
85 }
86
87 &-bottom {
88 &-container {
89 border-top: 1px solid rgba(255, 255, 255, 0.25);
90 width: 100%;
91 max-width: 1200px;
92 text-align: center;
93 margin: 0 auto;
94 padding: 16px 0;
95 line-height: 32px;
96 font-size: 16px;
97 }
98 }
99
100 &-light {
101 background-color: transparent;
102 color: rgba(0, 0, 0, 0.85);
103
104 h2,
105 a {
106 color: rgba(0, 0, 0, 0.85);
107 }
108 }
109
110 &-light &-bottom-container {
111 border-top-color: #e8e8e8;
112 }
113
114 &-light &-item-separator,
115 &-light &-item-description {
116 color: rgba(0, 0, 0, 0.45);
117 }
118}
119
120@media only screen and (max-width: 767.99px) {
121 .@{footer-prefix-cls} {
122 text-align: center;
123
124 &-container {
125 padding: 40px 0;
126 }
127
128 &-columns {
129 display: block;
130 }
131
132 &-column {
133 display: block;
134 margin-bottom: 40px;
135
136 &:last-child {
137 margin-bottom: 0;
138 }
139 }
140 }
141}