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
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{{ if .Page.Param "announcement" }} {{ if .Page.Param "announcement" }}
<section lang="en" id="announcement" style="background-color:{{ .Page.Param "announcement_bg" }}"> <section lang="en" id="announcement" style="background-color:{{ .Page.Param "announcement_bg" }}">
<aside> <aside>
<div class="content announcement main-section"> <div class="content announcement main-section" data-nosnippet>
<h4 class="announcement"> <h4 class="announcement">
{{ T "announcement_title" | markdownify }} {{ T "announcement_title" | markdownify }}
+3 -3
View File
@@ -1,7 +1,7 @@
{{ if .Page.Param "announcement" }} {{ if .Page.Param "announcement" }}
<section lang="en" id="fp-announcement" style="background-color:{{ .Page.Param "announcement_bg" }}"> <section lang="en" id="fp-announcement" style="background-color:{{ .Page.Param "announcement_bg" }}">
<main> <aside >
<div class="content announcement main-section"> <div class="content announcement main-section" data-nosnippet>
<h3> <h3>
{{ T "announcement_title" | markdownify }} {{ T "announcement_title" | markdownify }}
@@ -9,6 +9,6 @@
<p>{{ T "announcement_message" | markdownify }}</p> <p>{{ T "announcement_message" | markdownify }}</p>
</div> </div>
</main> </aside>
</section> </section>
{{ end }} {{ end }}
+1 -1
View File
@@ -33,7 +33,7 @@
min-height: 30vh; min-height: 30vh;
} }
#fp-announcement main { #fp-announcement aside {
padding-top: 125px; padding-top: 125px;
padding-bottom: 35px; padding-bottom: 35px;
} }