-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
79 lines (70 loc) · 1.35 KB
/
styles.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
/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
/* DARKMODE SUPREME */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
background-color: #24252A;
font-family: 'Open Sans', sans-serif;
color: #DDDDDD;
}
/* JUMPSCARE */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 100;
background-color: rgba(0, 0, 0, 0.7);
}
.overlay.hidden {
opacity: 0;
}
.blur {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
background-size: cover;
background-position: center;
}
.content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-align: center;
cursor: default;
}
@keyframes jumpscare_scale-up {
from {
transform: scale(1);
}
to {
transform: scale(1.5);
}
}
.jumpscare_scale-up {
animation: scale-up 0.2s linear;
}
/* Disable the animation */
.no-animation {
animation: none !important;
}
.jump_no-animation {
animation: none !important;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
background-size: cover;
background-position: center;
opacity: 0.5;
}