/* Simple css for slideshow */
html {
padding: 0px; margin: 0px;
font-family: "Times New Roman", Times, serif;
}
/* The containger for the entire slideshow. */
.wrapper {
position: relative;
width: 640px;
margin: 20px auto;
clear: both;
border: 0px solid purple;
text-align: center;
}
/* This is the frame into which we place the active slide
and hide the inactive slides */
#frame {
width: 600px;
overflow: hidden;
height: 300px;
border: 2px solid black;
margin: 0px 20px;
}
/* CSS for navigation */
.stop-forward,
.auto-forward {
text-align: center;
font-family: Arial, Gadget, sans-serif;
margin: 5px auto;
font-size: 16px;
font-weight: 600;
width: auto;
padding: 3px 18px;
background-color: grey;
border: 1px solid black;
border-radius: 10px;
display: inline;
box-shadow: 3px 3px 5px black;
}
.stop-forward:hover,
.auto-forward:hover {
background-color: green;
color: white;
border: 3px solid black;
}
.arrow-prev {
position: absolute;
top: 120px;
left: -3px;
}
.arrow-next {
position: absolute;
top: 120px;
right: -6px;
}
/* The div that holds the three active slides at any given time */
#slides {
width: 1800px;
height: 400px;
margin-left: -600px;
font-family: Arial, Gadget, sans-serif;
text-align: left;
}
/* CSS classes to help with animation.
This could be cleaned up a little more */
#slides.animate {
transition-property: all;
transition-duration: 1.3s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
#slides.animate-none {
transition-duration: 0s;
}
#slides.animate.move-right {
margin-left: 0px;
}
#slides.animate.move-left {
margin-left: -1200px;
}
#slides div.image {
margin-top: -30px;
width: 600px;
height: 330px;
float: left;
}
#slides img {
width: 600px;
}
.caption {
padding: 5px 20px;
background-color: rgba(0, 0, 0, 0.5);
width: 560px;
height: 20px;
color: white;
}
.caption.down {
position: relative;
top: 330px;
left: 600px;
transition-property: all;
transition-duration: 1s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.caption.down-left {
position: relative;
top: 330px;
left: 0px;
transition-property: all;
transition-duration: 1s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
#active-slide {
position: relative;
}
.caption.up {
position: relative;
top: 300px;
left: 0px;
transition-property: all;
transition-duration: 0.5s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.caption.up-1 {
position: relative;
top: 300px;
left: 0px;
transition-property: all;
transition-duration: 1.5s;
transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.caption.move-down {
position: relative;
top: 330px;
}
.caption.down.move-up {
position: relative;
left: 600px;
top: 300px;
}
.caption.down-left.move-up-left {
position: relative;
left: 0px;
top: 300px;
height: 20px;
width: 560px;
padding: 5px 20px;
}
.hide-caption {
position: relative;
top: 330px;
left: 600px;
height: 20px;
width: 560px;
padding: 5px 20px;
}
/* Simple CSS for the 'about text' on page */
#about-text {
border: 0px solid green;
clear: both;
width: 600px;
margin: 0px auto;
}
.center {
text-align: center;
}
#about-text p {
margin-top: 30px;
}