-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (96 loc) · 1.83 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
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
background-color: #19100b;
}
body {
margin: 20px;
}
.background-plane {
height: inherit;
overflow: hidden;
}
.background-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: cover;
filter: blur(45px) contrast(110%) brightness(70%) saturate(120%);
}
.image-container {
height: calc(100% - 60px);
width: 100%;
transform-style: preserve-3d;
perspective: 1300px;
perspective-origin: 50% 50%;
position: relative;
cursor: crosshair;
}
.image-container img {
width: 100%;
height: 100%;
border-radius: 20px;
position: absolute;
transition: transform 0.5s ease-in-out;
}
.expanded {
margin: auto;
}
.expanded img {
height: 50% !important;
width: auto;
}
.grid-container {
width: 100%;
display: none;
transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.grid-container img {
width: 100%;
max-height: 100%;
border-radius: 20px;
position: absolute;
transition: transform 0.5s ease-in-out;
}
.grid-container.show {
display: initial;
opacity: 1;
}
.grid-container img {
width: 32%;
height: auto;
position: relative;
opacity: 0; /* Initially hidden */
transition: opacity 0.5s ease-in-out;
}
.grid-container img:hover {
transform: scale(1.2); /* Scale up on hover */
}
.perspective-view {
opacity: 1;
}
.grid-view {
opacity: 0;
display: none;
}
#slides-button {
position: absolute;
}
button {
display: block;
background-color: #21150f;
border: none;
border-radius: 10px;
color: white;
font-size: 12px;
margin: 10px 0;
transition: all .4s;
}
button:hover {
background-color: #2e1e17;
}