{!editMode &&
}
@@ -84,15 +82,15 @@ function Profile() {
50
- Posts
+ Posts
100
- Followers
+ Followers
50
- Following
+ Following
diff --git a/code/frontend/src/profile.css b/code/frontend/src/pages/profile.css
similarity index 59%
rename from code/frontend/src/profile.css
rename to code/frontend/src/pages/profile.css
index 81e6de9..95c5d80 100644
--- a/code/frontend/src/profile.css
+++ b/code/frontend/src/pages/profile.css
@@ -1,25 +1,6 @@
.profile-display {
- display: flex;
- flex-direction: column;
- height: 100vh; /* Full viewport height */
- width: 100vw; /* Full viewport width */
- position: absolute;
- background: var(
- --gradient-blue-backround-mobile,
- linear-gradient(
- 270deg,
- rgba(20, 15, 86, 0.27) 0%,
- rgba(20, 15, 86, 0.58) 24%,
- rgba(20, 15, 86, 0.74) 43%,
- rgba(17, 13, 71, 0.82) 56%,
- rgba(13, 10, 56, 0.9) 68%
- ),
- url("../public/assets/images/BirdsSky.jpg") lightgray 50% / cover no-repeat
- );
- align-items: center;
- background-attachment: fixed;
padding-top: var(--Header-hight);
- z-index: -1;
+ flex-direction: column;
}
.user-info {
@@ -28,7 +9,9 @@
border-radius: 1rem;
background-color: hsla(244, 70%, 13%, 0.71);
backdrop-filter: blur(8px);
- margin-top: 1rem;
+ margin-top: calc(var(--Header-height) + 1rem);
+ padding-left: 1rem;
+ padding-right: 1rem;
}
.user {
@@ -45,7 +28,7 @@
flex-direction: row;
font-size: 18px;
font-weight: 500;
- color: var(--Rotkehlchen-gray-default);
+ color: var(--Rotkehlchen-gray);
border-radius: 1rem;
}
@@ -62,34 +45,24 @@
}
.profile-username {
- font-size: 24px;
font-weight: 700;
color: var(--Rotkehlchen-orange-default);
}
- .edit-profile {
- color: var(--Rotkehlchen-orange-default);
- font-size: 25px;
- }
-
- .bio {
- display: flex;
- align-content: start;
- padding: 2px;
- border: 1px solid var(--Rotkehlchen-brown-light);
- color: aliceblue;
+ .button {
+ margin-bottom: 0.5rem;
}
.divider {
- border-color: var(--Rotkehlchen-brown-light);
+ border-color: var(--Rotkehlchen-orange-default);
}
@media screen and (min-width: 768px) {
.profile-display {
- display: flex;
flex-direction: row;
justify-content: space-around;
align-items: baseline;
+ padding-top: 1rem;
}
.user-info {
@@ -99,10 +72,7 @@
border-radius: 1rem;
background-color: hsla(244, 70%, 13%, 0.71);
align-self: top;
- }
-
- .button {
- margin-bottom: 0.5rem;
+ padding-bottom: 1rem;
}
.user {
@@ -115,11 +85,13 @@
display: flex;
flex-direction: column;
margin-top: 2rem;
- font-size: 26px;
- font-weight: 750;
+ font-weight: 700;
+ font-size: 2rem;
}
.data-label {
+ padding-top: 0.5rem;
+ font-size: 1.5rem;
font-weight: 500;
}
@@ -129,18 +101,9 @@
margin: 1rem;
}
- .profile-username {
- font-size: 24px;
- font-weight: 700;
- }
-
.profile-avatar {
width: 5rem;
height: 5rem;
background-color: aqua;
}
-
- .edit-profile {
- font-size: 35px;
- }
}
diff --git a/code/frontend/src/quiltedImageList.css b/code/frontend/src/quiltedImageList.css
deleted file mode 100644
index 7ddc536..0000000
--- a/code/frontend/src/quiltedImageList.css
+++ /dev/null
@@ -1,16 +0,0 @@
-.imageList {
- height: 100vh;
- width: fit-content;
- margin-left: 1rem;
- margin-right: 1rem;
-}
-
-@media only screen and (min-width: 768px) {
- .image-list {
- height: 90vh;
- position: relative;
- width: fit-content;
- margin-left: 1rem;
- margin-right: 10ch;
- }
-}
diff --git a/code/frontend/src/styles/colors.css b/code/frontend/src/styles/colors.css
index ed581ba..31c2ad1 100644
--- a/code/frontend/src/styles/colors.css
+++ b/code/frontend/src/styles/colors.css
@@ -17,3 +17,11 @@
url("../../public/assets/images/BirdsSky.jpg") lightgray 50% / cover
no-repeat;
}
+
+body{
+ height: 100vh; /* Full viewport height */
+ width: 100vw; /* Full viewport width */
+ background: var(--gradient-blue-backround-mobile);
+ z-index: -1;
+ background-attachment: fixed;
+}
diff --git a/code/frontend/src/styles/sizes.css b/code/frontend/src/styles/sizes.css
new file mode 100644
index 0000000..5ff0480
--- /dev/null
+++ b/code/frontend/src/styles/sizes.css
@@ -0,0 +1,3 @@
+:root {
+ --Header-height: 50px;
+}
\ No newline at end of file
diff --git a/code/frontend/src/test.tsx b/code/frontend/src/test.tsx
index a2b09e8..1b619b6 100644
--- a/code/frontend/src/test.tsx
+++ b/code/frontend/src/test.tsx
@@ -1,8 +1,7 @@
import * as React from "react";
-import './header.css';
+import './components/header.css';
import Box from "@mui/material/Box";
import Drawer from "@mui/material/Drawer";
-import Button from "@mui/material/Button";
import IconButton from "@mui/material/IconButton";
import List from "@mui/material/List";
import Divider from "@mui/material/Divider";