Add documentation icons

This commit is contained in:
Jeremy Thomas
2018-04-10 22:38:00 +01:00
parent 999c284dcc
commit a88b024dcc
14 changed files with 139 additions and 60 deletions

View File

@@ -18,6 +18,17 @@
background-color: darken($twitter, 5%)
color: $white
#moreDropdown
.navbar-item
padding-left: 3em
position: relative
.icon
left: 1rem
position: absolute
text-align: center
top: 0.375rem
width: 1em
#moreDropdownBootstrap
.icon
color: $bootstrap
@@ -32,7 +43,7 @@
.navbar-item
white-space: normal
#moreDropdown
width: 18rem
width: 14rem
.navbar-item
padding-right: 1rem
white-space: normal

View File

@@ -10,35 +10,38 @@
color: $text-light
display: block
font-size: $size-5
padding: 1rem 3rem 1.5rem
padding: 1rem 3rem 1.5rem 5rem
position: relative
transition-duration: $speed
transition-property: background-color, color
strong
font-weight: $weight-semibold
&:hover
background-color: $white-bis
&.bd-is-post
padding-left: 5rem
.bd-link-name
line-height: 1.25
margin-bottom: 0.25em
position: relative
.bd-link-figure
position: absolute
right: calc(100% + 0.5em)
text-align: center
top: 0
min-width: 1.5em
.bd-link-counter
color: $link
display: block
counter-increment: bd-links
font-weight: $weight-normal
position: absolute
right: calc(100% + 0.625em)
&::before
content: counter(bd-links)
.bd-link-icon
display: block
font-size: 2rem
position: absolute
right: calc(100% + 0.5em)
text-align: center
width: 1.5em
+desktop

View File

@@ -37,6 +37,9 @@
.bd-partners-list
align-items: flex-start
display: flex
margin-left: auto
margin-right: auto
max-width: 1130px
.bd-partner
&.bd-is-sponsor
flex-grow: 1