Brief-Generator/frontend/src/components/Footer.css

76 lines
1.2 KiB
CSS

footer {
position: fixed;
bottom: 0;
width: 100%;
}
.footer-container {
background-color: var(--primary);
padding: 4rem 0 2rem 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.footer-links {
width: 100%;
max-width: 1080px;
display: flex;
justify-content: space-around;
}
.footer-link-wrapper {
display: flex;
}
.footer-link-items {
display: flex;
flex-direction: column;
align-items: left;
text-align: left;
box-sizing: content-box;
}
.footer-link-items h2 {
margin-bottom: 16px;
}
.footer-link-items > h2 {
color: var(--secondary);
}
.footer-link-items a {
color: var(--secondary);
text-decoration: none;
margin-bottom: 8px;
}
.footer-link-items a:hover {
border-bottom: 0.2em dotted var(--secondary);
transition: 0.2s none;
}
@media screen and (max-width: 768px) {
.footer-container {
display: flex;
}
.footer-links {
display: flex;
flex-flow: column wrap;
}
.footer-link-wrapper {
display: flex;
justify-content: space-around;
margin-bottom: 2rem;
}
.footer-link-items {
display: flex;
align-items: center;
flex-direction: column;
}
}