-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
94 lines (79 loc) · 1.31 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
83
84
85
86
87
88
89
90
91
92
93
94
* {box-sizing:border-box}
h1 {
text-align: center;
}
.slideshow-container {
width: 100%;
max-width:1000px;
position: relative;
margin: auto;
}
.img-container {
display: none;
}
.img-number {
position: absolute;
margin-top: .25rem;
margin-left: .5rem;
font-size: 1.5rem;
font-weight: 700;
color:#000;
}
button {
border: none;
outline: none;
height: 2rem;
width: 2.5rem;
opacity:.5;
font-size: 1.2rem;
border-radius: 3px;
background-color: #bbb;
}
button:hover {
transition: background-color 300ms ease-in-out;
background-color: #999;
}
.previous, .next {
display: inline-block;
cursor: pointer;
position: absolute;
top: 50%;
color: #000;
}
.next {
right: 0;
}
.anime-name {
position: absolute;
width: 100%;
text-align: center;
margin-top: -2.5rem;
font-size: 2rem;
color: #000;
font-weight: 700;
}
.navigation-dots {
text-align: center;
}
.dot {
display: inline-block;
height: .75rem;
width: .75rem;
margin: .1rem;
background-color: #bbb;
transition: background-color 600ms ease;
border-radius: 50%;
}
.dot:hover {
cursor: pointer;
transition: background-color 300ms ease-in-out;
background-color: #777;
}
.img-container {
animation-name: fade;
animation-duration: 1s;
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}