Files
housesof/src/style/organisms/_footer.scss
Félix Péault 25fa9e1c07
All checks were successful
continuous-integration/drone/push Build is passing
Fix some spacing
- Footer links icons
- Browse locations
2020-03-29 12:17:50 +02:00

125 lines
2.7 KiB
SCSS

/* ==========================================================================
FOOTER
========================================================================== */
.footer {
background-color: #2D0458;
.wrap {
display: block;
padding-top: 48px;
padding-bottom: 32px;
@include breakpoint (sm) {
display: flex;
justify-content: space-between;
align-items: center;
height: 120px;
padding-top: 0;
padding-bottom: 0;
}
}
// Left part
&__left {
display: flex;
justify-content: center;
margin-bottom: 40px;
@include breakpoint (sm) {
margin: 0;
}
}
// Right part
&__right {
font-size: 14px;
text-align: center;
@include breakpoint (sm) {
display: flex;
align-items: center;
}
li {
display: block;
text-align: center;
height: 100%;
& > ul {
display: flex;
justify-content: center;
margin-bottom: 32px;
@include breakpoint (sm) {
margin-bottom: 0;
margin-right: 24px;
}
li {
margin: 3px 20px 0;
}
a {
display: block;
}
}
}
a {
position: relative;
color: #fff;
text-decoration: none;
transition: color 85ms $ease-inout;
img, svg {
margin-right: 8px;
@include breakpoint (sm) {
margin-right: 16px;
}
}
// Hover
&:hover {
color: $color-secondary;
}
}
// Instagram
.instagram {
a {
display: inline-flex;
align-items: center;
justify-content: center;
}
svg {
display: block;
transition: fill 275ms $ease-cubic;
}
// Hover
a:hover svg {
fill: $color-secondary;
}
}
// Made by
.by {
text-align: center;
img {
display: block;
height: 22px;
width: auto;
margin: 0 auto;
transition: transform 400ms $ease-quart;
will-change: transform;
}
// Hover
a:hover img {
transform: scale(1.05);
}
}
}
}