mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 01:08:47 +00:00
moved footer into folder, hopefully git tracking worked
This commit is contained in:
parent
ee53f9ad21
commit
4eb76cad95
3 changed files with 95 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Header from "../header";
|
import Header from "../header";
|
||||||
import Footer from "../Footer";
|
import Footer from "../footer/Footer";
|
||||||
|
|
||||||
function Feed() {
|
function Feed() {
|
||||||
return (
|
return (
|
||||||
|
|
94
code/frontend/src/footer/footer.css
Normal file
94
code/frontend/src/footer/footer.css
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
/*mobile style first*/
|
||||||
|
.footer {
|
||||||
|
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: 2rem;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-link {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem; /*Gap between icon and logo */
|
||||||
|
text-decoration: none; /*prevents constant underline*/
|
||||||
|
color: black;
|
||||||
|
font-weight: 500;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-link.feather img {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
transform: scale(1.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-link img {
|
||||||
|
height: 1.5rem;
|
||||||
|
object-fit: unset;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-link.feather span {
|
||||||
|
color: var(--Rotkehlchen-orange-default);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-right {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.4rem; /*gap between the links*/
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-column a {
|
||||||
|
color: black;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-link:hover,
|
||||||
|
.footer-link:active {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.footer-link.feather:hover,
|
||||||
|
.footer-link.feather:active {
|
||||||
|
text-decoration-color: var(--Rotkehlchen-orange-default);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*@media adjusts styles for desktop */
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.footer {
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
text-align: left;
|
||||||
|
padding: 2rem 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-left {
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-right {
|
||||||
|
flex-direction: row;
|
||||||
|
gap: 4rem;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-column {
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue