Remove hero header from documentation section

This commit is contained in:
Tim Bannister
2020-06-24 21:26:10 +01:00
parent 7b2d09adca
commit c7ee5d798c
6 changed files with 33 additions and 11 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
@@ -421,3 +421,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;
}
}
}
}
}