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

Added image slider #25

Open
wants to merge 1 commit 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
134 changes: 134 additions & 0 deletions css/red-scheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,9 @@ blockquote {
font-size: 14px;
color: #aaaaaa;
}
.description{
font-size: x-large;
}
.project-single .description {
margin-bottom: 40px;
}
Expand Down Expand Up @@ -1446,3 +1449,134 @@ blockquote {
height: auto;
}
}

.carousel-fade .carousel-inner .item {
opacity: 0;
background-color: rgba(0, 0, 0, 0.645);
z-index: -1;
transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
left: 0;
opacity: 0;
z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
opacity: 1;
}
.item.active {
justify-content: center;
}
.item.active img {
width: auto;
height: auto;
}
.carousel-fade .carousel-control {
z-index: 2;
}
@media all and (transform-3d), (-webkit-transform-3d) {
.carousel-fade .carousel-inner > .item.next,
.carousel-fade .carousel-inner > .item.active.right {
opacity: 0;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-inner > .item.prev,
.carousel-fade .carousel-inner > .item.active.left {
opacity: 0;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-inner > .item.next.left,
.carousel-fade .carousel-inner > .item.prev.right,
.carousel-fade .carousel-inner > .item.active {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.carousel-caption {
text-shadow: 0 1px 4px rgba(0, 0, 0, 1);
font-size: 17px;
}
.carousel-caption h3 {
font-size: 30px;
font-family: "Lato", sans-serif;
}
html,
body,
.carousel,
.carousel-inner,
.carousel-inner .item {
height: 100%;
width: 100%;
}

.item:nth-child(1) {
background: url("../images/includes/P4.jpg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}

.item:nth-child(2) {
background: url("../images/includes/P5.jpg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}

.item:nth-child(3) {
background: url("../images/includes/blog2.jpg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}

.item:nth-child(4) {
background: url("../images/includes/p1.jpg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}
.item:nth-child(5) {
background: url("../images/includes/p2.jpg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}
.item:nth-child(6) {
background: url("../images/includes/3.jpeg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}
.item:nth-child(7) {
background: url("../images/includes/p4.jpg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}
.item:nth-child(8) {
background: url("../images/includes/p6.jpg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}
.item:nth-child(9) {
background: url("../images/includes/NIGHT.jpg");
background-size: 75% 75%;
background-position: center center;
background-repeat: no-repeat;
}
/* .description{
font-size: xx-large;
} */
133 changes: 126 additions & 7 deletions project-slideshow.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h2 class="page-title">Project Showcase</h2>
</div> <!-- /.parallax-overlay -->
</div> <!-- /.pageTitle -->

<div class="container">
<!-- <div class="container">
<div class="row project-single">
<div class="col-md-8">
<div class="flexslider">
Expand All @@ -115,9 +115,9 @@ <h2 class="page-title">Project Showcase</h2>
<li><img src="images/includes/NIGHT.jpg" alt="Slide 9"></li>
</ul>
</div>

</div> <!-- /.col-md-8 -->
<div class="col-md-4">
</div> /.col-md-8 -->
<!-- <div class="col-md-4">
<div class="project-info">
<span class="subtitle">In Progress</span>
<h3 class="project-title">Mars Rover</h3>
Expand All @@ -127,10 +127,129 @@ <h3 class="project-title">Mars Rover</h3>
<li><span>Tagline:</span>Progress Work</li>
</ul>
</div> <!-- /.project-info -->
</div> <!-- /.col-md-4 -->
</div> <!-- /.row -->
</div> <!-- /.container -->
<!-- </div> <!-- /.col-md-4 -->
<link
rel="stylesheet"
type="text/css"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"
/>
<link
href="https://fonts.googleapis.com/css?family=Lato"
rel="stylesheet"
type="text/css"
/>

<div style="text-align: center">
<h3
style="
text-align: center;
margin: 40px 0px;
border-bottom: 2px solid #666;
display: inline-block;
padding-bottom: 10px;
font-size: xx-large;
"
>
Mars Rover
</h3>
<p class="description" style = "text-align: center">The team is working on various aspects of the project i.e. Software, Mechanical, Electronics, Communication, Life Sciences.</p>
<ul class="meta-post" >
<li style = "text-align: center ; font-size: large"><span >Date: </span>November 2022</li>
<li style = "text-align: center ; font-size: large"><span >Tagline: </span>Progress Work</li>
</ul>
</div>
<div
id="carouselFade"
class="carousel slide carousel-fade"
data-ride="carousel"
>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<!-- Controls -->
<a
class="left carousel-control"
href="#carouselFade"
role="button"
data-slide="prev"
>
<span
class="glyphicon glyphicon-chevron-left"
aria-hidden="true"
></span>
<span class="sr-only">Previous</span>
</a>
<a
class="right carousel-control"
href="#carouselFade"
role="button"
data-slide="next"
>
<span
class="glyphicon glyphicon-chevron-right"
aria-hidden="true"
></span>
<span class="sr-only">Next</span>
</a>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
</div>

<div class="related-projects">
<div class="container">
Expand Down