forked from ddugovic/twitch-alert-overlay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
116 lines (109 loc) · 1.89 KB
/
main.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
115
116
body {
width: 1920px;
height: 1080px;
padding: 0px;
margin: 0px;
}
.instructions {
font-size: 48px;
font-family: sans-serif;
text-align: center;
}
@keyframes slidein {
0% {
left: -1920px;
}
10% {
left: 0px;
}
80% {
opacity: 1;
}
100% {
opacity: 0;
}
}
#alerts {
width: 1920px;
height: 1080px;
}
#alerts-frame {
position: absolute;
width: 1920px;
height: 1080px;
display: flex;
flex-direction: column;
flex-wrap: wrap-reverse;
align-content: flex-start;
animation-name: slidein;
animation-duration: 10s;
animation-fill-mode: forwards;
}
.alert {
display: flex;
flex-direction: row;
align-items: center;
background-color: rgb(97, 97, 97);
width: 627px;
height: 204;
margin-top: 10px;
margin-right: 10px;
border-radius: 40px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.profile-picture {
display: block;
width: 204;
height: 204;
background-color: black;
border-radius: 40px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.name-group {
width: 423;
display: flex;
flex-direction: column;
}
.followed-by {
font-family: sans-serif;
text-align: center;
padding: 5px;
background-color: #6441a5;
color: white;
font-size: 30px;
font-weight: 900;
}
.display-name {
font-family: sans-serif;
text-align: center;
padding: 15px;
background-color: gray;
color: white;
font-size: 35px;
font-weight: 900;
text-shadow: -1px 1px 2px #000, 1px 1px 2px #000, 1px -1px 0 #000,
-1px -1px 0 #000;
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.2);
}
@keyframes slidein-right {
0% {
left: 1080px;
}
20% {
left: 0px;
}
90% {
left: 0px;
}
100% {
left: -1080px;
}
}
#gif {
position: absolute;
z-index: 999;
bottom: 0px;
animation-name: slidein-right;
animation-duration: 6s;
animation-fill-mode: forwards;
}