Merge pull request #22047 from sftim/20200624_mark_announcement_as_aside

Adjust HTML generated for announcements
This commit is contained in:
Kubernetes Prow Robot 2020-06-26 17:00:14 -07:00 committed by GitHub
commit b86347d72a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{{ if .Page.Param "announcement" }}
<section lang="en" id="announcement" style="background-color:{{ .Page.Param "announcement_bg" }}">
<aside>
<div class="content announcement main-section">
<div class="content announcement main-section" data-nosnippet>
<h4 class="announcement">
{{ T "announcement_title" | markdownify }}

View File

@ -1,7 +1,7 @@
{{ if .Page.Param "announcement" }}
<section lang="en" id="fp-announcement" style="background-color:{{ .Page.Param "announcement_bg" }}">
<main>
<div class="content announcement main-section">
<aside >
<div class="content announcement main-section" data-nosnippet>
<h3>
{{ T "announcement_title" | markdownify }}
@ -9,6 +9,6 @@
<p>{{ T "announcement_message" | markdownify }}</p>
</div>
</main>
</aside>
</section>
{{ end }}

View File

@ -33,7 +33,7 @@
min-height: 30vh;
}
#fp-announcement main {
#fp-announcement aside {
padding-top: 125px;
padding-bottom: 35px;
}