-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
134 lines (113 loc) · 2.08 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
* {box-sizing:border-box}
body {
background-color: #d1d3d7;
}
.video1 {
width: 42.5vw;
height: 24vw;
background-color: red;
position: fixed;
margin-left: 23vw;
margin-top: -29.5vw;
}
.gif1 {
width: 16.7vw;
height: 25.1vw;
background-color: black;
position: fixed;
margin-left: 80.3vw;
margin-top: -29.9vw;
}
.navigation {
margin-top: 25px;
}
.double {
width: 49.7%;
}
/* Slideshow container */
.slideshow-container {
max-width: 100%;
position: relative;
margin: auto;
margin-top: 80px;
height: 35.7vw;
font-size: 0px;
}
/* Hide the images by default */
.mySlides {
display: none;
width: 100%;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 24px;
transition: 0.2s 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: #bbb;
}
.slider {
width: 50%;
padding: 0px;
margin: 0px;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 2px;
width: 6.249%;
margin: 0px;
padding: 0px;
float: left;
background-color: #bbb;
display: inline-block;
transition: background-color 0.2s ease;
}
.active, .dot:hover {
background-color: white;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 0.1s;
animation-name: fade;
animation-duration: 0.1s;
}
@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
.videoWrapper {
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
float: left;
z-index: 1;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}