mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-26 10:05:10 +00:00
.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/resources/styles/default.css" />
|
||||
<script src="/resources/scripts/main.js"></script>
|
||||
<script src="/resources/scripts/main.js" defer></script>
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-972V2NZ2ZK"></script>
|
||||
<script>
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -19,15 +19,15 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
<style>
|
||||
body {
|
||||
overflow: hidden;
|
||||
background-color: #1e1e1e;
|
||||
background-image: url("/resources/images/gifs/loading.gif");
|
||||
background-image: url('/resources/images/gifs/loading.gif');
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
function isMobile() {
|
||||
try {
|
||||
document.exitPointerLock();
|
||||
@@ -44,18 +44,18 @@
|
||||
return true;
|
||||
}
|
||||
}
|
||||
const iframe = document.createElement("iframe");
|
||||
iframe.id = "embed";
|
||||
iframe.style.position = "fixed";
|
||||
iframe.style.top = "0";
|
||||
iframe.style.left = "0";
|
||||
iframe.style.width = "100%";
|
||||
iframe.style.height = "100%";
|
||||
iframe.style.border = "none";
|
||||
const iframe = document.createElement('iframe');
|
||||
iframe.id = 'embed';
|
||||
iframe.style.position = 'fixed';
|
||||
iframe.style.top = '0';
|
||||
iframe.style.left = '0';
|
||||
iframe.style.width = '100%';
|
||||
iframe.style.height = '100%';
|
||||
iframe.style.border = 'none';
|
||||
if (isMobile()) {
|
||||
iframe.src = "/mobile/";
|
||||
iframe.src = '/mobile/';
|
||||
} else {
|
||||
iframe.src = "/home/game/";
|
||||
iframe.src = '/home/game/';
|
||||
}
|
||||
document.body.appendChild(iframe);
|
||||
});
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
overflow: hidden;
|
||||
@@ -188,7 +188,7 @@ nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "MinecraftRegular", sans-serif;
|
||||
font-family: 'MinecraftRegular', sans-serif;
|
||||
font-size: 1em;
|
||||
padding: 7px;
|
||||
border: 2px solid #000;
|
||||
@@ -273,7 +273,7 @@ nav {
|
||||
}
|
||||
|
||||
.play-button::before {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
@@ -441,14 +441,14 @@ nav {
|
||||
select {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
font-weight: bold;
|
||||
color: #e0e0e0;
|
||||
background-color: #08a74a;
|
||||
box-shadow: 4px 4px 0px #2a2a2a, -4px -4px 0px #2a2a2a;
|
||||
border-radius: 3px;
|
||||
appearance: none;
|
||||
background-image: url("/resources/images/icons/dropdown-selector.png"), linear-gradient(45deg, #0a8338, #086126);
|
||||
background-image: url('/resources/images/icons/dropdown-selector.png'), linear-gradient(45deg, #0a8338, #086126);
|
||||
background-repeat: no-repeat, repeat;
|
||||
background-position: right 10px center, 0 0;
|
||||
background-size: 15px auto, 100%;
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/resources/styles/default.css" />
|
||||
<script src="/resources/scripts/main.js"></script>
|
||||
<script src="/resources/scripts/main.js" defer></script>
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-972V2NZ2ZK"></script>
|
||||
<script>
|
||||
@@ -11,8 +11,8 @@
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag("js", new Date());
|
||||
gtag("config", "G-972V2NZ2ZK");
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-972V2NZ2ZK');
|
||||
</script>
|
||||
<!-- End Google tag -->
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user