150 lines
2.3 KiB
CSS
150 lines
2.3 KiB
CSS
|
|
* {
|
|
font-family: 'MonaspaceXenon', serif;
|
|
}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
background-color: #EFEFEF;
|
|
}
|
|
|
|
.hidden { display: none !important; }
|
|
|
|
main {
|
|
display: grid;
|
|
grid-template-columns: 20px 50px 1fr 50px 20px;
|
|
grid-column-gap: 1rem;
|
|
grid-row-gap: 1rem;
|
|
|
|
margin: 1rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3em;
|
|
text-shadow: 0 0 8px #888;
|
|
}
|
|
|
|
.header {
|
|
grid-column: 2/5;
|
|
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
grid-column-gap: 1rem;
|
|
}
|
|
|
|
.loader_left,
|
|
.loader_right{
|
|
display: flex;
|
|
width: 50px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.loader_left img {
|
|
width: 24px;
|
|
height: 24px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
cursor: pointer;
|
|
transition: transform 0.15s ease-in-out,
|
|
opacity 0.10s ease-in-out;
|
|
|
|
opacity: 0;
|
|
}
|
|
|
|
.loader_left img:hover {
|
|
transform: scale(1.2, 1.2);
|
|
opacity: 1.0;
|
|
}
|
|
|
|
.header:hover .loader_left img {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.header:hover .loader_left img:hover {
|
|
opacity: 1.0;
|
|
}
|
|
|
|
|
|
#maincontent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
|
|
grid-column: 1/-1;
|
|
}
|
|
|
|
.server {
|
|
background-color: #CCC;
|
|
padding: 2px 0.5rem;
|
|
|
|
color: black;
|
|
text-decoration: none;
|
|
|
|
border-radius: 6px;
|
|
border: 1px solid #888;
|
|
|
|
box-shadow: 0 0 4px #888;
|
|
|
|
transition: all 0.2s;
|
|
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
grid-column-gap: 1rem;
|
|
}
|
|
|
|
.server .txt_icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
text-align: left;
|
|
}
|
|
|
|
.server .txt_icon img {
|
|
width: 16px;
|
|
height: 16px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.server:not(:hover) .txt_icon img {
|
|
filter: grayscale(1)
|
|
}
|
|
|
|
.server .txt_port {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.server:hover {
|
|
box-shadow: 0 0 4px #000;
|
|
background-color: #AAA;
|
|
color: #00A;
|
|
}
|
|
|
|
.loader {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
position: relative;
|
|
border: 10px solid;
|
|
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.5);
|
|
box-sizing: border-box;
|
|
animation: rotation 1s linear infinite;
|
|
}
|
|
|
|
@keyframes rotation {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
} |