soapbox/app/styles/footer.scss

93 wiersze
1.7 KiB
SCSS

.public-layout {
.footer {
display: flex;
padding: 40px 0;
font-size: 12px;
justify-content: center;
align-items: center;
margin-top: auto;
color: #fff;
background-color: rgba(0, 0, 0, 0.15);
@media screen and (max-width: 1024px) {
padding: 40px 20px;
}
.footer-container {
display: flex;
width: 960px;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
@media screen and (max-width: 1024px) {
width: 100%;
}
@media screen and (max-width: 767px) {
flex-direction: column-reverse;
justify-content: center;
}
}
h4 {
text-transform: uppercase;
font-weight: 700;
margin-bottom: 8px;
color: var(--primary-text-color--faint);
font-size: 1rem;
line-height: 1.5;
a {
color: inherit;
text-decoration: none;
}
}
.copyright {
margin-right: auto;
span {
font-size: 0.8125rem;
font-weight: 500;
line-height: 1.5;
}
}
ul {
display: flex;
flex-wrap: wrap;
margin-left: auto;
li {
a {
text-decoration: none;
color: #fff;
font-size: 0.8125rem;
font-weight: 500;
line-height: 1.5;
padding: 10px 4px;
margin-left: 10px;
&:hover,
&:active,
&:focus {
text-decoration: underline;
}
}
}
}
@media screen and (max-width: 767px) {
.copyright {
margin: 0 auto auto;
text-align: center;
}
ul {
margin: 0 auto 20px;
}
}
}
}