| |
| body { |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; |
| line-height: 1.6; |
| } |
|
|
| |
| ::-webkit-scrollbar { |
| width: 8px; |
| height: 8px; |
| } |
|
|
| ::-webkit-scrollbar-track { |
| background: #1a1a1a; |
| } |
|
|
| ::-webkit-scrollbar-thumb { |
| background: #4b5563; |
| border-radius: 4px; |
| } |
|
|
| ::-webkit-scrollbar-thumb:hover { |
| background: #6366f1; |
| } |
|
|
| |
| .fade-in { |
| animation: fadeIn 0.5s ease-in forwards; |
| } |
|
|
| @keyframes fadeIn { |
| from { opacity: 0; } |
| to { opacity: 1; } |
| } |
|
|
| .slide-up { |
| animation: slideUp 0.5s ease-out forwards; |
| } |
|
|
| @keyframes slideUp { |
| from { |
| opacity: 0; |
| transform: translateY(20px); |
| } |
| to { |
| opacity: 1; |
| transform: translateY(0); |
| } |
| } |
| |
| .code-editor { |
| border-radius: 8px; |
| overflow: hidden; |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
| } |
|
|
| .challenge-card { |
| transition: all 0.2s ease; |
| } |
|
|
| .challenge-card:hover { |
| transform: translateY(-2px); |
| box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); |
| } |
|
|
| .active { |
| color: #6366f1 !important; |
| font-weight: 600; |
| } |
|
|
| .active:after { |
| width: 100% !important; |
| } |
| |
| .dark-mode-transition * { |
| transition: background-color 0.3s ease, border-color 0.3s ease; |
| } |