-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_gear-list.scss
66 lines (59 loc) · 1.07 KB
/
_gear-list.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
.gear-list {
max-width: calc(3*var(--content-width));
width: 100%;
display: grid;
grid-template-columns: repeat(auto-fit, 20rem);
grid-template-rows: auto;
grid-gap: 2rem;
justify-content: center;
justify-items: center;
padding: 2rem 1rem;
margin: auto;
@media screen and (max-width: $break-mobile) {
display: block;
width: 100%;
}
}
.gear-list * {
font-size: var(--font-size-minus-2);
}
.gear-item {
width: 100%;
position: relative;
padding: .5rem;
text-align: justify;
@media screen and (max-width: $break-mobile) {
display: block;
width: 100%;
}
}
.gear-item img {
width: 100%;
background: #ffffff;
}
.gear-item h3 {
position: relative;
z-index: 100;
letter-spacing: 0;
margin: 0;
}
.gear-item h3 a {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
max-width: 100%;
font-size: 18px;
padding: .6rem 0 .2rem;
}
.gear-item .gear-link {
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
color: transparent;
}