.section
|
&_title
|
font-size: 1.1rem
|
&_link
|
font-size: 1rem
|
font-weight: 400
|
|
.sidebar
|
&-link
|
display: grid
|
padding: 0.2rem 0
|
|
.toc
|
border-left: 2px solid var(--theme)
|
padding: 0 1rem
|
height: 0
|
overflow: hidden
|
&_active
|
height: initial
|
.search
|
flex: 1
|
display: flex
|
justify-content: flex-end
|
position: relative
|
&_field
|
padding: 0.5rem 1.5rem 0.5rem 2.5rem
|
border-radius: 1.5rem
|
width: 13.5rem
|
outline: none
|
border: none
|
box-shadow: 0 1rem 4rem rgba(0,0,0,0.17)
|
font-size: 1rem
|
&_label
|
background-image: url(/images/search.svg)
|
width: 1.25rem
|
height: 1.25rem
|
position: absolute
|
right: 11.5rem
|
top: 0.5rem
|
opacity: 0.33
|
&_result
|
padding: 0.5rem 1rem
|
&:hover
|
background-color: var(--haze)
|
&s
|
width: 13.5rem
|
background-color: var(--light)
|
border-radius: 0 0 0.25rem 0.25rem
|
box-shadow: 0 1rem 4rem rgba(0,0,0,0.17)
|
position: absolute
|
top: 100%
|
display: grid
|
overflow: hidden
|
&:empty
|
display: none
|
|
.button
|
background-color: var(--dark)
|
color: var(--light)
|
border-radius: 0.25rem
|
display: inline-grid
|
padding: 0.75rem 1.5rem
|
text-align: center
|
&:hover
|
opacity: 0.84
|
& + &
|
background-color: var(--haze)
|
color: var(--dark)
|
@media screen and (min-width: 20rem)
|
margin-left: 0.5rem
|
|
.video
|
overflow: hidden
|
padding-bottom: 56.25%
|
position: relative
|
height: 0
|
margin: 1.5rem 0
|
border-radius: 0.6rem
|
background-color: var(--bg)
|
box-shadow: 0 1rem 2rem rgba(0,0,0,0.17)
|
iframe
|
left: 0
|
top: 0
|
height: 100%
|
width: 100%
|
border: none
|
position: absolute
|
transform: scale(1.02)
|
|