Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.
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
101 changes: 101 additions & 0 deletions team#9 -6/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Project</title>

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="stylesheet" href="./style.css" />
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script>
<script src="https://rawcdn.githack.com/albburtsev/jquery.typist/f4f429fad5bab374b1cf01da52ce4e469758afe6/dist/jquery.typist.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script >
$(function () {
var roles = ["Reduce", "Reuse","Recycle"];
var count = 0;
setInterval(() => {
$("#intro .content h2 span").fadeOut("fast", function () {
$(this).text(roles[count++ % roles.length]);
$(this).fadeIn("fast");
});
}, 3000);
});

</script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">Name</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item active">
<a class="nav-link" href="#">DIY</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="#">Points : </a>
</li>


</ul>
</div>
</nav>

<!-------------------------------------------------------------------------------Introduction -------------------------------------------------------------------------------->
<section id="intro">
<img src="star1.jpg" alt="environment picture" />
<div class="content">
<h3 class="animate__animated animate__zoomIn">Help </h3>
<h1 class="animate__animated animate__zoomIn">India To</h1>
<h2 class="animate__animated animate__zoomIn"><span></span></h2>


</div>

</section>

<!-------------------------------------------------------------------------------About -------------------------------------------------------------------------------->
<section id="about">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div>
<h3 style="text-align:center;">Support the movement @</h3>
</div>
<div class="socials">
<a target="_blank" href="" class="animate__animated animate__zoomIn"><i class="fa fa-facebook"></i></a>
<a target="_blank" href="" class="animate__animated animate__zoomIn"><i class="fa fa-twitter"></i></a>
<a target="_blank" href="" class="animate__animated animate__zoomIn"><i class="fa fa-instagram"></i>
<a target="_blank" href="" class="animate__animated animate__zoomIn"><i class="fa fa-github"></i></a>
<a target="_blank" href="" class="animate__animated animate__zoomIn"><i class="fa fa-linkedin"></i></a>


</div>



</div>
</div>
</div>
</section>





</body>
</html>
197 changes: 197 additions & 0 deletions team#9 -6/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
html,
body {
height: 90%;
background-color : rgb(23, 110, 2);
color:white
}
body,
input {
font-family: "Montserrat";
}
#intro {
position: relative;
height: 100%;
overflow: hidden;
z-index: 1;
}
#intro::after {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 2;
}
#intro img {
display: block;
position: relative;
left: 50%;
transform: translate(-50%);
min-width: 100%;
min-height: 100%;
}
#intro .content {
text-align: center;
position: absolute;
top: 30%;
left: 0;
right: 0;
overflow: hidden;
z-index: 5;
color: #fff;
}
#intro .content h1 {
margin: 20px 0;
font-size: 4.5em;
font-weight: 300;
}
#intro .content h2 {
padding: 0;
border: none;
}
#intro .content h3 {
font-size: 1.5em;
font-weight: 300;
}
.socials {
text-align: center;
padding: 35px 0;
}
.socials a {
color: #fff;
display: inline-block;
font-size: 1.2em;
padding: 10px;
width: 45px;
height: 45px;
text-align: center;
line-height: 1.25;
border: 1px solid #fff;
border-radius: 100%;
margin: 0 10px;
transition: all 0.15s linear;
transform: scale(1);
}
.socials a:hover {
color: #ccf;
border: 1px solid #ccf;
transform: scale(1.5);
}

.card-container {
width: infinite;
overflow-x: scroll;
display: flex;
background-color: rgb(5, 39, 59);
padding: 3rem;
}

.card {
min-width: 300px;
height: 350px;
border-radius: 16px;
background-color:rgb(2, 39, 61);

display: flex;
flex-direction: column;
padding: 1.5rem;
transition: 0.2s;
}

.date {
color: #8a8a8a;
}

.tags {
display: flex;
flex-wrap: wrap;
margin: 1rem 0 1rem;
}

.tags div {
font-size: 9px;
font-weight: 700;
padding: 4px 10px;
border: 3px solid #28242f;
border-radius: 2rem;
}

.card .category-title {
font-size: 14px;
color: #fff;
margin-bottom: 1rem;
}

.card .article-title {
font-size: 20px;
font-weight: 700;
}

.card .article-header {
margin-bottom: auto;
}

.card .author {
margin-top: 3rem;
display: grid;
grid-template-columns: 75px 1fr;
}

.author .info .caption {
color: #8a8a8a;
}
.card:not(:first-child) {
margin-left: -130px;
}
.card:hover {
transform: translateY(-1rem);
}
.card:hover~.card{
transform: translateX(130px);
}
section {
margin-bottom: 25px;
}
section h2 {
text-align: center;
line-height: 1;
padding-bottom: 10px;
border-bottom: 2px solid #ccf;
}
.go-down {
text-align: center;
position: absolute;
z-index: 10;
bottom: 25px;
left: 0;
right: 0;
}
.go-down .mouse {
display: inline-block;
width: 30px;
height: 50px;
border: 2px solid #fff;
border-radius: 15px;
}
.go-down .mouse::after {
content: "";
display: block;
position: absolute;
border-radius: 100%;
width: 1px;
height: 1px;
border: 4px solid #fff;
left: 50%;
margin-left: -4px;
top: 10px;
}
.footer {
position: relative;
left: 0;
bottom: 0;
width: 100%;
background-color: rgb(5, 39, 59);
color: whitesmoke;
}