-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (80 loc) · 1.27 KB
/
style.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
.slideshow{
cursor: pointer;
}
.slides{
position: relative;
}
.slide{
display: none;
position: relative;
animation: fade 0.5s;
}
@keyframes fade {
0% { opacity: 0; }
100% { opacity: 1; }
}
.slide.active{
display: block;
}
.slide img{
width: 100%;
}
.slide div{
position: absolute;
bottom: 0;
background-color: #fff;
width: 100%;
min-height: 44px;
transition: min-height 0.5s;
display: flex;
justify-content: center;
align-items: center;
}
.slide div p.active{
margin-bottom: 0;
color: #fff;
padding: 10px;
transition: font-size 0.5s;
}
.prev , .next{
position: absolute;
background-color: #0009;
top: 50%;
padding: 16px;
color: #fff;
margin-top: -32px;
}
.prev:active , .next:active{
background-color: #000;
}
.prev{
left: 0;
border-radius: 0 5px 5px 0;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height:30px;
background-color: black;
color: white;
text-align: center;
}
.next{
right: 0;
border-radius: 5px 0 0 5px;
}
.points{
margin-top: 10px;
}
.points span{
width: 15px;
height: 15px;
display: inline-block;
background-color: #aaa;
border-radius: 50%;
}
.points span.active{
background-color: #555;
}