-
Notifications
You must be signed in to change notification settings - Fork 187
/
Copy pathshowcase.scss
127 lines (106 loc) · 2.06 KB
/
showcase.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
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
/* stylelint-disable no-descending-specificity */
.showcase {
padding-left: 0;
padding-right: 0;
.header {
padding-top: 0;
.title {
color: var(--color-primary);
font-size: 50px;
font-weight: bold;
}
.tips {
font-size: 18px;
}
}
.container {
padding-left: 0;
padding-right: 0;
margin-left: 0;
margin-right: 0;
max-width: unset;
}
.user-logos {
margin-top: 48px;
&:hover span {
animation-play-state: paused !important;
}
}
.logo-row {
display: flex;
-webkit-box-align: center;
align-items: center;
height: 5rem;
overflow: hidden;
position: relative;
width: 100%;
}
.content {
width: 100%;
padding: 50px 200px;
display: flex;
flex-wrap: wrap;
}
.user-card {
padding: 30px 10px;
border-radius: 0;
transition: transform 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
&:hover {
transform: scale(1.05);
box-shadow: 0 4px 6px rgb(0 0 0 / 20%);
border-radius: 8px;
}
.logo {
max-width: 100px;
max-height: 40px;
}
}
.row {
margin: 0;
}
.user-logos-container {
display: inline-block;
white-space: nowrap;
overflow: hidden;
position: absolute;
section {
white-space: nowrap;
overflow: hidden;
display: flex;
align-items: center;
span {
animation: 36s linear 0s infinite reverse none running logo-animation;
white-space: nowrap;
overflow: hidden;
display: flex;
align-items: center;
}
}
}
.user-logo {
max-width: 128px;
max-height: 50px;
margin: 0 16px;
}
@keyframes logo-animation {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0%);
}
}
@media (max-width: 1200px) {
.content {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
padding: 50px;
}
}
@media (max-width: 820px) {
.content {
display: grid;
grid-template-columns: 1fr 1fr;
}
}
}