hacks-guide-minimal-mistake.../_sass/minimal-mistakes/_footer.scss

84 lines
1.5 KiB
SCSS
Raw Normal View History

2016-03-11 21:55:06 +01:00
/* ==========================================================================
FOOTER
========================================================================== */
.page__footer {
@include clearfix;
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
/* sticky footer fix start */
position: absolute;
bottom: 0;
height: auto;
/* sticky footer fix end */
2016-03-11 22:17:41 +01:00
margin-top: 3em;
2016-03-31 04:20:55 +02:00
color: mix(#fff, $gray, 25%);
-webkit-animation: $intro-transition;
animation: $intro-transition;
-webkit-animation-delay: 0.45s;
animation-delay: 0.45s;
background-color: $lighter-gray;
border-top: 1px solid $light-gray;
2016-03-21 21:36:24 +01:00
footer {
@include clearfix;
margin-left: auto;
margin-right: auto;
margin-top: 2em;
max-width: 100%;
padding: 0 1em 2em;
@include breakpoint($x-large) {
max-width: $x-large;
}
}
2016-03-21 21:36:24 +01:00
2016-03-11 21:55:06 +01:00
a {
color: inherit;
2016-03-11 21:55:06 +01:00
text-decoration: none;
2016-03-21 21:36:24 +01:00
2016-03-11 21:55:06 +01:00
&:hover {
text-decoration: underline;
}
}
.fa {
color: mix(#fff, $gray, 25%);
}
2016-03-11 21:55:06 +01:00
}
.page__footer-copyright {
font-family: $global-font-family;
2016-03-31 04:20:55 +02:00
font-size: $type-size-7;
2016-03-11 21:55:06 +01:00
}
.page__footer-follow {
2016-03-21 21:36:24 +01:00
2016-03-11 21:55:06 +01:00
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
li {
display: inline-block;
2016-03-23 03:59:39 +01:00
padding-top: 5px;
padding-bottom: 5px;
2016-03-11 22:17:41 +01:00
font-family: $sans-serif-narrow;
font-size: $type-size-6;
2016-03-11 22:17:41 +01:00
text-transform: uppercase;
2016-03-11 21:55:06 +01:00
}
li + li:before {
content: "";
padding-right: 5px;
}
2016-03-21 21:36:24 +01:00
a {
2016-03-23 03:59:39 +01:00
padding-right: 10px;
2016-03-21 21:36:24 +01:00
font-weight: bold;
}
2016-03-11 21:55:06 +01:00
}