-
Notifications
You must be signed in to change notification settings - Fork 9
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 #24 from Mubashir-Md/main
Home page done with responsiveness
- Loading branch information
Showing
7 changed files
with
112 additions
and
1,452 deletions.
There are no files selected for viewing
Binary file not shown.
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
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
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
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,51 +1,119 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
div.video{ | ||
div.home { | ||
height: 100dvh; | ||
background-color: #000; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-evenly; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
margin-top: 40px; | ||
@media (max-width: 500px) { | ||
margin-top: 70px; | ||
|
||
} | ||
|
||
} | ||
|
||
div.home p.text { | ||
color: #fff; | ||
font-size: 6rem; | ||
font-weight: 400; | ||
font-family: "Noto Sans Display", sans-serif; | ||
text-align: center; | ||
margin-bottom: 1rem; | ||
line-height: 1.2; | ||
} | ||
|
||
div.home p.last { | ||
color: #fff; | ||
font-size: 2rem; | ||
font-weight: 300; | ||
font-family: "Noto Sans Display", sans-serif; | ||
text-align: center; | ||
margin-bottom: 1rem; | ||
line-height: 1.2; | ||
} | ||
|
||
div.video img{ | ||
max-width: 800px; | ||
max-height: 500px; | ||
border: #fff solid 2px; | ||
@media (max-width: 500px) { | ||
height: auto; | ||
max-height: 500px; | ||
max-width: 250px; | ||
span.tsig { | ||
color: #fff; | ||
font-size: 7rem; | ||
font-weight: 400; | ||
font-family: "Noto Sans Display", sans-serif; | ||
text-align: center; | ||
background: linear-gradient(to bottom right, | ||
#FFFFFF 0%, | ||
#FFEA61 25%, | ||
#FFEA61 50%, | ||
#FFFFB7 75%, | ||
#FFD400 100%); | ||
-webkit-background-clip: text; | ||
background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
-webkit-text-fill-color: transparent; | ||
background-size: 500% auto; | ||
animation: textShine 3s ease-in-out infinite alternate; | ||
} | ||
|
||
@keyframes textShine { | ||
0% { | ||
background-position: 100% 0%; | ||
} | ||
|
||
100% { | ||
background-position: 0% 100%; | ||
} | ||
} | ||
|
||
div.home div.down{ | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-around; | ||
align-items: center; | ||
|
||
} | ||
div.video a { | ||
text-decoration: none; | ||
color: #000; | ||
background-color: #fff; | ||
div.down a{ | ||
margin: 10px; | ||
background-color: transparent; | ||
color: black; | ||
font-size: 1.5rem; | ||
font-weight: 400; | ||
font-family: "Noto Sans Display", sans-serif; | ||
padding: 10px 20px; | ||
border-radius: 5px; | ||
font-size: 1.2rem; | ||
border: white 2px | ||
solid; | ||
cursor: pointer; | ||
transition: all 0.3s ease-in-out; | ||
|
||
} | ||
div.down p.last{ | ||
font-size: 2rem; | ||
font-weight: 400; | ||
font-family: "Noto Sans Display", sans-serif; | ||
text-align: center; | ||
margin: 10px auto; | ||
font-weight: bold; | ||
@media (max-width: 500px) { | ||
margin: 10px auto; | ||
width: 50%; | ||
margin: 1rem; | ||
|
||
} | ||
a i{ | ||
font-size: 3rem; | ||
color: #FFF; | ||
} | ||
|
||
|
||
@media (min-width: 270px) and (max-width: 768px) { | ||
div.home p.text { | ||
font-size: 3rem; | ||
} | ||
|
||
div.home p.last { | ||
font-size: 1rem; | ||
} | ||
|
||
span.tsig { | ||
font-size: 4rem; | ||
} | ||
|
||
div.home a { | ||
font-size: 1rem; | ||
|
||
} | ||
} |
Oops, something went wrong.