-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
114 lines (111 loc) · 2.27 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
@font-face {
font-family: "DejaVuSans";
src: url("./fonts/DejaVuSans.ttf") format('truetype');
}
@font-face {
font-family: "DejaVuSans-Bold";
src: url("./fonts/DejaVuSans-Bold.ttf") format('truetype');
font-weight: bold;
}
@keyframes animatedBackground {
from { background-position: 0 0; }
to { background-position: -100% 0; }
}
@keyframes blink {
0%, 4%, 60%, 68%, 100% {
background: url('./img/room.png') no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
}
1%, 3% {
background: url('./img/monika-half.png') no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
}
2% {
background: url('./img/monika-full.png') no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
}
}
.animate-area {
width: 100%;
height: 100%;
background-position: 0px 0px;
background-repeat: repeat-x;
animation: animatedBackground 500s linear infinite;
}
body {
margin: 0;
}
.blink {
animation: blink 8s infinite ease-in-out;
}
.bg {
width: 100%;
height: 100%;
background: url('./img/room.png') no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
position: absolute;
z-index: 2;
}
.bg-container {
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
}
.bg-effects {
width: 500%;
height: 100%;
position: absolute;
z-index: 1;
}
.stars {
height: 100%;
background: url('./img/mask_2.png');
background-repeat: repeat;
}
.dialog-container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: flex-end;
}
#dialog-box {
margin-bottom: 2rem;
width: 60vw;
min-width: 600px;
position: relative;
line-height: 1.5;
opacity: 0;
}
#textbox {
width: 100%;
height: auto;
}
#dialog {
position: absolute;
top: 2vw;
left: 2vw;
font-size: 2vw;
color: white;
font-family: "DejaVuSans";
}
.btn {
background: #e183ac;
color: white;
border-radius: 5px;
position: fixed;
top: 10px;
padding: 10px;
right: 10px;
text-decoration: none;
}