-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path_donators.scss
66 lines (48 loc) · 1.01 KB
/
_donators.scss
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
// 捐助者列表
// 排序说明文字
.mod-donators__orderby {
display: block;
color: $text-secondary-color;
margin: 2em 0 0;
text-align: center;
}
// 列表容器
.mod-donators__container {
@include outer-container;
margin: 2em 0;
}
.mod-donators__list {
text-align: center;
@include media($wide) {
@include span-columns(10);
@include shift(1);
}
@include media($narrow) {
@include span-columns(4);
@include shift(1);
}
@include media($mobile) {
@include span-columns(4);
}
}
// 捐助者元素
.mod-donators__person {
padding: 0.5em 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
@include media($wide) {
@include span-columns(2 of 10);
@include omega(5n);
&:hover {
box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.12);
}
}
@include media($narrow) {
@include span-columns(1);
@include omega(6n);
}
@include media($mobile) {
@include span-columns(1);
@include omega(4n);
}
}
// vim:set ai et ts=2 sw=2 sts=2 fenc=utf-8: