406 lines
No EOL
6.6 KiB
CSS
406 lines
No EOL
6.6 KiB
CSS
@font-face {
|
|
font-family: mc;
|
|
src: url('/assets/Minecraft.woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: mc bold;
|
|
src: url('/assets/mcbold.otf');
|
|
}
|
|
|
|
h1 {
|
|
font-family: mc;
|
|
}
|
|
|
|
a {
|
|
cursor: pointer;
|
|
}
|
|
|
|
body,
|
|
html {
|
|
background: url("/assets/dirt.webp");
|
|
background-size: cover;
|
|
background-attachment: fixed;
|
|
color: white;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
* {
|
|
font-family: mc;
|
|
font-weight: normal;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
h1, h2, p {
|
|
text-shadow: 2px 2px 2px black;
|
|
}
|
|
|
|
h2, h1 {
|
|
font-family: mc bold;
|
|
}
|
|
|
|
.button {
|
|
background: url('/assets/btn-minecraft.png');
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
border: none;
|
|
width: 400px;
|
|
height: 40px;
|
|
margin: 7px;
|
|
padding: 10px 0;
|
|
scale: 120%;
|
|
cursor: pointer;
|
|
color: white;
|
|
font-size: 17px;
|
|
text-align: center;
|
|
text-shadow: 1px 1px black;
|
|
}
|
|
|
|
.button:hover {
|
|
background: url('/assets/btn-minecraft-hover.png');
|
|
color: yellow;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
border: none;
|
|
filter: grayscale(0%);
|
|
}
|
|
|
|
a.play-hover {
|
|
transition: 0.2s;
|
|
}
|
|
|
|
a.play-hover:hover {
|
|
filter: brightness(0.8);
|
|
}
|
|
|
|
.vflex {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.big-button {
|
|
text-align: center;
|
|
border-radius: 00px;
|
|
height: 300px;
|
|
width: 455px;
|
|
font-size: 25px;
|
|
font-family: mc;
|
|
color: white;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
border-color: rgba(255, 255, 255, 0);
|
|
border-width: 0.5px;
|
|
box-shadow: none;
|
|
none: none;
|
|
border-style: solid;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
margin: 10px;
|
|
}
|
|
|
|
.big-button:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.center-logo {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.top-bar {
|
|
scale: 50%;
|
|
padding: 0%;
|
|
}
|
|
|
|
li {
|
|
display: inline;
|
|
float: left;
|
|
font-family: mc;
|
|
vertical-align: 20px;
|
|
}
|
|
|
|
li a {
|
|
display: block;
|
|
padding: 9px;
|
|
text-decoration: none;
|
|
color: white;
|
|
text-align: center;
|
|
font-size: 20px;
|
|
transition: 0.2s;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
font-family: mc;
|
|
cursor: pointer;
|
|
}
|
|
|
|
li a:hover {
|
|
background-color: rgba(255, 255, 255, 0.233);
|
|
border-radius: 0px;
|
|
z-index: 9999999;
|
|
}
|
|
|
|
ul {
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border-radius: 0px;
|
|
padding: 8px;
|
|
font-family: mc;
|
|
position: sticky;
|
|
top: 1rem;
|
|
z-index: 99999;
|
|
}
|
|
|
|
.active {
|
|
background-color: #008000;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.right {
|
|
float: right;
|
|
}
|
|
|
|
.innerbutton {
|
|
text-align: center;
|
|
border-radius: 0px;
|
|
height: 75px;
|
|
width: 200px;
|
|
font-size: 14px;
|
|
font-family: mc;
|
|
color: white;
|
|
background-color: rgb(26, 26, 26);
|
|
border-color: rgba(255, 255, 255, 0);
|
|
border-width: 0.5px;
|
|
box-shadow: none;
|
|
none: none;
|
|
border-style: solid;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
margin: 5px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.material-icons-round {
|
|
font-family: "Material Icons";
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-size: 24px; /* Preferred icon size */
|
|
display: inline-block;
|
|
line-height: 2;
|
|
text-transform: none;
|
|
letter-spacing: normal;
|
|
word-wrap: normal;
|
|
white-space: nowrap;
|
|
direction: ltr;
|
|
vertical-align: -2.5px;
|
|
|
|
/* Support for all WebKit browsers. */
|
|
-webkit-font-smoothing: antialiased;
|
|
/* Support for Safari and Chrome. */
|
|
text-rendering: optimizeLegibility;
|
|
|
|
/* Support for Firefox. */
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
/* Support for IE. */
|
|
font-feature-settings: "liga";
|
|
}
|
|
|
|
.status {
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
border-radius: 0px;
|
|
font-size: 18px;
|
|
text-align: left;
|
|
}
|
|
|
|
.online {
|
|
color: lime;
|
|
}
|
|
|
|
.offline {
|
|
color: red;
|
|
}
|
|
|
|
.unknown {
|
|
color: goldenrod;
|
|
}
|
|
|
|
.ip {
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
padding-left: 30px;
|
|
padding-right: 30px;
|
|
background-color: #008000;
|
|
border-radius: 0px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.copyLink {
|
|
text-decoration: none;
|
|
color: white;
|
|
background-color: #008000;
|
|
padding: 10px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
border-radius: 0px;
|
|
text-align: center;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.status.online span {
|
|
color: green;
|
|
}
|
|
.status.offline span {
|
|
color: red;
|
|
}
|
|
.status.unknown span {
|
|
color: orange;
|
|
}
|
|
|
|
#clients {
|
|
align-items: center;
|
|
z-index: 0;
|
|
background: none;
|
|
}
|
|
|
|
#client {
|
|
background: rgba(0, 0, 0, 0.0);
|
|
width: 70vw;
|
|
height: 15vh;
|
|
padding: 10px;
|
|
margin: 5px;
|
|
z-index: 1;
|
|
align-self: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
left: 50%;
|
|
cursor: pointer;
|
|
font-family: mc;
|
|
transform: translateX(-50%);
|
|
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.568);
|
|
}
|
|
|
|
#client img {
|
|
position: relative;
|
|
height: 99%;
|
|
left: -42.5%;
|
|
aspect-ratio: 1/1;
|
|
}
|
|
|
|
#client h1 {
|
|
position: relative;
|
|
top: -100%;
|
|
left: 17%;
|
|
font-size: 22px;
|
|
font-weight: normal;
|
|
text-align: left;
|
|
font-family: mc;
|
|
}
|
|
|
|
#client p {
|
|
position: relative;
|
|
top: -110%;
|
|
left: 17%;
|
|
font-size: 20px;
|
|
font-weight: normal;
|
|
color: lightgray;
|
|
text-align: left;
|
|
}
|
|
|
|
.github-link {
|
|
color: white;
|
|
}
|
|
|
|
#playbtn {
|
|
position: relative;
|
|
left: .2%;
|
|
scale: 30%;
|
|
bottom: 500%;
|
|
background: rgba(0, 0, 0, 0.444);
|
|
display: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#client a {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 2;
|
|
background: none;
|
|
}
|
|
|
|
#client:hover {
|
|
outline: #f0f0f0 solid 3px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.splash-text {
|
|
color: yellow;
|
|
text-shadow: 2px 2px 4px black;
|
|
font-size: 1.4em;
|
|
font: 600;
|
|
}
|
|
|
|
#toast {
|
|
background: rgba(0, 0, 0, 0.616);
|
|
color: white;
|
|
height: 20px;
|
|
width: 200px;
|
|
position: fixed;
|
|
right: -40%;
|
|
top: 2%;
|
|
padding: 20px 30px;
|
|
outline: 3px white solid;
|
|
text-align: center;
|
|
align-items: center;
|
|
vertical-align: middle;
|
|
transition: 0.5s cubic-bezier(0.215, 0.610, 0.610, 1);
|
|
}
|
|
|
|
li > * {
|
|
pointer-events: none;
|
|
}
|
|
|
|
button:disabled {
|
|
filter: brightness(0.77);
|
|
}
|
|
|
|
button:disabled:hover {
|
|
filter: brightness(0.77);
|
|
background: url("assets/btn-minecraft.png");
|
|
color: white;
|
|
}
|
|
|
|
#introVid {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 50%;
|
|
transition: 0.3s;
|
|
background: white;
|
|
transform: translateX(-50%);
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
#opening {
|
|
text-shadow: 2px 2px 2px transparent;
|
|
} |