-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from Jaimin25/UI-improvements
UI improvements
- Loading branch information
Showing
9 changed files
with
412 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,75 @@ | ||
body { | ||
background-image: radial-gradient( | ||
circle, | ||
rgba(238, 130, 238, 0.544), | ||
rgba(75, 0, 130, 0.544), | ||
rgba(0, 0, 255, 0.544), | ||
rgba(34, 139, 34, 0.544), | ||
rgba(255, 255, 153, 0.544), | ||
rgba(255, 165, 0, 0.544), | ||
rgb(255, 0, 0, 0.544) | ||
); | ||
} | ||
.about { | ||
width: 100%; | ||
height: fit-content; | ||
|
||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
min-height: inherit; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
main { | ||
background-color: whitesmoke; | ||
height: fit-content; | ||
width: 40%; | ||
padding: 3rem; | ||
padding-top: 2rem; | ||
padding-right: 2rem; | ||
border-radius: 100px 100px 100px 100px; | ||
margin-bottom: 20px; | ||
background-color: #ffffff; | ||
width: 75%; | ||
height: 100%; | ||
padding: 3rem; | ||
padding-top: 2rem; | ||
padding-right: 2rem; | ||
border-radius: 12px; | ||
margin-bottom: 20px; | ||
backdrop-filter: blur(8px); | ||
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); | ||
} | ||
.heading { | ||
font-size: 40px; | ||
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; | ||
font-size: 40px; | ||
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", | ||
sans-serif; | ||
} | ||
.aboutinfo { | ||
font-size: 18px; | ||
font-family: cursive; | ||
font-style: italic; | ||
font-size: 18px; | ||
font-family: cursive; | ||
font-style: italic; | ||
} | ||
.navbar-brand { | ||
font-family: "Young Serif", serif; | ||
font-size: 5vh !important; | ||
color: black !important; | ||
font-family: "Young Serif", serif; | ||
font-size: 5vh !important; | ||
color: black !important; | ||
} | ||
.navbar-nav { | ||
color: black; | ||
display: flex; | ||
width: 100%; | ||
justify-content: end; | ||
color: black; | ||
display: flex; | ||
width: 100%; | ||
justify-content: end; | ||
} | ||
.navbar { | ||
color: black; | ||
padding: 1vh 1vw; | ||
color: black; | ||
padding: 1vh 1vw; | ||
} | ||
header { | ||
padding: 20px; | ||
padding: 20px; | ||
} | ||
main { | ||
margin: 70px; | ||
margin: 70px; | ||
} | ||
nav { | ||
display: flex; | ||
justify-content: space-evenly; | ||
display: flex; | ||
justify-content: space-evenly; | ||
} | ||
|
||
/* Styles for phones and smaller screens */ | ||
@media (max-width: 768px) { | ||
.about { | ||
display: block; | ||
margin: 40px 0px; | ||
} | ||
main { | ||
width: 90%; | ||
margin: 10px; | ||
} | ||
.heading { | ||
font-size: 30px; | ||
} | ||
.navbar-brand { | ||
font-size: 3vh !important; | ||
} | ||
.navbar-nav { | ||
flex-direction: column; | ||
} | ||
.about { | ||
display: flex; | ||
margin: 40px 0px; | ||
} | ||
main { | ||
width: 90%; | ||
margin: 10px; | ||
} | ||
.heading { | ||
font-size: 30px; | ||
} | ||
.navbar-brand { | ||
font-size: 3vh !important; | ||
} | ||
.navbar-nav { | ||
flex-direction: column; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="./styles.css" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" | ||
|
@@ -26,14 +25,16 @@ | |
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" | ||
crossorigin="anonymous" | ||
/> | ||
|
||
<!-- Linking Script --> | ||
|
||
<script | ||
defer | ||
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" | ||
crossorigin="anonymous" | ||
></script> | ||
defer | ||
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" | ||
crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="./styles.css" /> | ||
|
||
|
||
<script src="./aboutScript.js"></script> | ||
<title>About | SocialHub</title> | ||
</head> | ||
|
@@ -42,7 +43,7 @@ | |
<header> | ||
|
||
<nav id="mainNavbar" class="navbar navbar-expand-lg navbar-light fixed-top"> | ||
<a class="navbar-brand" href="#">Social Hub</a> | ||
<a class="navbar-brand" href="./">Social Hub</a> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.