-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (96 loc) · 1.65 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
@import url('https://fonts.googleapis.com/css2?family=Lexend:[email protected]&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Lexend", sans-serif;
}
body, video {
overflow: hidden;
}
.container{
width: 100%;
height: 100vh;
background-color: rgba(0,0,0,0.4);
display: flex;
align-items: center;
justify-content: center;
}
#titleEl, #scrambleTitleEl, #footerScramble {
transition: 0.2s;
color: #fff;
padding: 1em;
display: flex;
flex:wrap;
font-size: 50px;
width: fit-content;
}
#scrambleTitleEl {
position: absolute;
opacity: 0.5;
transform: translateY(-10rem);
}
#footerScramble {
position: absolute;
opacity: 0.3;
right: 0;
bottom: 0;
}
#footerScramble2 {
position: absolute;
font-size: 200px;
opacity: 0.1;
color: #fff;
left: 0;
bottom: 0;
transform: translateY(10px);
}
.background-clip{
position: absolute;
right: 0;
bottom: 0;
z-index: -1;
}
div#content {
user-select: none;
transition: 1.5s;
color: #fff;
}
.logo {
background: #eee;
padding: 5px;
border-radius: 5px;
position: absolute;
display: flex;
flex-direction: left;
top: 1em;
left: 1em;
}
.logo > img {
height: 40px;
margin-left: 5px;
margin-right: 5px;
}
.footer {
position: absolute;
display: flex;
justify-content: center;
color: #fff;
opacity: 0.2;
bottom: 10px;
font-style: oblique;
}
@media (min-aspect-ratio:16/9) {
.background-clip{
width: 100%;
height: auto;
}
}
@media (orientation: portrait) {
.background-clip{
left: 50%;
transform: translateX(-50%);
width: auto;
height: 100vh;
}
}