-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSponsors.module.css
137 lines (133 loc) · 2.81 KB
/
Sponsors.module.css
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
.sponsors {
padding: 3rem 1rem;
background: rgba(196, 196, 196, 0.51);
}
.sponsors_header {
color: #333;
font-weight: 900;
font-size: 1.5625rem;
margin: 0;
margin-bottom: 2.5rem;
text-align: center;
text-transform: uppercase;
}
.sponsors_list {
display: flex;
flex-wrap: wrap;
margin: -1rem -.625rem;
justify-content: center;
}
.sponsors_list_item {
margin: 1rem 1.25rem;
display: flex;
align-items: center;
position: relative;
width: fit-content;
filter: grayscale(1);
transition: 200ms ease-in-out;
}
.sponsors_list_item:hover {
filter: grayscale(0);
}
.sponsors_list_item div, .sponsors_list_item img {
position: relative !important;
height: 4rem !important;
}
.sponsors_list_item_big div,
.sponsors_list_item_big img {
height: 6rem !important;
margin-bottom: .5rem !important;
}
.sponsors_list_item_logo {
display: block;
width: auto !important;
height: 100% !important;
object-fit: contain;
}
@media (max-width: 991.98px) {
.sponsors_header {
margin-bottom: 2rem;
}
.sponsors_list_item div, .sponsors_list_item img {
height: 3rem !important;
}
.sponsors_list_item_big div,
.sponsors_list_item_big img {
height: 4rem !important;
}
}
@media (max-width: 767.98px) {
.sponsors_list_item div, .sponsors_list_item img {
height: 2rem !important;
}
.sponsors_list_item_big div,
.sponsors_list_item_big img {
height: 3rem !important;
}
}
.sponsors_cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 2rem;
justify-content: center;
position: relative;
margin-top: 3rem;
}
.sponsors_cards_card {
border: 1px solid #F0F0F0;
box-shadow: 0px 3.2px 7.2px rgba(0, 0, 0, 0.132), 0px 0.6px 1.8px rgba(0, 0, 0, 0.108);
background: #fff;
border-radius: 15px;
height: 100%;
width: 100%;
padding: 1.5rem;
display: flex;
flex-direction: column;
justify-content: center;
margin: auto;
transition: 100ms ease-in-out;
}
.sponsors_cards_card:hover {
box-shadow: 0px 6.4px 14.4px rgba(0, 0, 0, 0.132), 0px 1.2px 3.6px rgba(0, 0, 0, 0.108);
transform: scale(1.02);
}
@media (max-width: 639.98px) {
.sponsors_cards {
display: flex;
flex-wrap: wrap;
margin-top: 2rem;
}
.sponsors_cards_card {
align-self: center;
max-width: 40%;
}
/* Safari gap hack until it gets support for flex gap */
@media not all and (min-resolution:.001dpcm) {
.sponsors_cards_card {
margin-bottom: 2rem;
}
}
}
@media (max-width: 531.98px) {
.sponsors_cards {
display: flex;
flex-wrap: wrap;
}
.sponsors_cards_card {
align-self: center;
max-width: 100%;
}
}
.sponsors_cards_card h2 {
text-align: center;
font-weight: 700;
font-size: 2rem;
margin-top: 0;
margin-bottom: .75rem;
}
.sponsors_cards_card p {
text-align: center;
font-size: 1rem;
line-height: 153.52%;
margin: 0;
}