Spaces:
Running
Running
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| @import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:wght@400;700&display=swap'); | |
| @layer base { | |
| body { | |
| @apply bg-comic-white text-comic-black font-['Comic_Neue'] overflow-x-hidden; | |
| background-image: | |
| radial-gradient(#000 1px, transparent 1px), | |
| radial-gradient(#000 1px, transparent 1px); | |
| background-size: 20px 20px; | |
| background-position: 0 0, 10px 10px; | |
| background-color: #f0f0f0; | |
| } | |
| } | |
| @layer components { | |
| .comic-card { | |
| @apply bg-white border-4 border-black shadow-comic rounded-none p-4 relative; | |
| } | |
| .comic-btn { | |
| @apply bg-comic-yellow border-4 border-black shadow-comic-sm active:shadow-none active:translate-x-[3px] active:translate-y-[3px] transition-all font-bold uppercase tracking-wider px-6 py-2 rounded-none; | |
| } | |
| .comic-input { | |
| @apply bg-white border-4 border-black shadow-comic-sm focus:outline-none focus:ring-2 focus:ring-comic-blue px-4 py-2 rounded-none font-bold; | |
| } | |
| .speech-bubble { | |
| @apply relative bg-comic-blue border-4 border-black p-4 rounded-2xl shadow-comic-sm; | |
| } | |
| .speech-bubble:after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -12px; | |
| left: 20px; | |
| border-width: 12px 12px 0; | |
| border-style: solid; | |
| border-color: black transparent; | |
| display: block; | |
| width: 0; | |
| } | |
| .speech-bubble:before { | |
| content: ''; | |
| position: absolute; | |
| bottom: -8px; | |
| left: 24px; | |
| border-width: 8px 8px 0; | |
| border-style: solid; | |
| border-color: #00BFFF transparent; | |
| display: block; | |
| width: 0; | |
| z-index: 1; | |
| } | |
| .chess-square { | |
| @apply w-full h-full flex items-center justify-center text-4xl sm:text-6xl cursor-pointer select-none transition-transform duration-200 relative; | |
| } | |
| .piece-3d { | |
| @apply drop-shadow-[0_5px_5px_rgba(0,0,0,0.5)] filter; | |
| text-shadow: | |
| 2px 2px 0px #000, | |
| -1px -1px 0 #000, | |
| 1px -1px 0 #000, | |
| -1px 1px 0 #000, | |
| 1px 1px 0 #000; | |
| } | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 12px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f0f0f0; | |
| border-left: 4px solid black; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #FFD700; | |
| border: 4px solid black; | |
| } |