File: /var/www/zaklada/html/lib/scss/layouts/_footer.scss
.site-footer {
background: $color-blue-dark;
padding: 18px 0 0 0;
@media screen and (min-width: 768px) {
padding: 54px 40px 30px;
}
&__cols {
display: flex;
justify-content: space-between;
flex-direction: column;
@media screen and (min-width: 768px) {
flex-direction: row;
}
}
&__col {
flex: 1;
margin: 0;
display: flex;
justify-content: flex-start;
@media screen and (min-width: 768px) {
justify-content: center;
margin: 0 15px;
}
h4 {
font-size: rem(16);
margin: 0 0 5px 0;
color: $color-blue-light;
text-align: left;
@media screen and (min-width: 992px) {
font-size: rem(20);
margin: 0 0 10px 0;
}
}
}
&__nav {
padding: 0;
margin: 0;
margin-bottom: 20px;
&--alternate {
position: relative;
.site-footer__item {
padding-left: 14px;
&:before {
display: block;
top: 10px;
width: 7px;
height: 7px;
}
@media screen and (min-width: 992px) {
padding-left: 26px;
&:before {
top: 9px;
width: 13px;
height: 13px;
}
}
}
}
}
&__item {
color: $color-white;
font-size: rem(14);
line-height: 2;
font-weight: 400;
padding-left: 0;
&:before {
display: none;
}
a {
text-decoration: none;
color: inherit;
transition: 200ms all ease-in-out;
word-break: normal;
&:hover {
color: $color-gold-light;
}
}
@media screen and (min-width: 992px) {
font-size: rem(16);
}
}
}
.footer-social {
padding: 15px 0;
border-top: 0.5px solid $color-white;
border-bottom: 0.5px solid $color-white;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
@media screen and (min-width: 768px) {
flex-direction: row;
padding: 23px;
}
&__links {
display: flex;
flex-direction: row;
align-items: center;
}
&__text {
font-weight: 400;
font-size: rem(14);
color: $color-blue-light;
line-height: 1;
margin: 0;
margin-bottom: 15px;
@media screen and (min-width: 768px) {
font-size: rem(16);
margin-bottom: 0;
margin-right: 86px;
}
}
&__item {
display: flex;
align-items: center;
margin-right: 30px;
text-decoration: none;
font-weight: 400;
&:hover {
.footer-social__title {
text-decoration: underline;
font-weight: bold;
}
}
&:last-of-type {
margin-right: 0;
}
@media screen and (min-width: 768px) {
margin-right: 69px;
}
}
&__img {
margin-right: 15px;
width: 29px;
@media screen and (min-width: 768px) {
width: auto;
}
}
&__title {
color: $color-white;
font-size: rem(14);
@media screen and (min-width: 768px) {
font-size: rem(16);
}
}
}
.copyright {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
padding: 14px 0;
@media screen and (min-width: 768px) {
padding: 30px;
flex-direction: row;
align-items: center;
}
&__text {
font-size: rem(14);
line-height: 1.5;
color: $color-blue-light;
font-weight: 400;
@media screen and (min-width: 768px) {
font-size: rem(16);
&:first-of-type {
margin-right: 20px;
}
&:last-of-type {
margin-left: 20px;
}
display: block;
}
&--divider {
display: none;
}
}
a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}