Spaces:
Running
Running
| /* Custom styles for code highlighting */ | |
| select { | |
| appearance: none; | |
| -webkit-appearance: none; | |
| -moz-appearance: none; | |
| padding: 0.25rem 0.5rem; | |
| cursor: pointer; | |
| min-width: 120px; | |
| } | |
| select:focus { | |
| outline: none; | |
| } | |
| .correct { | |
| color: #a3e635; /* lime-400 */ | |
| } | |
| .incorrect { | |
| color: #f87171; /* red-400 */ | |
| text-decoration: underline; | |
| } | |
| .current { | |
| background-color: rgba(129, 140, 248, 0.3); /* indigo-400 with opacity */ | |
| border-left: 2px solid #818cf8; /* indigo-400 */ | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #1f2937; /* gray-800 */ | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #4b5563; /* gray-600 */ | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #6b7280; /* gray-500 */ | |
| } | |
| /* Animation for current character */ | |
| @keyframes blink { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| } | |
| .current { | |
| animation: blink 1s infinite; | |
| } |