Skip to content

Commit 5ce610c

Browse files
authored
Merge pull request #2 from pycascades/bb/contact-us-links
feat: Don't break keep-in-touch links at icons
2 parents b34ea2b + 69ca91f commit 5ce610c

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

assets/static/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,9 @@ img:hover {
171171
display: flex;
172172
align-items: center;
173173
gap: 16px;
174+
}
175+
176+
a .icon {
177+
text-decoration: none;
178+
vertical-align: middle;
174179
}

templates/home.html

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ <h2 class="subtitle has-text-light is-2">Community PyCon for the PNW</h2>
3333
</section>
3434
</section>
3535
</section>
36-
3736
<section class="hero is-medium">
3837
<div class="hero-body">
3938
<div class="mailing-list block">
@@ -62,26 +61,24 @@ <h3 class="title is-3">Keep in touch!</h3>
6261
</div>
6362
</form>
6463
</div>
65-
<div class="columns mt-6">
66-
<div class="column icon-text">
67-
<span class="icon has-text-primary" aria-hidden="true"><span class="fa-brands fa-mastodon fa-2xl">&nbsp;</span></span>
64+
<div class="level has-text-centered mt-4">
65+
<div class="level-item">
6866
<a href="https://hachyderm.io/@pycascades">
69-
Follow us on Mastodon
67+
<span class="icon has-text-primary" aria-hidden="true"><span class="fa-brands fa-mastodon fa-xl" ></span>&nbsp;&nbsp;&nbsp;</span>Follow us on Mastodon
7068
</a>
7169
</div>
72-
<div class="column icon-text">
73-
<span class="icon has-text-primary" aria-hidden="true"><span class="fa-solid fa-rss fa-2xl">&nbsp;</span></span>
70+
<div class="level-item">
7471
<a href="{{ '/news@atom/news'|url }}" type="application/atom+xml" rel="alternate" title="Sitewide Atom feed">
75-
Add our news to your RSS feed
72+
<span class="icon has-text-primary" aria-hidden="true"><span class="fa-solid fa-rss fa-xl"></span>&nbsp;&nbsp;&nbsp;</span>Add us to your RSS feed
7673
</a>
7774
</div>
78-
<div class="column icon-text">
79-
<span class="icon has-text-primary" aria-hidden="true"><span class="fa-brands fa-slack fa-2xl">&nbsp;</span></span>
75+
<div class="level-item">
8076
<a href="https://join.slack.com/t/pycascades/shared_invite/zt-1l5libchy-RyQi1Kh0PS8DXCfhxhHZhQ">
81-
Join our Slack workspace
77+
<span class="icon has-text-primary" aria-hidden="true"><span class="fa-brands fa-slack fa-xl"></span>&nbsp;&nbsp;&nbsp;</span>Join us on Slack
8278
</a>
8379
</div>
8480
</div>
8581
</div>
82+
</section>
8683
</main>
8784
{% endblock %}

0 commit comments

Comments
 (0)