Skip to content

Commit

Permalink
Merge pull request #927 from Vidip-Ghosh/FixesIssue#872
Browse files Browse the repository at this point in the history
New Background image for index.html
  • Loading branch information
akshitagupta15june authored Jun 27, 2023
2 parents 8bce8b1 + 3ecf899 commit f87496d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
Binary file added Images/HeroSection.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/OMSymbol.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 16 additions & 2 deletions commonStyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,12 @@ footer{
gap: 4rem;
margin-left: 10rem;
margin-right: 10rem;

font-size: 16px;
}

.footer-divide-text{
text-align: left;
padding-top: 30px;

font-size: 16px !important;
}

Expand All @@ -98,4 +96,20 @@ footer{
margin-bottom: 5px;
margin-top: 5px;
font-size: 16px;
}
.OmSymbol{
position: relative;
height: 18vh;
width: 11vw;
left: 40vw;
bottom: 5vh;
}

@media screen and (min-width: 280px) and (max-width: 912px) {
.OmSymbol{
position: relative;
height: 100px;
width: 120px;
left: 40vw;
}
}
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ <h1 class="text-xs uppercase font-semibold tracking-widest">Menu</h1>

<!-- Hero Section & Navbar -->
<div
class="heroSection h-[100vh] flex px-0 text-2xl lg:text-lg flex-col items-center bg-[url('./Images/testHero2.jpg')] bg-top bg-no-repeat bg-cover ">
class="heroSection h-[100vh] flex px-0 text-2xl lg:text-lg flex-col items-center bg-[url('./Images/HeroSection.jpeg')] bg-top bg-no-repeat bg-cover">

<!-- Navbar -->
<div class="indexNavbar fixed top-0 px-4 py-3 ease-in-out text-white duration-300 flex z-30 items-center justify-between w-full left-0 ">
<!-- Navbar -->
<div class="indexNavbar fixed top-0 px-4 py-3 ease-in-out text-white duration-300 flex z-30 items-center justify-between w-full left-0 bg-gradient-to-l from-[#009933] to-[#c4e327]">
<div class="leftSection">
<a class="flex items-center" href="./index.html">
<img src="./Images/New_Logo_2.png" alt="Moksh Logo" class="w-[4rem] h-[4rem] rounded-full" />
Expand Down Expand Up @@ -233,8 +233,9 @@ <h1 class="text-xs uppercase font-semibold tracking-widest">Menu</h1>
<!-- Hero Section -->
<div
class="heroSectionContent mt-20 h-[calc(90vh-0px)] w-full flex items-center flex-col text-white py-8 relative">
<img src="./Images/OMSymbol.png" class="OmSymbol" />
<div class="top text-center pt-8">
<p class="projectName text-[4em]">Moksh</p>
<p class="projectName text-[4em]">"Moksh</p>
<span class="text-xs italic mt-8 block sm:font-semibold">
A Spiritual Productivity Tool for Mental Wellness.
</span>
Expand Down

0 comments on commit f87496d

Please sign in to comment.