Skip to content

Commit 3aba99d

Browse files
committed
Layout tweaking
1 parent bd709ed commit 3aba99d

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

_static/custom.css

+4
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ div.body h1 {
297297
font-size: 2.5rem;
298298
}
299299

300+
div.custom-footer {
301+
text-align: center;
302+
}
303+
300304
body {
301305
font-family: "Instrument Sans", system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
302306
line-height: 1.5;

_templates/layout.html

+10-20
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,16 @@
4747

4848
{% block footer %}
4949
<div class="custom-footer">
50-
<ul>
51-
<li><a href="https://discord.gg/KhAMKrd" target="_blank">Join the community</a></li>
52-
<li><a href="https://twitter.com/esphome_" target="_blank">Follow us on Twitter</a></li>
53-
<li><a href="https://github.com/esphome/esphome" target="_blank">Source Code</a></li>
54-
<li><a href="mailto:esphome@nabucasa.com">Contact</a> (no support!)</li>
55-
</ul>
56-
57-
<ul>
58-
<li>
59-
ESPHome is a project from the <a href="https://www.openhomefoundation.org" target="_blank">
60-
<picture>
61-
<source srcset="/_static/ohf-logo-on-dark.svg" media="(prefers-color-scheme: dark)">
62-
<img width="100px" src="/_static/ohf-logo-on-light.svg" alt="Open Home Foundation">
63-
</picture>
64-
</a>
65-
</li>
66-
</ul>
67-
<ul>
68-
<li><a href="https://www.netlify.com" target="_blank">This site is powered by Netlify</a></li>
69-
</ul>
50+
<a href="https://github.com/esphome/esphome" target="_blank">Source Code</a><br>
51+
<a href="mailto:esphome@nabucasa.com">Contact</a> (no support!)<br>
52+
<p>ESPHome is a project from the<br>
53+
<a href="https://www.openhomefoundation.org" target="_blank" style="border-bottom: none;">
54+
<picture>
55+
<source srcset="/_static/ohf-logo-on-dark.svg" media="(prefers-color-scheme: dark)">
56+
<img width="180px" src="/_static/ohf-logo-on-light.svg" alt="Open Home Foundation">
57+
</picture>
58+
</a></p>
59+
<p><a href="https://www.netlify.com" target="_blank">This site is powered by Netlify</a></p>
7060
</div>
7161
<div id="upgrade-footer">
7262
A new version has been released since you last visited this page: {{ release }} 🎉

0 commit comments

Comments
 (0)