Merge pull request #22043 from sftim/20200624_update_documentation_section_page_headers

Remove hero header from documentation section
This commit is contained in:
Kubernetes Prow Robot
2020-08-18 09:15:31 -07:00
committed by GitHub
7 changed files with 34 additions and 12 deletions
+13
View File
@@ -832,3 +832,16 @@ section#cncf {
font-size: 1rem;
}
}
/* DOCUMENTATION */
body.td-documentation {
header > .header-filler {
height: $hero-padding-top;
background-color: black;
}
/* Special case for if an announcement is active */
header section#announcement ~ .header-filler {
display: none;
}
}
+15
View File
@@ -497,3 +497,18 @@ section#announcement ~ .header-hero {
margin: #{$announcement-size-adjustment / 2} 0;
}
}
/* DOCUMENTATION */
/* Don't show lead text */
body.td-documentation {
main {
@media only screen {
> * {
> .lead:first-of-type {
display: none;
}
}
}
}
}