kazhnuz.css/src/scss/custom/_footer.scss

67 lines
1.5 KiB
SCSS
Raw Normal View History

2021-07-30 11:17:05 +02:00
/* 4.2 - Footer
* The page footer
**/
/** Main styling **/
body {
// On colorise le background de la page complete de la même
// couleur que le fond du footer.
background-color: $color-footer-back;
}
footer {
@include angled-edge('outside top', 'upper left', $color-footer-back, 32);
color: getTextColorFromBackground($color-footer-back);
padding-top:1.5rem;
font-size: 0.85rem!important;
padding-bottom:1.5rem;
.footer-collumns {
@include container-big();
display: grid;
grid-template-columns: 1fr;
grid-template-rows: auto;
grid-gap: $lineheight;
padding-bottom: $lineheight;
@include lg() {
grid-template-columns: 1fr 1fr 1fr;
}
a, a:visited {
&:hover, &:active, &:visited {
color: getTextColorFromBackground($color-footer-back);
}
}
}
}
/** Social media buttons **/
ul.social {
font-size:1.5em;
padding-bottom:1.5em;
margin:auto;
text-align:center;
li {
margin:0;
list-style: none;
display: inline;
a, a:visited {
color: $color-footer-back;
background-color: getTextColorFromBackground($color-footer-back);
padding:0.3em;
padding-left:0.36em;
padding-right:0.36em;
vertical-align:middle;
border-radius:100%;
&:hover {
color:getTextColorFromBackground($color-footer-back);
background-color: $color-footer-back;
}
}
}
}