Skip to content

Commit 9831a34

Browse files
committed
Wrap logo in div not H1
1 parent 27aef89 commit 9831a34

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

static/sass/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,6 @@ h2.not-column {
10781078
text-align: center;
10791079
padding: .75em 1em; }
10801080

1081-
/*h1*/
10821081
.site-headline {
10831082
color: white;
10841083
margin: 0.15em auto 0.2em; }

static/sass/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ h2.not-column {
411411
}
412412
}
413413

414-
/*h1*/ .site-headline {
414+
.site-headline {
415415
color: $white;
416416
margin: 0.15em auto 0.2em;
417417

templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@
194194
<header class="main-header" role="banner">
195195
<div class="container">
196196

197-
<h1 class="site-headline">
197+
<div class="site-headline">
198198
{% block section-logo %}<a href="/"><img class="python-logo" src="{{ STATIC_URL }}img/python-logo.png" alt="python&trade;"></a>{% endblock %}
199-
</h1>
199+
</div>
200200

201201
<div class="options-bar-container do-not-print">
202202
<a href="https://donate.python.org/" class="donate-button">Donate</a>

0 commit comments

Comments
 (0)