-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
99 lines (89 loc) · 1.47 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
color: white;
font-family: 'Inter', sans-serif;
font-weight: 100;
}
html,
body {
overflow: hidden;
background-color: black;
}
main {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: scroll;
}
.header {
position: fixed;
width: 100%;
height: 100px;
display: flex;
align-items: center;
padding: 0 2vw;
z-index: 10;
mix-blend-mode: difference;
}
.container {
position: relative;
width: 100%;
display: flex;
gap: 20px;
padding: 100px 2vw;
}
.column {
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
}
.post {
position: relative;
overflow: hidden;
width: 100%;
border-radius: 20px;
}
img {
width: 100%;
height: 100%;
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.1);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: 0.5s;
}
.post:hover .overlay {
opacity: 1;
cursor: pointer;
}
.ball {
outline: rgb(255, 255, 255) solid 1px;
width: 50px;
height: 50px;
border-radius: 50%;
position: absolute;
top: 0;
left: 0;
transform: translate(-50%, -50%);
mix-blend-mode: difference;
z-index: 20;
pointer-events: none;
}