-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpg.css
115 lines (96 loc) · 2.01 KB
/
pg.css
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.flex-container {
display: flex;
flex-wrap: wrap;
align-content: space-between;
}
.flex-container img {
background-color:white;
margin: 10px;
padding: 30px;
width:350px;
height: 300px;
align-items: center;
padding-left: 100px;
}
/* Slideshow container */
.slideshow-container {
max-width: 700px;
position: relative;
margin: auto;
padding-top: 40px;
}
/* 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: 5px;
color: white;
font-weight: bold;
font-size: 18px;
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 {
background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.text {
color: #e90c0c;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
/* .numbertext {
color:black;
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;
}
.dot:hover {
background-color: #717171;
}
/* Fading animation */
.fade1 {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade1 {
from {opacity: .4}
to {opacity: 1}
}
@keyframes fade1 {
from {opacity: .4}
to {opacity: 1}
}