60 lines
716 B
CSS
60 lines
716 B
CSS
|
:root {
|
||
|
--red: #ff595e;
|
||
|
--green: #8ac926;
|
||
|
--yellow: #ffca3a;
|
||
|
--blue: #1982c4;
|
||
|
--purple: #6a4c93;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background: black;
|
||
|
color: white;
|
||
|
font-family: Tahoma;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.offline {
|
||
|
background: var(--red);
|
||
|
}
|
||
|
|
||
|
.online {
|
||
|
background: var(--green);
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
color: var(--yellow);
|
||
|
font-size: 1.2em;
|
||
|
margin: 10px;
|
||
|
}
|
||
|
|
||
|
ul {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
flex-direction: row;
|
||
|
list-style-type: none;
|
||
|
margin-left: 10px;
|
||
|
margin-top: 10px;
|
||
|
}
|
||
|
|
||
|
ul li.box {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
width: 72px;
|
||
|
height: 72px;
|
||
|
margin: 2px;
|
||
|
font-weight: bold;
|
||
|
cursor: pointer;
|
||
|
|
||
|
}
|
||
|
|
||
|
ul li:hover {
|
||
|
outline: 1px solid white;
|
||
|
font-size: 1.1em;
|
||
|
}
|