added complete footer in all views

This commit is contained in:
plebbitor
2023-04-24 13:09:59 +02:00
parent 6258fc3e20
commit 04cdd9f445
6 changed files with 339 additions and 29 deletions
+115
View File
@@ -2783,4 +2783,119 @@ export const BoardForm = styled.div`
}
}}
}
`;
export const Footer = styled.div`
#version {
text-align: center;
font-size: 11px;
font-family: "arial";
}
@media (min-width: 480px) {
#break {
display: none;
}
hr {
margin-top: -10px;
}
#version {
margin-top: 25px;
}
}
@media (max-width: 480px) {
margin-top: 60px;
.style-changer {
display: none;
}
#version {
margin-top: -2em;
}
}
${({ selectedStyle }) => {
switch (selectedStyle) {
case 'Yotsuba':
return `
.footer-links {
a {
color: #00e;
text-decoration: none;
}
a:hover {
color: red;
}
}`;
case 'Yotsuba-B':
return `
.footer-links {
a {
color: #34345c;
text-decoration: none;
}
a:hover {
color: #d00;
}
}`;
case 'Futaba':
return `
.footer-links {
a {
color: #00e;
text-decoration: underline;
}
a:hover {
color: red;
}
}`;
case 'Burichan':
return `
.footer-links {
a {
color: #34345c;
text-decoration: underline;
}
a:hover {
color: #d00;
}
}`;
case 'Tomorrow':
return `
.footer-links {
a {
color: #81a2be;
text-decoration: none;
}
a:hover {
color: #5f89ac;
}
}`;
case 'Photon':
return `
.footer-links {
a {
color: #f60;
text-decoration: none;
}
a:hover {
color: #f30;
}
}`;
}
}}
`;