mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 04:08:46 +00:00
Mobile view works, but broke desktop in the process
This commit is contained in:
parent
bbe1cfd317
commit
28f9251512
2 changed files with 19 additions and 28 deletions
|
@ -9,26 +9,28 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items:flex-start;
|
align-items:flex-start;
|
||||||
|
justify-content: space-between;
|
||||||
background-color: var(--Rotkehlchen-gray);
|
background-color: var(--Rotkehlchen-gray);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-left {
|
.footer-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
gap: 2rem;
|
||||||
align-items: center;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-link {
|
.footer-link {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem; /*Gap between icon and logo */
|
||||||
|
text-decoration: none; /*prevents constant underline*/
|
||||||
color: black;
|
color: black;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-link.feather img {
|
.footer-link.feather img {
|
||||||
|
@ -51,15 +53,8 @@
|
||||||
.footer-right {
|
.footer-right {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2rem;
|
gap: 0.4rem; /*gap between the links*/
|
||||||
align-items: center;
|
align-items: flex-end;
|
||||||
}
|
|
||||||
|
|
||||||
.footer-column {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 0.5rem;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-column a {
|
.footer-column a {
|
||||||
|
@ -68,11 +63,11 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-column a:hover {
|
.footer-link:hover, .footer-link:active {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*media adjusts styles for desktop */
|
/*@media adjusts styles for desktop */
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.footer {
|
.footer {
|
||||||
|
|
|
@ -20,18 +20,14 @@ function Footer() {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="footer-right">
|
<div className="footer-right">
|
||||||
<div className="footer-column">
|
|
||||||
<a href="">Home</a>
|
<a className="footer-link" href="#">Home</a>
|
||||||
<a href="">About</a>
|
<a className="footer-link" href="#">About</a>
|
||||||
</div>
|
<a className="footer-link" href="#">Login</a>
|
||||||
<div className="footer-column">
|
<a className="footer-link" href="#">Sign up</a>
|
||||||
<a href="">Login</a>
|
<a className="footer-link" href="#">Create Post</a>
|
||||||
<a href="">Sign up</a>
|
<a className="footer-link" href="#">Feed</a>
|
||||||
</div>
|
|
||||||
<div className="footer-column">
|
|
||||||
<a href="">Create Post</a>
|
|
||||||
<a href="">Feed</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue