Skip to content

Commit ef6023f

Browse files
committed
Format sponsor logos so they work regardless of light/dark mode.
1 parent 792130a commit ef6023f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

media/css/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,6 +1779,12 @@ img.organisation-logo {
17791779
max-height: 65px;
17801780
max-width: 150px;
17811781
}
1782+
th.organisation-logo {
1783+
height: 65px;
1784+
width: 150px;
1785+
background-color: white !important;
1786+
text-align: center;
1787+
}
17821788

17831789
/** Release Notes */
17841790
#release-notes .navheader,

templates/sponsors/contributing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2>{{ sponsor.sponsortype.typename }}</h2>
2020
<tbody>
2121
{% endifchanged%}
2222
<tr>
23-
<th scope="row">
23+
<th scope="row" class="organisation-logo">
2424
<a href="{{ sponsor.url }}" target="_blank" rel="noopener">
2525
<img class="organisation-logo" src="/media/img/about/sponsors/{{ sponsor.logoname }}" alt="{{ sponsor.name }}" />
2626
</a>

templates/sponsors/financial.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h3>PostgreSQL Community Association Sponsors</h3>
7070
</thead>
7171
<tbody>
7272
<tr>
73-
<th scope="row">
73+
<th scope="row" class="organisation-logo">
7474
<a href="https://aws.amazon.com" target="_blank" rel="noopener">
7575
<img class="organisation-logo" src="/media/img/about/sponsors/logo_aws.svg" alt="AWS" />
7676
</a>
@@ -80,7 +80,7 @@ <h3>PostgreSQL Community Association Sponsors</h3>
8080
<td>Benefactor</td>
8181
</tr>
8282
<tr>
83-
<th scope="row">
83+
<th scope="row" class="organisation-logo">
8484
<a href="https://xata.io" target="_blank" rel="noopener">
8585
<img class="organisation-logo" src="/media/img/about/sponsors/logo_xata.svg" alt="Xata" />
8686
</a>

0 commit comments

Comments
 (0)