File: D:/HostingSpaces/SBogers10/honger7.komma.pro/resources/assets/sass/site/partials/_footer.sass
/* ==========================================================================
Main footer
========================================================================== */
footer.main
width: 100%
background: $black
color: $footerTextColor
a
color: $footerTextColor
text-decoration: none
+transition(color 100ms ease-out)
&:hover
color: #fff
.flexable-layout
flex-wrap: wrap
padding-top: column(.75,12)
// The footer is divided in three equal columns
.footer-col
display: flex
flex-direction: column // 1
flex-basis: initial
flex-grow: 0
flex-shrink: 0
justify-content: flex-end
width: 33.33333%
font-size: $baseFontSize
// Position logo at the bottom left
&.logo-container
align-items: flex-start
.logo
width: 60%
max-width: 250px
fill: $footerTextColor
+transition(fill 100ms ease-out)
&:hover
fill: #fff
+respond-to-width($mdGridBreakpoint)
width: column(3,4)
// Position button centered
&.button-container
align-items: center
.streamer
display: inline-block
text-align: center
margin-bottom: 30px
font-size: 1.5rem
line-height: 1.4
// Social media is vertically centered
// Contact details are at the bottom right
&.contact-container
align-items: flex-end
line-height: 1.6
text-align: right
nav.footer
border-top: 1px solid #262F3E
margin-top: column(.75,12)
text-align: center
width: 100%
ul
padding: 0
margin: 0
list-style: none
li
padding: column(.4,12) 0
display: inline-block
margin-right: 50px
&:last-child
margin-right: 0
// Social icons
.social-media
.icon
display: inline-block
height: 24px
margin-left: 10px
&.facebook
width: 14px
+sprite(0 -60px)
&.linkedIn
width: 22px
+sprite(-20px -60px)
.less-important-stuff
background: #141826
width: 100%
.col-6
font-size: .8rem
line-height: 40px
color: #606D7A
a
color: #606D7A
&:hover
color: lighten(#606D7A,10)
&:nth-child(2)
text-align: right
a
margin-left: 20px
+respond-to-width($mdGridBreakpoint)
.footer-col.button-container
.button
height: 50px
line-height: 45px
&:before
top: 17px
nav.footer
li
margin-right: 20px
/*
* Small breakpoint
* Align footer in column direction
*/
+respond-to-width($smGridBreakpoint)
.flexable-layout
flex-direction: column
.footer-col
width: 100%
margin-bottom: 30px
&.button-container
align-items: flex-start
order: 3
&.contact-container
align-items: flex-start
order: 1
padding-top: 0
text-align: left
.social-media .icon
margin-left: 0
margin-right: 10px
&.logo-container
order: 4
margin: column(.75,12) 0
nav.footer
margin: 0 0 column(.75,12)
order: 2
border-top: none
text-align: left
li
display: block
padding: 0
.less-important-stuff
padding: 20px 0
.col-6
line-height: 1.2
display: block
margin: 0 0 0 column(1,12)
&:nth-child(2)
text-align: left
a
margin: 0
a
display: block
margin: 0
+respond-to-width($xsGridBreakpoint)
padding-top: $mobileTopSpace
.flexable-layout
padding: 0 $mobileAsideSpace