127 lines
No EOL
1.9 KiB
CSS
127 lines
No EOL
1.9 KiB
CSS
/*@font-face {
|
|
font-family: minecraft;
|
|
src: url("./Minecraftia-Regular.ttf");
|
|
}*/
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
}
|
|
body {
|
|
font-family: monospace;
|
|
background-color: #222222;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-attachment: fixed;
|
|
color: white;
|
|
font-size: 1.25em;
|
|
}
|
|
main {
|
|
margin: auto;
|
|
width: 100vw;
|
|
max-width: 90ch;
|
|
min-height: 100%;
|
|
background-color: #0009;
|
|
box-shadow: 0 0 2rem #0009;
|
|
padding: 0 4rem;
|
|
padding-bottom: 1rem;
|
|
box-sizing: border-box;
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
font-size: 3.5em;
|
|
margin-top: 0;
|
|
padding-top: 2rem;
|
|
}
|
|
h2 {
|
|
font-size: 1.8em;
|
|
}
|
|
.blue {
|
|
color: blue;
|
|
}
|
|
.green {
|
|
color: #5ff508;
|
|
}
|
|
.yellow {
|
|
color: gold;
|
|
}
|
|
.server {
|
|
display: block;
|
|
text-decoration: none;
|
|
padding: 1rem 0;
|
|
padding-left: 1.5rem;
|
|
border-left: 2px solid white;
|
|
}
|
|
.server:hover {
|
|
background-color: #ffffff33;
|
|
cursor: pointer;
|
|
}
|
|
.game {
|
|
font-size: .6em;
|
|
}
|
|
.server > h2 {
|
|
margin: 0;
|
|
}
|
|
.server > *:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.info {
|
|
margin-top: .3rem;
|
|
font-weight: normal;
|
|
}
|
|
.info > *:nth-child(2n-1) {
|
|
font-weight: bold;
|
|
}
|
|
.info > *:nth-child(2n):not(:last-child) {
|
|
margin-right: 2rem;
|
|
}
|
|
h3.info {
|
|
text-align: center;
|
|
margin-top: -.8rem;
|
|
}
|
|
.default {
|
|
filter: opacity(.5);
|
|
}
|
|
summary {
|
|
margin: .6rem 0;
|
|
}
|
|
summary:hover {
|
|
cursor: pointer;
|
|
}
|
|
summary h3 {
|
|
display: inline;
|
|
}
|
|
[title]:hover {
|
|
cursor: help;
|
|
}
|
|
a {
|
|
color: white;
|
|
text-decoration: underline;
|
|
}
|
|
#home {
|
|
position: absolute; top: 1rem;
|
|
}
|
|
nav {
|
|
list-style: none;
|
|
padding: 0;
|
|
display: flex;
|
|
}
|
|
nav > * {
|
|
text-align: center;
|
|
display: block;
|
|
flex-grow: 1;
|
|
padding: .5rem 0;
|
|
margin: .5em 0;
|
|
border-right: 1px solid #ffffff33;
|
|
}
|
|
nav > *:last-child {
|
|
border: none;
|
|
}
|
|
nav > *:hover {
|
|
background-color: #ffffff33;
|
|
cursor: pointer;
|
|
}
|
|
input[type=radio][name=toggles] {
|
|
display: none;
|
|
} |