-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
69 lines (62 loc) · 1.17 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
@import url('https://fonts.googleapis.com/css2?family=Exo+2&display=swap');
*, *::before, *::after{
box-sizing: border-box;
margin: 0;
}
/* ====== GENERAL TAGS ====== */
body{
font-family: 'Exo 2', sans-serif;
}
img{
width: 100%;
height: auto;
max-height: 100vh;
}
/* ====== SLIDE CONTAINER ====== */
#slide-container{
position: relative;
width: 100%;
}
/* ====== SLIDES & CAPTIONS ====== */
.slide{
display: none;
}
.caption{
text-align: center;
color: white;
font-size: 1.5rem;
font-weight: bold;
position: absolute;
bottom: 4px;
width: 100%;
background-color: rgb(0, 0, 0, 0.5);
padding: 18px 0px;
}
/* ====== ARROW STYLING ====== */
.arrow{
cursor: pointer;
position: absolute;
top: 45%;
background-color: rgb(255, 255, 255, 0.712);
padding: 5px 14px;
font-weight: bold;
font-size: 25px;
border-radius: 50%;
}
.arrow:hover{
background-color: rgb(255, 255, 255);
}
/* ==== PREVIOUS ARROW ==== */
.prev{
left: 18px;
}
.prev:hover{
transform: translateX(-4px);
}
/* ==== NEXT ARROW ==== */
.next{
right: 18px;
}
.next:hover{
transform: translateX(4px);
}