mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: use font instead of image for ip adress
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 37 KiB |
@@ -21,6 +21,14 @@ export async function DeleteWhatsNew() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function OpenMinecraftServerPopup() {
|
export function OpenMinecraftServerPopup() {
|
||||||
|
|
||||||
|
if (!document.querySelector('link[href*="minecraftia"]')) {
|
||||||
|
const fontLink = document.createElement("link");
|
||||||
|
fontLink.href = "https://fonts.cdnfonts.com/css/minecraftia";
|
||||||
|
fontLink.rel = "stylesheet";
|
||||||
|
document.head.appendChild(fontLink);
|
||||||
|
}
|
||||||
|
|
||||||
const background = document.createElement("div");
|
const background = document.createElement("div");
|
||||||
background.id = "whatsnewbk";
|
background.id = "whatsnewbk";
|
||||||
background.classList.add("whatsnewBackground");
|
background.classList.add("whatsnewBackground");
|
||||||
@@ -61,6 +69,34 @@ export function OpenMinecraftServerPopup() {
|
|||||||
<li>Regular updates and maintenance</li>
|
<li>Regular updates and maintenance</li>
|
||||||
<li>The End dimension will be enabled during an upcoming live event</li>
|
<li>The End dimension will be enabled during an upcoming live event</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<p style="
|
||||||
|
font-family: 'Minecraftia', sans-serif;
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 28px;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 1.5em;
|
||||||
|
text-shadow:
|
||||||
|
-1px -1px 0 #000,
|
||||||
|
1px -1px 0 #000,
|
||||||
|
-1px 1px 0 #000,
|
||||||
|
1px 1px 0 #000;
|
||||||
|
">
|
||||||
|
mc.betterseqta.org
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- Version Info -->
|
||||||
|
<p style="
|
||||||
|
font-family: sans-serif;
|
||||||
|
color: #ccc;
|
||||||
|
font-size: 13px;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 0.25em;
|
||||||
|
">
|
||||||
|
Version: 1.21.4
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
`).firstChild;
|
`).firstChild;
|
||||||
|
|
||||||
let footer = stringToHTML(/* html */ `
|
let footer = stringToHTML(/* html */ `
|
||||||
|
|||||||
Reference in New Issue
Block a user