Skip to content

Commit

Permalink
Add a new years celebration logo to the hero
Browse files Browse the repository at this point in the history
  • Loading branch information
swantzter authored and meldra committed Dec 31, 2023
1 parent aeb9b3b commit e5be62a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion _includes/hero.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<section class="hero">
<div class="logo">
<img min-height="60px" alt="" src="/static/img/libera-color.svg" data-proofer-ignore>
<picture>
<source media="(prefers-reduced-motion)" type="image/png" srcset="/static/img/libera-newyears.png" />
<source type="image/webp" srcset="/static/img/libera-newyears.webp" />
<img min-height="60px" alt="" src="/static/img/libera-newyears.gif" data-proofer-ignore>
</picture>
<h1>Libera.&ZeroWidthSpace;Chat</h1>
</div>

Expand Down
9 changes: 7 additions & 2 deletions _includes/inline-hero-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,17 @@
width: 50%;
}

.hero .logo picture {
display: flex;
justify-content: center;
}

.hero .logo h1 {
margin: 0;
font-family: Comfortaa, Ubuntu, sans-serif;
font-weight: 400;
font-size: 2rem;
margin-block-start: -1.5rem;
margin-block-start: 0;
text-align: center;
font-weight: bold;
}
Expand Down Expand Up @@ -87,7 +92,7 @@
}
.hero .logo h1 {
font-size: 3.25rem;
margin-block-start: -2.5rem;
margin-block-start: -0.5rem;
}
.hero .tagline, .hero .cta {
justify-self: start;
Expand Down

0 comments on commit e5be62a

Please sign in to comment.