-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·61 lines (54 loc) · 900 Bytes
/
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
height: 100vh;
width: 100vw;
background-color: black;
margin: 0rem;
overflow: hidden;
}
.main {
height: 100vw;
width: 100%;
}
.main >
.main-image {
width: 100%;
height: 100vmin;
object-fit: cover;
display: none;
}
.active {
display: block !important;
}
#image-track {
display: flex;
gap: 2vmin;
position: absolute;
left: 50%;
top: 120%;
/* original
top: 50%; */
transform: translate(0%, -50%);
transition: all 1500ms;
user-select: none; /* -- image highlighting -- */
height: 500px;
/* border: 1px solid red; */
}
#image-track:hover {
top: 95%;
}
#image-track > .thumb-image {
/* original
width: 40vmin;
height: 56vmin; */
width: 30vmin;
height: 35vmin;
object-fit: cover;
object-position: 100% center;
border-radius: 5px;
box-shadow: 2px 9px 20px black;
}