Consistent breadcrumb spacing (as long as content's first header is h1)

This commit is contained in:
mDuo13
2018-05-07 16:54:40 -07:00
parent eb7817ddcc
commit a5141b9568
5 changed files with 21 additions and 15 deletions

View File

@@ -25,8 +25,9 @@ th {
/* Top navigation ----------------------------------------------------------- */
.navbar {
.navbar.fixed-top {
font-weight: 300;
border-bottom: 1px solid #C9CDD1;
}
.navbar-brand {
@@ -135,12 +136,14 @@ th {
margin-top: 32px;
line-height: 1.2;
}
.content h1:first-child {
.content h1:first-child,
.landing section:first-of-type h1:first-child {
margin-top: 0;
line-height: 1.2;
}
.content h1:first-child:before {
margin-top: -100px;
.content h1:first-child:before,
.landing section:not(.splash-head):first-of-type h1:first-child:before {
margin-top: -90px;
}
.content h2 {
margin-top: 28px;
@@ -555,6 +558,7 @@ a.current {
}
.breadcrumbs-wrap .breadcrumb {
padding: 0;
margin-bottom: 0;
}