2021-04-01 18:09:07 -04:00
|
|
|
:root {
|
|
|
|
--guiScaleFactor: 3;
|
2021-12-24 07:00:07 -05:00
|
|
|
--guiScale: 3;
|
|
|
|
--chatWidth: 320px;
|
|
|
|
--chatHeight: 180px;
|
|
|
|
--chatScale: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
2021-04-01 18:09:07 -04:00
|
|
|
}
|
|
|
|
|
2021-03-14 15:34:35 -04:00
|
|
|
html {
|
2021-12-24 07:00:07 -05:00
|
|
|
height: 100vh;
|
2021-03-14 15:34:35 -04:00
|
|
|
overflow: hidden;
|
2021-03-03 23:07:07 -05:00
|
|
|
}
|
|
|
|
|
2021-12-24 07:00:07 -05:00
|
|
|
.dirt-bg {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: url('textures/1.17.1/gui/options_background.png'), rgba(0, 0, 0, 0.7);
|
|
|
|
background-size: 16px;
|
|
|
|
background-repeat: repeat;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
transform-origin: top left;
|
|
|
|
transform: scale(2);
|
|
|
|
background-blend-mode: overlay;
|
|
|
|
}
|
|
|
|
|
2021-03-03 23:07:07 -05:00
|
|
|
@font-face {
|
2021-03-14 15:34:35 -04:00
|
|
|
font-family: minecraft;
|
|
|
|
src: url(minecraftia.woff);
|
2021-03-03 23:07:07 -05:00
|
|
|
}
|
|
|
|
|
2021-03-14 15:34:35 -04:00
|
|
|
@font-face {
|
|
|
|
font-family: mojangles;
|
|
|
|
src: url(mojangles.ttf);
|
2021-03-03 23:07:07 -05:00
|
|
|
}
|
2021-12-24 07:00:07 -05:00
|
|
|
|
2021-03-03 23:07:07 -05:00
|
|
|
body {
|
2021-03-20 20:57:54 -04:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2021-03-14 12:02:35 -04:00
|
|
|
margin:0;
|
|
|
|
padding:0;
|
2021-12-24 07:00:07 -05:00
|
|
|
height: 100vh;
|
2021-03-14 12:02:35 -04:00
|
|
|
font-family: sans-serif;
|
2021-12-24 07:00:07 -05:00
|
|
|
background: #333;
|
|
|
|
/* background: linear-gradient(#141e30, #243b55); */
|
2021-03-14 15:34:35 -04:00
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
2021-03-03 23:07:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
canvas {
|
2021-12-24 07:00:07 -05:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-03-03 23:07:07 -05:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2021-12-24 07:00:07 -05:00
|
|
|
|
|
|
|
#ui-root {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
transform-origin: top left;
|
|
|
|
transform: scale(var(--guiScale));
|
|
|
|
width: calc(100% / var(--guiScale));
|
|
|
|
height: calc(100% / var(--guiScale));
|
|
|
|
z-index: 10;
|
|
|
|
image-rendering: optimizeSpeed;
|
|
|
|
image-rendering: -moz-crisp-edges;
|
|
|
|
image-rendering: -webkit-optimize-contrast;
|
|
|
|
image-rendering: -o-crisp-edges;
|
|
|
|
image-rendering: pixelated;
|
|
|
|
-ms-interpolation-mode: nearest-neighbor;
|
|
|
|
font-family: minecraft, mojangles, monospace;
|
2021-12-24 15:02:11 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 971px) {
|
|
|
|
#ui-root {
|
|
|
|
transform: scale(2);
|
|
|
|
width: calc(100% / 2);
|
|
|
|
height: calc(100% / 2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 561px) {
|
|
|
|
#ui-root {
|
|
|
|
transform: scale(1);
|
|
|
|
width: calc(100% / 1);
|
|
|
|
height: calc(100% / 1);
|
|
|
|
}
|
2021-12-24 07:00:07 -05:00
|
|
|
}
|