Spaces:
Running
Running
Download style.css from Maqsadov/testmaster-pro: direct link, hf CLI and curl.
- Browser
- Download file 4.5 kB
-
https://huggingface.co/spaces/Maqsadov/testmaster-pro/resolve/main/style.css
- Command line
-
hf download hf://spaces/Maqsadov/testmaster-pro/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Maqsadov/testmaster-pro/resolve/main/style.css
4.5 kB
| /* Global Styles */ | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #f9fafb; | |
| } | |
| /* Button Styles */ | |
| .btn { | |
| @apply font-medium rounded-lg transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2; | |
| } | |
| .btn-primary { | |
| @apply bg-blue-600 hover:bg-blue-700 text-white focus:ring-blue-500; | |
| } | |
| .btn-secondary { | |
| @apply bg-gray-600 hover:bg-gray-700 text-white focus:ring-gray-500; | |
| } | |
| .btn-success { | |
| @apply bg-green-600 hover:bg-green-700 text-white focus:ring-green-500; | |
| } | |
| .btn-danger { | |
| @apply bg-red-600 hover:bg-red-700 text-white focus:ring-red-500; | |
| } | |
| /* Card Styles */ | |
| .card { | |
| @apply bg-white rounded-xl shadow-lg overflow-hidden; | |
| } | |
| .card-header { | |
| @apply bg-gray-50 px-6 py-4 border-b border-gray-200; | |
| } | |
| .card-body { | |
| @apply p-6; | |
| } | |
| /* Form Elements */ | |
| .form-input { | |
| @apply border border-gray-300 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent; | |
| } | |
| .form-label { | |
| @apply block text-sm font-medium text-gray-700 mb-1; | |
| } | |
| /* Answer Buttons */ | |
| .answer-btn { | |
| @apply w-full py-3 rounded-lg border border-gray-300 text-center font-medium transition-colors hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500; | |
| } | |
| .answer-btn.selected { | |
| @apply bg-blue-100 border-blue-500 text-blue-700; | |
| } | |
| .answer-btn.correct { | |
| @apply bg-green-100 border-green-500 text-green-700; | |
| } | |
| .answer-btn.incorrect { | |
| @apply bg-red-100 border-red-500 text-red-700; | |
| } | |
| /* Question Grid */ | |
| .question-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); | |
| gap: 1rem; | |
| } | |
| @media (min-width: 640px) { | |
| .question-grid { | |
| grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); | |
| } | |
| } | |
| /* Test Section */ | |
| .test-section { | |
| @apply bg-white rounded-xl shadow-lg p-6 mb-8; | |
| } | |
| .test-section-header { | |
| @apply border-b border-gray-200 pb-4 mb-6; | |
| } | |
| /* Results Section */ | |
| .results-card { | |
| @apply bg-gradient-to-r from-blue-50 to-indigo-50 rounded-xl p-6 mb-6; | |
| } | |
| .results-score { | |
| @apply text-5xl font-bold text-blue-600 mb-2; | |
| } | |
| /* Animations */ | |
| .fade-in { | |
| animation: fadeIn 0.3s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Responsive Adjustments */ | |
| @media (max-width: 640px) { | |
| .question-grid { | |
| grid-template-columns: repeat(4, 1fr); | |
| } | |
| .card { | |
| border-radius: 1rem; | |
| } | |
| } | |
| /* Tab Styles */ | |
| .tab-button { | |
| @apply py-2 px-4 font-medium text-gray-500 hover:text-gray-700 focus:outline-none; | |
| } | |
| .tab-button.active { | |
| @apply text-blue-600 border-b-2 border-blue-600; | |
| } | |
| .tab-pane { | |
| @apply hidden; | |
| } | |
| .tab-pane:not(.hidden) { | |
| @apply block; | |
| } | |
| /* Utility Classes */ | |
| .text-center { | |
| text-align: center; | |
| } | |
| .text-left { | |
| text-align: left; | |
| } | |
| .text-right { | |
| text-align: right; | |
| } | |
| .hidden { | |
| display: none; | |
| } | |
| .block { | |
| display: block; | |
| } | |
| .inline-block { | |
| display: inline-block; | |
| } | |
| .flex { | |
| display: flex; | |
| } | |
| .grid { | |
| display: grid; | |
| } | |
| .w-full { | |
| width: 100%; | |
| } | |
| .h-full { | |
| height: 100%; | |
| } | |
| .min-h-screen { | |
| min-height: 100vh; | |
| } | |
| .items-center { | |
| align-items: center; | |
| } | |
| .justify-center { | |
| justify-content: center; | |
| } | |
| .justify-between { | |
| justify-content: space-between; | |
| } | |
| .gap-4 { | |
| gap: 1rem; | |
| } | |
| .gap-6 { | |
| gap: 1.5rem; | |
| } | |
| .mt-4 { | |
| margin-top: 1rem; | |
| } | |
| .mt-6 { | |
| margin-top: 1.5rem; | |
| } | |
| .mt-8 { | |
| margin-top: 2rem; | |
| } | |
| .mb-4 { | |
| margin-bottom: 1rem; | |
| } | |
| .mb-6 { | |
| margin-bottom: 1.5rem; | |
| } | |
| .p-4 { | |
| padding: 1rem; | |
| } | |
| .p-6 { | |
| padding: 1.5rem; | |
| } | |
| .py-2 { | |
| padding-top: 0.5rem; | |
| padding-bottom: 0.5rem; | |
| } | |
| .py-3 { | |
| padding-top: 0.75rem; | |
| padding-bottom: 0.75rem; | |
| } | |
| .px-4 { | |
| padding-left: 1rem; | |
| padding-right: 1rem; | |
| } | |
| .px-6 { | |
| padding-left: 1.5rem; | |
| padding-right: 1.5rem; | |
| } | |
| .rounded-lg { | |
| border-radius: 0.5rem; | |
| } | |
| .shadow-lg { | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| } | |
| .bg-white { | |
| background-color: #ffffff; | |
| } | |
| .bg-gray-50 { | |
| background-color: #f9fafb; | |
| } | |
| .text-gray-800 { | |
| color: #1f2937; | |
| } | |
| .text-gray-600 { | |
| color: #4b5563; | |
| } | |
| .text-gray-700 { | |
| color: #374151; | |
| } | |
| .text-blue-600 { | |
| color: #2563eb; | |
| } | |
| .font-medium { | |
| font-weight: 500; | |
| } | |
| .font-semibold { | |
| font-weight: 600; | |
| } | |
| .font-bold { | |
| font-weight: 700; | |
| } | |