2025-05-10 18:37:31 +02:00

426 lines
7.2 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/hung1001/font-awesome-pro@4cac1a6/css/all.css");
* {
margin: 0px;
padding: 0px;
outline: none;
user-select: none;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
}
body {
background-image: url("../img/index_wallpaper.gif");
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
}
img {
app-region: drag;
pointer-events: none;
}
main {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
width: 100%;
height: 100%;
app-region: drag;
}
main > * {
app-region: no-drag;
}
main > nav {
margin-left: 1rem;
width: 20%;
height: 100%;
background-color: #3e3e3ee6;
}
main > nav > img {
width: 70%;
margin-left: 15%;
margin-top: 3%;
margin-bottom: 10px;
}
details > article {
margin-left: 20px;
margin-right: 20px;
margin-top: 5px;
background-color: #343434;
padding: 7px 7px 7px 7px;
color: #ffffff;
box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 8px;
}
details > summary {
text-align: center;
list-style: none;
}
button.nav {
position: relative;
width: 100%;
height: 40px;
border: none;
cursor: pointer;
font-size: large;
text-align: left;
padding: 13px 13px 13px 13px;
margin-bottom: 10px;
background-color: transparent;
}
button.nav > i {
position: relative;
width: 35px;
height: 35px;
margin-left: 8px;
text-align: center;
padding-top: 0.67rem;
border-radius: 10px;
vertical-align: middle;
background-color: gray;
}
button.nav > span {
margin-left: 12px;
color: #ffffff;
}
img.logo {
width: 60%;
}
img.mascot {
width: 50%;
float: right;
margin-top: calc(300px - (50% + 32px));
}
fieldset {
font-size: small;
border: none;
}
fieldset > legend {
font-weight: bolder;
margin-bottom: 5px;
}
input[type=radio] {
accent-color: #12865c;
}
button.classic {
color: #ffffff;
width: 96%;
height: 30px;
border: none;
cursor: pointer;
outline: none;
transition: .3s;
margin-top: 5px;
font-weight: 900;
border-radius: 5px;
z-index: 9;
background-color: #39aa6d;
}
button.classic:hover {
background-color: #359e66;
}
button.close {
float: right;
color: #ffffff;
width: 30px;
height: 30px;
border: none;
cursor: pointer;
outline: none;
transition: .5s;
margin-top: 15px;
margin-right: 15px;
border-radius: 5px;
background-color: #0000001c;
}
button.close:hover {
background-color: #4e4e4e25;
}
button.play {
background-color: #39AA6D;
color: #FFFFFF;
border: none;
width: 300px;
height: 65px;
font-size: 28px;
font-weight: normal;
cursor: pointer;
margin: auto;
outline: none;
border-radius: 30px 15px 30px 15px;
transition: background-color 0.3s;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
button.play:hover {
background-color: #2E8B57;
}
button.default {
width: 40px;
color: #ffffff;
height: 40px;
cursor: pointer;
border: 0px;
outline: none;
font-size: 16px;
transition: .3s all;
border-radius: 10px;
background-color: #00000036;
}
button.default:hover {
background-color: #00000060;
}
section.players {
position: absolute;
bottom: 54px;
right: 70px;
}
p.players {
width: 185px;
padding: 3px 3px 3px 3px;
font-size: larger;
font-style: italic;
background: #f0f0f033;
font-weight: bolder;
border-radius: 15px;
text-align: center;
font-family: "Raleway", sans-serif;
margin-top: calc(300px - 40px);
}
p.players > span {
width: 100%;
}
p.players > span > span {
font-family: "Roboto", sans-serif;
text-align: center;
}
main > footer {
position: absolute;
display: flex;
flex-wrap: wrap;
left: 60px;
right: 60px;
bottom: 70px;
height: 300px;
}
main > footer > section.left {
width: 20%;
height: 100%;
}
main > footer > section.left > button.default {
margin-top: calc(300px - (40px + 12px));
}
main > footer > section.center {
width: 60%;
height: 100%;
text-align: center;
}
main > footer > section.right {
width: 20%;
height: 100%;
}
main > section.twitch {
position: absolute;
top: 60px;
right: 60px;
}
input[type="range"] {
width: 100%;
border: none;
accent-color: #2E8B57;
background-color: #2E8B57;
}
input[type="range"]#audioVolume {
width: 83%;
}
input[type="text"],
input[type="password"] {
width: 90%;
border: 0px;
color: #ffffff;
outline: 0px;
height: 30px;
padding-left: 10px;
margin-top: 4px;
margin-bottom: 4px;
border-radius: 5px;
background-color: #292929;
}
main > article.loginchoice {
position: absolute;
top: 50%;
left: 50%;
width: 25%;
height: 25%;
color: #ffffff;
text-align: center;
border-radius: 10px;
padding-top: 20px;
transform: translate(-50%, -50%);
background-color: #343434;
}
main > article.loginchoice > input:nth-of-type(1) {
margin-top: 10px;
}
button {
text-align: center;
}
button.login {
width: 90%;
height: 60px;
border: none;
outline: none;
color: #ffffff;
cursor: pointer;
font-size: larger;
font-weight: 900;
border-radius: 10px;
background-color: #292929;
border: 3px #292929 solid;
transition: .23s;
margin-top: 13px;
line-height: 40px;
}
button.login:hover {
border-color: #12865c;
}
button.login > img {
width: 40px;
margin-right: 10px;
vertical-align: middle;
}
div[frame="mojang"] > p {
width: 90%;
margin-left: 5%;
text-align: left;
font-size: small;
margin-top: 4px;
margin-bottom: 4px;
}
a {
text-decoration: underline;
color: #12865c;
}
article.game {
text-align: center;
}
article.game > label {
font-size: small;
margin-top: 7px;
}
article.game > div.ranges {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
article.game > div.ranges > span {
font-size: small;
}
article.game > div.ranges > input {
width: 60%;
}
div.checkboxes {
width: 100%;
text-align: left;
}
input[type="checkbox"] {
accent-color: #12865c;
}
div.checkboxes > input[type="checkbox"] {
font-size: small;
}
div.loader {
overflow: hidden;
position: absolute;
left: 0px;
right: 0px;
bottom: 0px;
width: 100%;
height: 10px;
}
div.loader > div.full {
height: 10px;
width: 100%;
background-color: #3e3e3ee6;
}
div.loader > div.full > div.progress,
div.loader > div.full > div.loading {
height: 10px;
width: 50%;
transition: 1s width;
background-color: #39aa6d;
}
div.loader > div.full > div.loading {
animation: animateLoadingEffect 1s linear infinite;
}
[hidden] {
display: none;
visibility: hidden;
}
@keyframes animateLoadingEffect {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(200%);
}
}