SAE15_2022/assets/css/footer.css
Lyanis SOUIDI 1696faf654 Modification de styles
- Ajout d'un dark mode adaptatif
- Optimisation du CSS
2023-01-17 12:05:18 +01:00

100 lines
1.4 KiB
CSS

footer {
background: var(--c-bg-footer);
color: var(--c-footer-text);
display: grid;
align-items: center;
}
footer div p {
font-size: 25pt;
text-align: center;
}
#social ul {
display: inline-block;
}
#social li {
display: inline;
}
#copyright {
text-align: center;
padding-top: 25px;
padding-bottom: 25px;
height: 100%;
background-color: #21262d;
margin: 0;
}
#social, #sitemap, #contact {
height: max-content;
}
footer a {
color: var(--c-footer-text);
text-decoration: none;
}
#contact a:hover, #sitemap a:hover {
text-decoration: underline;
}
#social ul {
display: flex;
justify-content: center;
padding: 0;
}
#social li {
padding: 20px;
}
#sitemap ul {
list-style: none;
}
#sitemap li, #contact li {
padding-bottom: 15px;
}
footer ul {
font-weight: 600;
}
#contact ul {
list-style: none;
text-align: center;
padding: 0;
}
#contact a[href^="tel:"]::before {
content: "☎️ ";
}
#contact a[href^="mailto:"]::before {
content: "✉️ ";
}
@media screen and (min-width: 800px) {
footer {
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 85% 15%;
}
#social, #sitemap, #contact {
grid-row: 1;
}
#copyright {
grid-column: 1/4;
grid-row: 2;
}
}
@media screen and (max-width: 800px) {
footer {
grid-template-columns: 100%;
grid-auto-rows: auto;
}
}