diff --git a/includes/auth.js b/includes/auth.js index aa3a8fe..33e4500 100644 --- a/includes/auth.js +++ b/includes/auth.js @@ -211,6 +211,16 @@ export function handleAutoLogin(req, res) { h1 { font-size: 2.25em; color: white; text-align: center; margin: 0; } .spinner { border: 4px solid rgba(255, 255, 255, 0.3); border-top: 4px solid #ffffff; border-radius: 50%; width: 24px; height: 24px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } + @font-face { + font-family: 'Minecraft'; + src: url('../font/MinecraftRegular-Bmg3.otf') format('opentype'); + font-weight: normal; + font-style: normal; + font-display: swap; + } + h1, h2, h3, h4, h5, h6 { + font-family: 'Minecraft', sans-serif; /* Apply Minecraft font to headers */ + }
@@ -268,6 +278,16 @@ export function handleAutoLogin(req, res) { h1 { font-size: 2.25em; color: white; text-align: center; margin: 0; } .spinner { border: 4px solid rgba(255, 255, 255, 0.3); border-top: 4px solid #ffffff; border-radius: 50%; width: 24px; height: 24px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } + @font-face { + font-family: 'Minecraft'; + src: url('../font/MinecraftRegular-Bmg3.otf') format('opentype'); + font-weight: normal; + font-style: normal; + font-display: swap; + } + h1, h2, h3, h4, h5, h6 { + font-family: 'Minecraft', sans-serif; /* Apply Minecraft font to headers */ + } diff --git a/public/index.html b/public/index.html index 47fe5ae..3a06dc0 100644 --- a/public/index.html +++ b/public/index.html @@ -4,7 +4,7 @@ -