File tree Expand file tree Collapse file tree 2 files changed +17
-25
lines changed Expand file tree Collapse file tree 2 files changed +17
-25
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ <h2 class="h2 text-center mb-4">Annual Sponsors</h2>
164
164
165
165
< div class ="mb-5 ">
166
166
< h3 class ="h4 text-center mb-4 "> Starter Gold Sponsor</ h3 >
167
- < div class ="row g-4 ">
167
+ < div class ="row g-4 justify-content-center ">
168
168
169
169
< div class ="col-md-4 ">
170
170
< div class ="card sponsor-card h-100 ">
@@ -203,7 +203,7 @@ <h4 class="h5 mb-1">Python ED</h4>
203
203
204
204
< div class ="mb-5 ">
205
205
< h3 class ="h4 text-center mb-4 "> Gold Sponsor</ h3 >
206
- < div class ="row g-4 ">
206
+ < div class ="row g-4 justify-content-center ">
207
207
208
208
< div class ="col-md-4 ">
209
209
< div class ="card sponsor-card h-100 ">
@@ -226,7 +226,7 @@ <h4 class="h5 mb-1">Python Software Foundation</h4>
226
226
227
227
< div class ="mb-5 ">
228
228
< h3 class ="h4 text-center mb-4 "> Silver Sponsor</ h3 >
229
- < div class ="row g-4 ">
229
+ < div class ="row g-4 justify-content-center ">
230
230
231
231
< div class ="col-md-4 ">
232
232
< div class ="card sponsor-card h-100 ">
Original file line number Diff line number Diff line change @@ -932,8 +932,10 @@ main {
932
932
}
933
933
934
934
.sponsor-logo {
935
- width : 300px ;
936
- height : 300px ;
935
+ max-width : 300px ;
936
+ width : 100% ;
937
+ height : auto;
938
+ aspect-ratio : 1 / 1 ;
937
939
border-radius : 8px ;
938
940
display : flex;
939
941
align-items : center;
@@ -944,6 +946,14 @@ main {
944
946
color : # 6c757d ;
945
947
}
946
948
949
+ .sponsor-logo img {
950
+ max-width : 100% ;
951
+ max-height : 100% ;
952
+ width : auto;
953
+ height : auto;
954
+ object-fit : contain;
955
+ }
956
+
947
957
/* Sponsor Card - Based on Figma Design */
948
958
.pao-sponsor-card {
949
959
background-color : # FFFFFF ;
@@ -990,35 +1000,17 @@ main {
990
1000
width : 100% ;
991
1001
}
992
1002
993
- /* Sponsors Container - Horizontal Scroll */
1003
+ /* Sponsors Container - Responsive Wrap */
994
1004
.pao-sponsors-row {
995
1005
display : flex;
996
1006
flex-direction : row;
1007
+ flex-wrap : wrap;
997
1008
align-items : center;
998
1009
gap : 40px ;
999
- overflow-x : auto;
1000
1010
padding : 20px 0 ;
1001
1011
justify-content : center;
1002
1012
}
1003
1013
1004
- .pao-sponsors-row ::-webkit-scrollbar {
1005
- height : 8px ;
1006
- }
1007
-
1008
- .pao-sponsors-row ::-webkit-scrollbar-track {
1009
- background : var (--color-cream-light );
1010
- border-radius : 4px ;
1011
- }
1012
-
1013
- .pao-sponsors-row ::-webkit-scrollbar-thumb {
1014
- background : var (--color-navy );
1015
- border-radius : 4px ;
1016
- }
1017
-
1018
- .pao-sponsors-row ::-webkit-scrollbar-thumb : hover {
1019
- background : var (--color-blue );
1020
- }
1021
-
1022
1014
/* GitHub Sponsors Container Card */
1023
1015
.pao-github-sponsors-card {
1024
1016
background-color : # FFFFFF ;
You can’t perform that action at this time.
0 commit comments