Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made changes on the horizontal scrolling on the #86

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h1 class="space" data-aos="fade-left" data-aos-duration="1000">Space</h1>
</div>

<!--------------------------------------------------------------------- ENTRY BUTTON ---------------------------------------------------------------->
<div data-aos="fade-up" data-aos-duration="1000" class="button">
<div class="button">
<button><a href="dashboard.html">Find your Space</a></button>
</div>
<!-- aos script -->
Expand Down
101 changes: 54 additions & 47 deletions style-landing.css
Original file line number Diff line number Diff line change
@@ -1,118 +1,125 @@
*{
* {
font-family: 'Inter', sans-serif;
}
body{
padding: 0;
margin: 0;
padding: 0;
}
/* ----------------background image-------------------------------- */
.bg-img-land img{

body {
overflow: hidden; /* Prevent scrolling on the body */
}

/* Background image */
.bg-img-land img {
filter: blur(0.7458557588805167vh);
width: 100vw;
height: 70vh;
}

/* --------------------------------------------------------- heading wala hissa --------------------------------------------------------------- */
.heading-subtitle{
/* Heading and subtitle */
.heading-subtitle {
text-align: center;
display: block;
transform: translateZ(21.52852529601722vh);
}
.heading{

.heading {
display: flex;
text-align: center;
justify-content: center;
font-size: 5.382131324004305vh;
font-weight: 900;
margin-top: -45.821313240043054vh;
/* text shadow blur*/
text-shadow: 0 0 0.0458557588805167vh black;
}
.mind{

.mind {
color: #72d34f;
}
.space{

.space {
color: #edeff4;
}
.find{
transform: translateY(-6.458557588805167vh);

.find {
transform: translateY(-0.458557588805167vh);
}

/* ------------------------------------------------------------------ quotes ------------------------------------------------------------------------- */
.wrapper{
/* Quotes */
.wrapper {
display: block;
text-align: center;
align-items: center;
justify-content: center;
color: #2cbdc2;
overflow: hidden;

}

.wrapper .dynamic-text{
display: flex;
padding-inline-start: 0;

.dynamic-text {
margin-left: -20px;
margin-top: 150px;
height: 90px;
line-height: 90px;
animation: slideright 30s linear infinite;
width: 100%;
line-height: 0px;
overflow: hidden;
}

.dynamic-text li{
.dynamic-text li {
list-style: none;
font-size: 50px;
font-size: 25px;
font-weight: 500;
font-weight: 700;
margin-right: 20px;
white-space: nowrap;

position: relative;
top: 0;
line-height: 100px;
animation: slideup 450s steps(100);
}

@keyframes slideright {
0%{
transform: translateX(0%);


}
100%{
transform: translateX(100%);
@keyframes slideup {
100% {
top: -10000px;
}
}

.dynamic-text li span{
.dynamic-text li span {
position: relative;
}

.dynamic-text li span::after{
.dynamic-text li span::after {
content: "";
position: absolute;
}

/* ---------------------------------- ENTRY BUTTON ------------------------------------- */
.button{


/* Entry Button */
.button {
display: flex;
align-items: center;
justify-content: center;
margin-top: 50px;
}
button{

button {
background-color: #72d34f;
width: 250px;
height: 55px;
border-style: none;
border: none;
border-radius: 12px;
color: white;
font-size: 25px;
font-size: 18px; /* Adjusted font size */
font-weight: 700;
cursor: pointer;
transition: 0.5s;
transition: all 0.3s ease; /* Added smooth transition */
}
button:hover{

button:hover {
width: 275px;
height: 60px;
background-color: green;
background-color: #4aaf3a; /* Adjusted hover color */
border-radius: 16px;
}
button a{

button a {
text-decoration: none;
color: white;
}