You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
157 lines
2.3 KiB
CSS
157 lines
2.3 KiB
CSS
/*NAVIGATION*/
|
|
|
|
/*more button*/
|
|
.more {
|
|
position: fixed;
|
|
bottom: 0;
|
|
right: 0;
|
|
padding-bottom: 25px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.more img{
|
|
width: 90%;
|
|
}
|
|
|
|
|
|
/*corner sun*/
|
|
.sun {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
float:left;
|
|
z-index: -1;
|
|
padding-bottom: 25px;
|
|
}
|
|
|
|
.sun img{
|
|
max-width: 90%;
|
|
}
|
|
|
|
/*bar*/
|
|
.topnav {
|
|
overflow: hidden;
|
|
padding-left: 2vw;
|
|
}
|
|
|
|
/*style*/
|
|
.topnav a {
|
|
float:left;
|
|
color: grey;
|
|
font-family: 'Nunito', sans-serif;
|
|
text-align: center;
|
|
padding: 2vh 2vw;
|
|
text-decoration: none;
|
|
font-size: 1em;
|
|
}
|
|
|
|
/*hover link*/
|
|
.topnav a:hover {
|
|
color: skyblue;
|
|
}
|
|
|
|
/*active link*/
|
|
.topnav a.active {
|
|
color: skyblue;
|
|
}
|
|
|
|
/* SLIDESHOW */
|
|
|
|
* {box-sizing:border-box}
|
|
|
|
/* Slideshow container */
|
|
.slideshow-container {
|
|
max-width: 800px;
|
|
position: relative;
|
|
margin: auto;
|
|
padding-top:50px;
|
|
|
|
}
|
|
|
|
/* Hide the images by default */
|
|
.mySlides {
|
|
display: none;
|
|
}
|
|
|
|
/* Next & previous buttons */
|
|
.prev, .next {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
top: 50%;
|
|
width: auto;
|
|
margin-top: -22px;
|
|
padding: 20px;
|
|
color: black;
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
transition: 0.6s ease;
|
|
border-radius: 0 3px 3px 0;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Position the "next button" to the right */
|
|
.next {
|
|
right: 0;
|
|
border-radius: 3px 0 0 3px;
|
|
}
|
|
|
|
/* On hover, add a black background color with a little bit see-through
|
|
.prev:hover, .next:hover {
|
|
color: yellow;
|
|
} */
|
|
|
|
/* Caption text */
|
|
.text {
|
|
font-family: sans-serif;
|
|
color: yellow;
|
|
font-size: 20px;
|
|
padding: 8px 12px;
|
|
position: absolute;
|
|
top: 20%;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Number text (1/3 etc) */
|
|
.numbertext {
|
|
color: #f2f2f2;
|
|
font-size: 12px;
|
|
padding: 8px 12px;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
/* The dots/bullets/indicators */
|
|
.dot {
|
|
cursor: pointer;
|
|
height: 15px;
|
|
width: 15px;
|
|
margin: 0 2px;
|
|
background-color: #bbb;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
transition: background-color 0.6s ease;
|
|
}
|
|
|
|
.active, .dot:hover {
|
|
background-color: #717171;
|
|
}
|
|
|
|
/* Fading animation */
|
|
.fade {
|
|
-webkit-animation-name: fade;
|
|
-webkit-animation-duration: 1.5s;
|
|
animation-name: fade;
|
|
animation-duration: 1.5s;
|
|
}
|
|
|
|
@-webkit-keyframes fade {
|
|
from {opacity: .4}
|
|
to {opacity: 1}
|
|
}
|
|
|
|
@keyframes fade {
|
|
from {opacity: .4}
|
|
to {opacity: 1}
|
|
}
|