forked from Dravelz-21/kick_twitch-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
81 lines (68 loc) · 1.16 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
html, body{
background-color: black;
margin: 0px;
height: 100%;
}
#page-wrapper{
display: flex;
flex-flow: row;
height: 100%;
}
#kick-icon{
position: absolute;
height: 10%;
opacity: 0;
}
#platformSwitch{
display: none;
}
#channelSelector {
animation: fadeOut 0.2s forwards;
animation-delay: 5s;
position: absolute;
display: inline-block;
left: 0%;
border: none;
color: white;
padding: 20px 105px;
text-align: center;
text-decoration: none;
font-size: 16px;
background-color: #4CAF50;
}
#channelSelector:hover {
animation: fadeIn 0.2s forwards;
}
#alertBox {
display: none;
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadeOut {
from {opacity: 1;}
to {opacity: 0;}
}
@media only screen and (max-aspect-ratio: 1/1){
.player{
flex: 1 1 auto;
}
.chat{
flex: 6 1 auto;
}
#page-wrapper {
flex-flow: column;
}
#channelSelector{
left: 0%;
}
}
@media only screen and (min-aspect-ratio: 1/1){
.player{
flex: 50 1 auto;
}
.chat{
flex: 1 1 auto;
}
}