mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-06 15:18:48 +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;
|
||||
flex-direction: row;
|
||||
align-items:flex-start;
|
||||
justify-content: space-between;
|
||||
background-color: var(--Rotkehlchen-gray);
|
||||
padding: 1rem;
|
||||
gap: 2rem;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.footer-left {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
color: black;
|
||||
gap: 0.5rem; /*Gap between icon and logo */
|
||||
text-decoration: none; /*prevents constant underline*/
|
||||
color: black;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.footer-link.feather img {
|
||||
|
@ -51,15 +53,8 @@
|
|||
.footer-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
gap: 0.4rem; /*gap between the links*/
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.footer-column a {
|
||||
|
@ -68,11 +63,11 @@
|
|||
font-weight: 500;
|
||||
}
|
||||
|
||||
.footer-column a:hover {
|
||||
.footer-link:hover, .footer-link:active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/*media adjusts styles for desktop */
|
||||
/*@media adjusts styles for desktop */
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.footer {
|
||||
|
|
|
@ -20,18 +20,14 @@ function Footer() {
|
|||
</div>
|
||||
|
||||
<div className="footer-right">
|
||||
<div className="footer-column">
|
||||
<a href="">Home</a>
|
||||
<a href="">About</a>
|
||||
</div>
|
||||
<div className="footer-column">
|
||||
<a href="">Login</a>
|
||||
<a href="">Sign up</a>
|
||||
</div>
|
||||
<div className="footer-column">
|
||||
<a href="">Create Post</a>
|
||||
<a href="">Feed</a>
|
||||
</div>
|
||||
|
||||
<a className="footer-link" href="#">Home</a>
|
||||
<a className="footer-link" href="#">About</a>
|
||||
<a className="footer-link" href="#">Login</a>
|
||||
<a className="footer-link" href="#">Sign up</a>
|
||||
<a className="footer-link" href="#">Create Post</a>
|
||||
<a className="footer-link" href="#">Feed</a>
|
||||
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue