Add MC font to Auth

This commit is contained in:
MCHost
2025-06-23 16:16:25 -04:00
parent 5f55f8a7e9
commit 3c80228324
2 changed files with 23 additions and 3 deletions

View File

@ -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 */
}
</style>
</head>
<body>
@ -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 */
}
</style>
</head>
<body>