Skip to content

Commit 8659b06

Browse files
committed
upload
1 parent 61cbdb5 commit 8659b06

File tree

2 files changed

+17
-25
lines changed

2 files changed

+17
-25
lines changed

web/sponsors/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ <h2 class="h2 text-center mb-4">Annual Sponsors</h2>
164164

165165
<div class="mb-5">
166166
<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">
168168

169169
<div class="col-md-4">
170170
<div class="card sponsor-card h-100">
@@ -203,7 +203,7 @@ <h4 class="h5 mb-1">Python ED</h4>
203203

204204
<div class="mb-5">
205205
<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">
207207

208208
<div class="col-md-4">
209209
<div class="card sponsor-card h-100">
@@ -226,7 +226,7 @@ <h4 class="h5 mb-1">Python Software Foundation</h4>
226226

227227
<div class="mb-5">
228228
<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">
230230

231231
<div class="col-md-4">
232232
<div class="card sponsor-card h-100">

web/static/css/pao-css-classes.css

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -932,8 +932,10 @@ main {
932932
}
933933

934934
.sponsor-logo {
935-
width: 300px;
936-
height: 300px;
935+
max-width: 300px;
936+
width: 100%;
937+
height: auto;
938+
aspect-ratio: 1/1;
937939
border-radius: 8px;
938940
display: flex;
939941
align-items: center;
@@ -944,6 +946,14 @@ main {
944946
color: #6c757d;
945947
}
946948

949+
.sponsor-logo img {
950+
max-width: 100%;
951+
max-height: 100%;
952+
width: auto;
953+
height: auto;
954+
object-fit: contain;
955+
}
956+
947957
/* Sponsor Card - Based on Figma Design */
948958
.pao-sponsor-card {
949959
background-color: #FFFFFF;
@@ -990,35 +1000,17 @@ main {
9901000
width: 100%;
9911001
}
9921002

993-
/* Sponsors Container - Horizontal Scroll */
1003+
/* Sponsors Container - Responsive Wrap */
9941004
.pao-sponsors-row {
9951005
display: flex;
9961006
flex-direction: row;
1007+
flex-wrap: wrap;
9971008
align-items: center;
9981009
gap: 40px;
999-
overflow-x: auto;
10001010
padding: 20px 0;
10011011
justify-content: center;
10021012
}
10031013

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-
10221014
/* GitHub Sponsors Container Card */
10231015
.pao-github-sponsors-card {
10241016
background-color: #FFFFFF;

0 commit comments

Comments
 (0)