-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
95 lines (95 loc) · 1.69 KB
/
index.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
@import url("./assets/common.css");
#video {
height: 100vh;
}
@media screen and (min-aspect-ratio: 4/3) {
#video {
width: 100vw;
height: unset;
}
}
#video-box {
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
width: calc(100vw - 16px);
height: calc(100vh - 124px);
background-color: #000;
}
body {
background-color: #6940ff;
overflow: hidden;
}
#logo-box {
position: absolute;
top: 24px;
left: 40px;
font-family: 'SoyuzGrotesk', Helvetica, Arial, sans-serif;
font-size: 60px;
}
#text-box {
position: absolute;
bottom: 132px;
right: 40px;
font-family: 'Sublima', Helvetica, Arial, sans-serif;
font-weight: 300;
font-size: 30px;
color: #fff;
}
#ring-box {
position: absolute;
bottom: 24px;
left: 40px;
font-family: 'Sublima', Helvetica, Arial, sans-serif;
font-weight: 300;
font-size: 30px;
color: #fff;
}
#ring-box > img {
display: none;
}
#ring-box > iframe {
position: fixed;
left: 8px;
width: calc(100vw - 16px);
bottom: 8px;
border: none;
}
@media screen and (min-width: 600px) {
#video-box {
height: calc(100vh - 16px);
}
#text-box {
bottom: 24px;
}
#ring-box > img {
display: unset;
margin-bottom: 16px;
margin-right: 32px;
}
#ring-box > iframe {
animation: 100ms linear 1 normal both running unwebring;
opacity: 0;
transition: opacity 100ms linear;
position: unset;
left: unset;
width: 400px;
bottom: unset;
border: 1px solid #6940ff
}
#ring-box:hover > iframe {
animation-name: webring;
opacity: 1;
}
}
@keyframes webring {
0% { margin-left: -600px; }
1% { margin-left: 0; }
100% { margin-left: 0; }
}
@keyframes unwebring {
0% { margin-left: 0; }
99% { margin-left: 0; }
100% { margin-left: -600px; }
}