-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslider.css
More file actions
121 lines (105 loc) · 2.08 KB
/
Copy pathslider.css
File metadata and controls
121 lines (105 loc) · 2.08 KB
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
116
117
118
119
120
121
@import url('https://fonts.googleapis.com/css?family=Just+Another+Hand');
body, html {
width: 100%;
height: 100%;
margin: 0;
font-family: 'Just Another Hand', cursive;
}
#i1, #i2, #i3, #i4, #i5 {
display: none;
}
.container {
margin: 20px auto 0;
width: 70%;
height: 0;
padding-bottom: 38%;
user-select: none;
background-color: #1c1c1c;
border: solid 10px #616161;
border-radius: 10px;
position: relative;
}
.container .slide_img {
position: absolute;
width: 100%;
height: 100%;
}
.container .slide_img img {
width: inherit;
height: inherit;
}
.prev, .next {
width: 12%;
height: inherit;
position: absolute;
top:0;
background-color: rgba(88, 88, 88,.2);
color:rgba(244, 244, 244,.9);
z-index: 99;
transition: .45s;
cursor: pointer;
text-align: center;
}
.next{
right:0;
}
.prev {
left:0;
}
label span {
position: absolute;
font-size: 100pt;
top: 50%;
transform: translateY(-50%);
}
.prev:hover, .next:hover {
transition: .3s;
background-color: rgba(88, 88, 89,.8);
color: #ffffff;
}
.container #nav_slide {
width: 100%;
bottom: 12%;
height: 11px;
position: absolute;
text-align: center;
z-index: 99;
cursor: default;
}
#nav_slide .dots {
top: -5px;
width: 18px;
height: 18px;
margin: 0 4px;
position: relative;
border-radius: 100%;
display: inline-block;
background-color: rgba(0, 0, 0, 0.6);
transition: .4s;
}
#nav_slide .dots:hover {
cursor: pointer;
background-color: rgba(255, 255, 255, 0.9);
transition: .25s
}
.slide_img {
z-index: -1;
}
#i1:checked ~ #one ,
#i2:checked ~ #two ,
#i3:checked ~ #three,
#i4:checked ~ #four ,
#i5:checked ~ #five {
z-index: 9; animation: scroll 1s ease-in-out;
}
#i1:checked ~ #nav_slide #dot1,
#i2:checked ~ #nav_slide #dot2,
#i3:checked ~ #nav_slide #dot3,
#i4:checked ~ #nav_slide #dot4,
#i5:checked ~ #nav_slide #dot5 {
background-color: rgba(255,255,255,.9);
}
@keyframes scroll{
0%{ opacity:.4;}
100%{opacity:1;}
}