1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-12 08:05:18 +01:00
blog/_src/_assets/styl/footer.styl
Matthias Kretschmann 384b364a63
rem all the things
- switch to rem based typography
- switch to rem based spacing
- responsive typography through root font size change
2016-04-16 20:13:14 +02:00

78 lines
1.4 KiB
Stylus

//
// kremalicious3
// --------------
// Footer
//
.site__footer
@extend .textcenter
padding-top: ($spacer*2)
.gravatar
margin-bottom: ($spacer/2)
&,
.footer-description
color: $text-color-light
line-height: $spacer
.footer-description
@extend .h5
a
display: block
.footer-copyright
@extend .divider-top
padding-top: $spacer
padding-bottom: $spacer
p
margin-bottom: 0
font-size: $font-size-mini
.icon
width: 15px
height: 15px
margin-right: .2em
margin-bottom: -2px
// Subscribe component
.subscribe
margin: $spacer auto
p
@extend .textcenter
margin: 0
.link
@extend .textcenter
width: 42px
padding: $padding-small-vertical
margin: 0
display: inline-block
color: $text-color-light
&:first-child
margin-left: 0
&:last-child
margin-right: 0
.icon
transition: color .3s ease-in-out
display: block
margin: 0 auto
.rss:hover .icon
fill: #e15a00
.twitter:hover .icon
fill: #019ad2
.google:hover .icon
fill: #c63b1e
.facebook:hover .icon
fill: #3b5998
.subscribe-title
@extend .h5
color: $text-color-dimmed
margin-bottom: ($spacer/2)