@import "tailwindcss"; @plugin "@tailwindcss/forms"; @plugin "@tailwindcss/typography"; @custom-variant dark (&:where(.dark, .dark *)); @theme { --font-sans: "Nunito", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --breakpoint-sm: 40rem; --breakpoint-md: 48rem; --breakpoint-lg: 64rem; --breakpoint-xl: 80rem; --breakpoint-2xl: 96rem; } @layer components { .dropdown-item { @apply w-full text-left px-2 py-1 transition duration-200 ease-in-out text-sm hover:bg-[#8770b2]; } } :focus { outline: none; } body { overflow-x: hidden; } #app { min-height: calc(100vh - 3.5rem); } img { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; user-drag: none; pointer-events: none; } .site-bg { position: absolute; width: 100%; height: 400px; background: url("/public/assets/images/dusk/background_image.png") no-repeat; background-size: cover; -webkit-mask-image: linear-gradient(to top, transparent, black); mask-image: linear-gradient(to top, transparent, black); background-color: #957cc3; &::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(46, 45, 45, 0.7); /* Black overlay with 60% opacity */ } } .nav-header { background-color: #171a23; width: 100%; display: flex; align-items: center; justify-content: center; .icon { height: 40px; width: 40px; filter: grayscale(1); transition: filter 300ms ease-in-out; } a:hover .icon { filter: grayscale(0); } .dropdown-parent:hover .icon { filter: grayscale(0); } .dropdown-parent:active .icon { filter: grayscale(0); } a.active, div.active { color: #ac93da; .dropdown-children { color: #FFFFFF; } .icon { filter: grayscale(0); } } } .photo-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.1); z-index: 1; } .sub-header { color: #FFF; height: 40px; width: 100%; display: flex; align-items: center; justify-content: center; } .main-content { width: 100%; display: flex; align-items: center; justify-content: center; } .custom-shadow { box-shadow: 0 7px 16px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(0, 0, 0, 0.3); } .swiper-pagination { top: 3px; z-index: 15 !important; height: 10px; } .read-more-link { z-index: 99999; /* Adjust as needed */ position: relative; } .swiper-button-prev { z-index: 15 !important; } .swiper-button-next { z-index: 15 !important; } .hotel-icon { background: url("/public/assets/images/icons/feeds.png") no-repeat center; } .chat-icon { background: url("/public/assets/images/icons/chat.png") no-repeat center; } .article-icon { background: url("/public/assets/images/icons/article.gif") no-repeat center; } .lighthouse-icon { background: url("/public/assets/images/icons/lighthouse.png") no-repeat center; } .currency-icon { background: url("/public/assets/images/dusk/store_icon.png") no-repeat center; } .catalog-icon { background: url("/public/assets/images/icons/catalog.png") no-repeat center; } .inventory-icon { background: url("/public/assets/images/icons/inventory.png") no-repeat center; } .duo-chat-icon { background: url("/public/assets/images/icons/due-chat.png") no-repeat center; } .friends-icon { background: #b17f85 url("/public/assets/images/icons/friends.png") no-repeat center; } .nav-credit-icon { background: #e9b124 url("/public/assets/images/icons/currency/credits.png") no-repeat center; outline: 1px solid #b26d18; } .nav-ducket-icon { background: #c44aac url("/public/assets/images/icons/currency/duckets.png") no-repeat center; outline: 1px solid #812378; } .nav-diamond-icon { background: #caf1f3 url("/public/assets/images/icons/currency/diamonds.png") no-repeat center; outline: 1px solid #6caff4; } .swal2-toast { background-color: #333 !important; color: #fff; } .article-image { display: block; width: 100%; height: 100px; background-size: cover; background-position: right; margin: 0 0 20px; transition: .3s; } .leaderboard-position { color: transparent; height: 25px; width: 25px; &.first { background-image: url("/public/assets/images/leaderboards/trophy-gold.png"); } &.second { background-image: url("/public/assets/images/leaderboards/trophy-silver.png"); } &.third { background-image: url("/public/assets/images/leaderboards/trophy-bronze.png"); } } .leaderboard-background { background-image: url("/public/assets/images/dusk/leaderboard_circle_image.png"); } .staff-bg { background-blend-mode: multiply; } /* Nitro disconnect overlay */ #disconnected { display: none; } .atom-align-left { float: left; margin: 0 10px 10px 0; } .atom-align-right { float: right; margin: 0 0 10px 10px; } .atom-align-center { display: block; margin: 0 auto; text-align: center; } .atom-align-center > * { text-align: center; } #article-content a { color: #53b2f8; } .badge-drawer-button { background-image: linear-gradient(to bottom, #f2f2f3 51%, #d9d8d8 49%); box-shadow: inset 0 0 0px 2px #d9d9d9; padding: 10px; &:hover { background: linear-gradient(to bottom, #ffffff 50%, #EBEBEB 50%); box-shadow: inset 0 0 0px 2px #ffffff; } .toggled { background: #f2f2f3; } } html.dark .badge-drawer-button { background-image: linear-gradient(to bottom, #141414 51%, #101010 49%); box-shadow: inset 0 0 0px 2px #242424; padding: 10px; &:hover { background: linear-gradient(to bottom, #171717 50%, #111111 50%); box-shadow: inset 0 0 0px 2px #363636; } .toggled { background: #f2f2f3; } } .badge-drawer-palette { background-position: center; background-repeat: no-repeat; color: #000; height: 40px; cursor: pointer; border-radius: 0.25rem; align-items: center; justify-content: center; gap: 0.5rem; display: flex; border-width: 3px; border-color: #b6bec5; position: relative; overflow: hidden; max-width: 38px; width: 100%; &::after { content: ""; z-index: 2; position: absolute; top: 0; left: 0; right: 0; height: 50%; background-color: #fff; opacity: .1; } }