-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyles.css
More file actions
61 lines (51 loc) · 832 Bytes
/
styles.css
File metadata and controls
61 lines (51 loc) · 832 Bytes
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
:root {
--online: #32bf00;
--offline: #cc3300;
--white: #fff;
}
body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#status {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#state {
order: 2;
margin-top: 15px;
font-size: 4.5rem;
color: var(--white);
padding: 10px 15px;
border-radius: 8px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
transition: all 0.3s;
}
#state:hover {
filter: opacity(0.9);
}
.ONLINE {
background-color: var(--online);
}
.OFFLINE {
background-color: var(--offline);
}
.provider-info {
order: 1;
height: 40px;
font-size: 1.5rem;
opacity: 0;
transition: all 0.3s;
}
#state:hover + .provider-info {
display: block;
opacity: 1;
}
.provider-name {
font-weight: bold;
}