blob: a9e90beaaf883cdf7cc42e93dccc60698af72690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
/* Rounded screenshot images */
img
{
border-radius: 8px;
}
/* Slideshow container */
.slideshow-container {
max-width: 90%;
position: relative;
margin: auto;
}
/* Hide the images by default */
.mySlides {
border-radius: 8px;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 10px 10px 0;
user-select: none;
background-color: rgba(0,0,0,0.0);
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 10px 0 0 10px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
color: white;
background-color: rgba(0,0,0,0.25);
text-decoration: none;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #AAC4E3;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #01306F;
}
/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
border-radius: 20px;
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
|