Spaces:
Running
Running
| /* Shared styles across all pages */ | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .btn-action { | |
| @apply bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded transition-all flex items-center justify-center gap-2; | |
| } | |
| .btn-action.selected { | |
| @apply bg-purple-600 hover:bg-purple-700; | |
| } | |
| #confirmMove:disabled { | |
| @apply bg-gray-500 cursor-not-allowed; | |
| } | |
| #gameCanvas { | |
| border: 2px solid #4a5568; | |
| position: relative; | |
| } | |
| /* Physics elements styling */ | |
| #gameCanvas .character { | |
| position: absolute; | |
| width: 30px; | |
| height: 30px; | |
| background-color: #4299e1; | |
| border-radius: 50%; | |
| z-index: 10; | |
| } | |
| #gameCanvas .enemy { | |
| position: absolute; | |
| width: 30px; | |
| height: 30px; | |
| background-color: #f56565; | |
| border-radius: 50%; | |
| z-index: 5; | |
| } | |
| #gameCanvas .sword { | |
| position: absolute; | |
| width: 40px; | |
| height: 8px; | |
| background-color: #cbd5e0; | |
| border-radius: 4px; | |
| transform-origin: left center; | |
| z-index: 8; | |
| } | |
| #gameLog { | |
| scrollbar-width: thin; | |
| scrollbar-color: #4a5568 #2d3748; | |
| } | |
| #gameLog::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| #gameLog::-webkit-scrollbar-track { | |
| background: #2d3748; | |
| } | |
| #gameLog::-webkit-scrollbar-thumb { | |
| background-color: #4a5568; | |
| border-radius: 4px; | |
| } |