Add documentation tabs

This commit is contained in:
Jeremy Thomas
2018-07-12 17:15:22 +01:00
parent fcaea076bd
commit 5a478857a8
13 changed files with 77 additions and 12 deletions

View File

@@ -45,9 +45,7 @@
margin-left: auto
.bd-header
border-bottom: 2px solid $background
margin-bottom: $main-spacing
padding-bottom: $main-spacing
.subtitle
color: $text-light
strong
@@ -55,6 +53,22 @@
#meta
margin-top: -0.5rem
.bd-tabs
margin-bottom: $main-spacing
.tabs
overflow: visible
ul,
a
border-bottom-color: $white-ter
border-bottom-width: 2px
ul
flex-wrap: wrap
max-width: 100%
a
margin-bottom: -2px
li:not(.is-active) a:hover
border-bottom-color: $border
.bd-content
hr:first-child
display: none
@@ -195,7 +209,7 @@
.bd-header
align-items: center
display: flex
min-height: 130px
min-height: 140px
.bd-header-titles
flex-grow: 1
flex-shrink: 1