-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (93 loc) · 1.78 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
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
overflow: hidden;
}
div {
z-index: 2;
}
main{
padding: 2.5rem;
min-height:100vh;
background-color: white;
display:flex;
align-items: center;
flex-direction: column;
justify-content: space-between;
}
a {
text-decoration: none;
all:unset;
cursor: pointer;
}
a {
transition: opacity 0.3s ease-in-out;
}
.icons:has(a:hover) a {
opacity: 0.5;
}
.icons:has(a:hover) a:hover {
opacity: 1;
}
video {
object-fit: cover;
pointer-events: none;
z-index: 0;
position:fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
video::-webkit-media-controls {
display: none;
}
video::-webkit-media-controls-panel {
display: none !important;
opacity: 1 !important;}
h1 {
text-align: center;
z-index: 2;
font-size: clamp(4rem, 1.143rem + 7.619vw, 8rem);
font-family: "Jost", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
ion-icon {
font-size: 32px;
padding: 16px;
}
.tooltip {
position: relative;
display: inline-block;
cursor: pointer;
}
.tooltiptext {
font-family: "Jost", sans-serif;
font-size: 1.125rem;
visibility: hidden;
width: auto;
background-color: black;
color: #fff;
text-align: center;
border-radius: 4px;
padding: 8px;
position: absolute;
z-index: 1;
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(32px);
opacity: 0;
transition: opacity 0.3s, transform 800ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}
.tooltip:hover .tooltiptext {
visibility: visible;
transform: translateX(-50%) translateY(0px);
opacity: 1;
}