forked from webpack/webpack.js.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSupport.scss
More file actions
110 lines (93 loc) · 1.93 KB
/
Support.scss
File metadata and controls
110 lines (93 loc) · 1.93 KB
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
@import 'functions';
.support__image {
width: 100px; /* Default width */
height: 100px; /* Default height */
object-fit: contain; /* Maintain aspect ratio */
border-radius: 10px; /* Rounded corners */
background-color: white; /* Fallback background */
padding: 3px; /* Spacing */
/* Responsive adjustments */
max-width: 100%;
}
.support {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 0 0.5em 1em;
&__description {
flex: 0 0 100%;
margin-bottom: 1em;
}
&__rank {
text-transform: capitalize;
&:after {
content: ' ';
}
}
&__item {
position: relative;
margin: 0 2px 2px 2px;
@media (prefers-color-scheme: dark) {
background-color: #fff;
}
}
&__latest-avatar {
max-height: 64px;
max-width: 192px;
vertical-align: middle;
}
&__bronze-avatar {
max-height: 32px;
max-width: 96px;
vertical-align: middle;
}
&__silver-avatar {
max-height: 64px;
max-width: 192px;
vertical-align: middle;
}
&__gold-avatar {
max-height: 96px;
max-width: 288px;
vertical-align: middle;
}
&__platinum-avatar {
max-height: 128px;
max-width: 100%;
vertical-align: middle;
@media (min-width: 400px) {
max-width: 384px;
.support__image {
width: 60px;
height: 60px;
padding: 2px;
}
}
}
&__backer-avatar {
display: inline-block;
width: 31px;
height: 31px;
border-radius: 50%;
border: 1px solid white;
box-shadow: 0 0 0 1px rgb(112, 202, 10);
overflow: hidden;
}
&__bottom {
flex: 0 0 100%;
margin-top: 1em;
}
&__button {
display: inline-block;
padding: 0.4em 1em;
text-transform: uppercase;
color: getColor(denim);
border: 1px solid getColor(denim);
border-radius: 1.25em;
transition: all 250ms;
&:hover {
background: getColor(denim);
color: getColor(white);
}
}
}