Skip to content

Commit 2286c17

Browse files
committed
Center cf logo in footer, vertically
1 parent ab413e9 commit 2286c17

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

_includes/CF-footerband.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<div class="content cf-footer">
22
<div class="flexcontainer">
3-
<span class="cf-logo">
3+
<div class="cf-logo">
44
<img src="https://raw.githubusercontent.com/commonhaus/artwork/main/foundation/brand/svg/CF_logo_horizontal_single_reverse.svg"/>
5-
</span>
6-
<span class="license">
5+
</div>
6+
<div class="license">
77
Copyright © Quarkus. All rights reserved. For details on our trademarks, please visit our <a href="https://www.commonhaus.org/policies/trademark-policy/">Trademark Policy</a> and <a href="https://www.commonhaus.org/trademarks/">Trademark List</a>. Trademarks of third parties are owned by their respective holders and their mention here does not suggest any endorsement or association.
8-
</span>
9-
<span class="sponsorcontainer">
10-
<span class="sponsor">
8+
</div>
9+
<div class="sponsorcontainer">
10+
<div class="sponsor">
1111
Sponsored by
12-
</span>
13-
<span class="sponsor-logo">
12+
</div>
13+
<div class="sponsor-logo">
1414
<a href="https://www.redhat.com/" target="_blank"><img src="{{site.baseurl}}/assets/images/redhat_reversed.svg"></a>
15-
</span>
16-
</span>
15+
</div>
16+
</div>
1717
</div>
1818
</div>

_sass/includes/cf-footer.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
.flexcontainer {
77
display: flex;
8+
gap: 2rem;
89
padding: 1rem 0;
910
align-items: center;
1011

@@ -15,10 +16,11 @@
1516
}
1617

1718
.cf-logo {
18-
padding-right: 2rem;
1919
align-items: center;
20+
line-height: 0;
2021
img {min-width: 350px;
2122

23+
line-height: 0;
2224
@media screen and (max-width: 1024px) {
2325
min-width: 300px;
2426
}
@@ -47,8 +49,6 @@
4749
.sponsorcontainer {
4850
display: flex;
4951
flex-direction: row;
50-
padding-left: 2rem;
51-
5252

5353
@media screen and (max-width: 1024px) {
5454
padding-left: 0;

0 commit comments

Comments
 (0)