Skip to content

Commit

Permalink
Merge pull request #6 from BhaveshSabharwal/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
BilakshanP authored Mar 8, 2024
2 parents a4a7068 + e5910b2 commit 6707ce8
Show file tree
Hide file tree
Showing 9 changed files with 427 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
testfiles
74 changes: 74 additions & 0 deletions Profiles/Profile1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href=".\profile.css">
</head>
<body>
<header class="header">
<img class="sitelogo" alt="sit-logo" src="\assets\images\icons\sitelogo.png">
<img class="search-icon" style="color: white;" alt="Search" src="\assets\images\icons\search-icon.png">
</header>

<div class="Profile">
<div class="RHS"><img class="pfp" src="\assets\images\PfPs\sample profile.png" alt="">
<p class="gist">
19xx-present<br>
D.O.B<br>
location<br>
</p></div>
<div class="LHS"><h1>Childhood</h1>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perferendis possimus iste hic magnam
fugiat distinctio soluta impedit ullam fuga, minima veniam, fugit consectetur minus, itaque
labore praesentium qui similique rerum! Lorem ipsum dolor, sit amet consectetur adipisicing
elit. Quibusdam facilis, libero natus obcaecati aliquid vel dicta eius nam id molestias at
eum ea itaque possimus quae fugiat nesciunt ducimus excepturi! Lorem ipsum dolor sit amet
consectetur adipisicing elit. Veniam rem deserunt, eveniet voluptas veritatis libero qui
sapiente, perferendis quaerat tempore dolores saepe explicabo maxime aliquam facilis quidem
ut dolore! Neque!</p>
<h1>Life</h1>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perferendis possimus iste hic magnam
fugiat distinctio soluta impedit ullam fuga, minima veniam, fugit consectetur minus, itaque
labore praesentium qui similique rerum! Lorem ipsum dolor, sit amet consectetur adipisicing
elit. Quibusdam facilis, libero natus obcaecati aliquid vel dicta eius nam id molestias at
eum ea itaque possimus quae fugiat nesciunt ducimus excepturi! Lorem ipsum dolor sit amet
consectetur adipisicing elit. Veniam rem deserunt, eveniet voluptas veritatis libero qui
sapiente, perferendis quaerat tempore dolores saepe explicabo maxime aliquam facilis quidem
ut dolore! Neque!</p>
<h1>Businesses</h1>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perferendis possimus iste hic magnam
fugiat distinctio soluta impedit ullam fuga, minima veniam, fugit consectetur minus, itaque
labore praesentium qui similique rerum! Lorem ipsum dolor, sit amet consectetur adipisicing
elit. Quibusdam facilis, libero natus obcaecati aliquid vel dicta eius nam id molestias at
eum ea itaque possimus quae fugiat nesciunt ducimus excepturi! Lorem ipsum dolor sit amet
consectetur adipisicing elit. Veniam rem deserunt, eveniet voluptas veritatis libero qui
sapiente, perferendis quaerat tempore dolores saepe explicabo maxime aliquam facilis quidem
ut dolore! Neque!</p>
</div>
</div>
<footer class="footer">
<div class="Other links">
<h3 style="color: white;">Other Links</h3>
<ul>
<li>Home</li>
<li>Theatre and Films</li>
<li>Sports and Writing</li>
<li>Science and Technology</li>
<li>Entrepreneurs and Politicians</li>
<li>Miscellaneous</li>
</ul>
</div>
<div class="subsAndSocial">
<h3 style="color: white;">Subscribe to our newsletter</h3>
<form action=""><input id="Email" placeholder="Enter your email"></input></form>
<a href="" class="abtUS">About US</a>
</div>
<div class="About u">

</div>

</footer>
</body>
</html>
96 changes: 96 additions & 0 deletions Profiles/profile.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
body{
background-color: rgb(221, 203, 151);
box-sizing: border-box;
padding: 0px;
margin: 0px;
overflow-x: hidden;
}
.header {
height: 12vh;
width: 100%;
background-color: rgb(52, 52, 52);
display: inline-block;
}
.search-icon{
height: 5vh;
width: auto;
margin-top: 3vh;
display: block;
margin-right: 5vw;
float: right;
}
.sitelogo{
height: 10vh;
width: auto;
margin-left: 2%;
margin-top: 1vh;
}
.sitelogo:hover{
cursor: pointer;;
}

.search-icon:hover {
cursor: pointer;
}

.pfp{
border-radius: 50%;
outline: 8px solid #00bfffcc;
outline-offset: 8px;
}

.RHS{
margin-top: 10vw;


}
.LHS{
margin-top: 7vw;
margin-left: 10vw;
overflow-wrap:normal;
}
.Profile{
display: flex;
margin: auto;
width: 70%;
}
.gist{
text-align: center;
}

.footer{
background-color: rgb(52, 52, 52);
height: auto;
width: 100%;
display: flex;
padding-left: 5vw;
padding-top: 2vw;
/* padding-bottom: 2vw; */
padding-bottom: 5vw;
}
ul{
color: white;
}

.subsAndSocial{
color: white;
text-align: center;
}

#Email{
border-radius: 25px;
border: 2px solid rgb(221, 203, 151);
padding: 20px;
width: 200px;
height: 6px;
background-color: rgb(52, 52, 52);
color: rgb(221, 203, 151);
margin-bottom: 10px;
}
.abtUS{
text-decoration: none;
color:rgb(221, 203, 151);
text-align: middle;
font-size: large;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
}
Binary file added assets/images/PfPs/sample profile.png
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 assets/images/icons/search-icon.png
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 assets/images/icons/sitelogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
221 changes: 221 additions & 0 deletions home.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
background-color: rgb(20, 20, 20);
font-family: 'Times New Roman', Times, serif;
}

#menu {
align-items: center;
display: flex;
height: 100vh;
width: 100vw;

&[data-active-index="0"] {
> .menu-background-pattern {
background-position: 0% -20%;
}

> .menu-background-image {
background-position: center 40%;
}
}

&[data-active-index="1"] {
> .menu-background-pattern {
background-position: 0% -40%;
}

> .menu-background-image {
background-position: center 45%;
}
}

&[data-active-index="2"] {
> .menu-background-pattern {
background-position: 0% -60%;
}

> .menu-background-image {
background-position: center 50%;
}
}

&[data-active-index="3"] {
> .menu-background-pattern {
background-position: 0% -80%;
}

> .menu-background-image {
background-position: center 55%;
}
}

&[data-active-index="4"] {
> .menu-background-pattern {
background-position: 0% -100%;
}

> .menu-background-image {
background-position: center 60%;
}
}
}

.menu-background-pattern {
background-image: radial-gradient(rgba(255, 255, 255, 0.1) 9%, transparent 9%);
background-position: 0% 0%;
background-size: 12vmin 12vmin;
height: 100vh;
left: 0px;
position: absolute;
top: 0px;
transition:
opacity 800ms ease,
background-size 800ms ease,
background-position 800ms ease;
width: 100vw;
z-index: 1;
}

.menu-item {
color: white;
cursor: pointer;
/* display: block; */
font-size: clamp(2rem, 5vw, 7rem);
padding: clamp(0.25rem, 0.5vw, 1rem) 0rem;
text-decoration: none;
transition: opacity 400ms ease;
}

.menu-items {
margin-left: clamp(4rem, 20vw, 48rem);
position: relative;
z-index: 2;

&:hover {
~ .menu-background-pattern {
background-size: 11vmin 11vmin;
opacity: 0.5;
}

~ .menu-background-image {
background-size: 100vmax;
opacity: 0.1;
}

> .menu-item {
opacity: 0.3;

&:hover {
opacity: 1;
}
}
}
}

.menu-background-image {
background-image: url("./bg2.jpg");
background-position: center 40%;
background-size: 110vmax;
height: 100%;
left: 0px;
opacity: 0.2;
position: absolute;
top: 0px;
transition:
opacity 800ms ease,
background-size 800ms ease,
background-position 800ms ease;
width: 100%;
z-index: 0;
}

li {
list-style: none;
user-select: all;

&:hover {
list-style: disc;
}

&:nth-child(1):hover {
text-shadow: 0 0 20px rgba(255, 99, 71, 0.8);
}

&:nth-child(2):hover {
text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

&:nth-child(3):hover {
text-shadow: 0 0 20px rgba(0, 255, 127, 0.8);
}

&:nth-child(4):hover {
text-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
}

&:nth-child(5):hover {
text-shadow: 0 0 20px rgba(255, 20, 147, 0.8);
}
}

/* -- YouTube Link Styles -- */

/*
body.menu-toggled > .meta-link>span {
color: rgb(30, 30, 30);
}
#source-link {
bottom: 60px;
> i {
color: rgb(94, 106, 210);
}
}
#yt-link > i {
color: rgb(239, 83, 80);
}
.meta-link {
align-items: center;
backdrop-filter: blur(3px);
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
bottom: 10px;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
cursor: pointer;
display: inline-flex;
gap: 5px;
left: 10px;
padding: 10px 20px;
position: fixed;
text-decoration: none;
transition: background-color 400ms, border-color 400ms;
z-index: 10000;
&:hover {
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
}
> i {
height: 20px;
line-height: 20px;
}
> span {
height: 20px;
line-height: 20px;
color: white;
font-family: "Rubik", sans-serif;
}
}
*/
Loading

0 comments on commit 6707ce8

Please sign in to comment.