add mc font

This commit is contained in:
MCHost
2025-06-23 02:05:17 -04:00
parent cd51cd9244
commit 5f55f8a7e9
4 changed files with 109 additions and 31 deletions

View File

@ -1,3 +1,11 @@
@font-face {
font-family: 'Minecraft';
src: url('../font/MinecraftRegular-Bmg3.otf') format('opentype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@import "tailwindcss";
@layer base {
@ -12,6 +20,10 @@
flex-direction: column;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Minecraft', sans-serif; /* Apply Minecraft font to headers */
}
#app {
flex: 1 0 auto; /* Make #app grow to fill available space */
display: flex;
@ -48,6 +60,9 @@
bottom: 20px;
right: 20px;
z-index: 1000;
display: flex;
flex-direction: column-reverse;
gap: 8px;
}
.notification {
@ -55,7 +70,6 @@
color: white;
padding: 16px;
border-radius: 8px;
margin-top: 8px;
display: flex;
align-items: center;
gap: 12px;
@ -180,6 +194,10 @@
cursor: not-allowed;
pointer-events: none;
}
.disabled-btn:hover {
cursor: not-allowed;
}
}
@layer utilities {