Download style.css from serdar779/pixelcraft-ui-studio-modern-web-interface-forge: direct link, hf CLI and curl.
- Browser
- Download file 3.12 kB
-
https://huggingface.co/spaces/serdar779/pixelcraft-ui-studio-modern-web-interface-forge/resolve/main/style.css
- Command line
-
hf download hf://spaces/serdar779/pixelcraft-ui-studio-modern-web-interface-forge/style.css
-
curl -L -o style.css https://huggingface.co/spaces/serdar779/pixelcraft-ui-studio-modern-web-interface-forge/resolve/main/style.css
3.12 kB
| /* Global Styles for PixelCraft UI Studio */ | |
| /* Custom button styles */ | |
| .btn { | |
| @apply px-6 py-3 rounded-lg font-medium transition-all duration-200 transform hover:scale-[1.02] active:scale-[0.98] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-900; | |
| } | |
| .btn-primary { | |
| @apply bg-gray-500 text-white hover:bg-gray-600 focus:ring-gray-500; | |
| } | |
| .btn-secondary { | |
| @apply bg-gray-400 text-gray-900 hover:bg-gray-300 focus:ring-gray-400; | |
| } | |
| .btn-outline { | |
| @apply border-2 border-gray-500 text-gray-500 hover:bg-gray-500 hover:text-white focus:ring-gray-500; | |
| } | |
| .btn-ghost { | |
| @apply text-gray-400 hover:text-white hover:bg-gray-800 focus:ring-gray-500; | |
| } | |
| /* Form styles */ | |
| .form-input { | |
| @apply w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:border-transparent transition-all duration-200; | |
| } | |
| .form-select { | |
| @apply w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg text-white focus:outline-none focus:ring-2 focus:ring-gray-500 focus:border-transparent appearance-none bg-no-repeat bg-[length:20px_20px] bg-[right_1rem_center] pr-12; | |
| background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239CA3AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); | |
| } | |
| .form-checkbox { | |
| @apply w-5 h-5 rounded bg-gray-800 border border-gray-700 text-gray-500 focus:ring-gray-500 focus:ring-offset-gray-900 focus:outline-none transition duration-200; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 10px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| @apply bg-gray-900; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| @apply bg-gray-700 rounded-full; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| @apply bg-gray-600; | |
| } | |
| /* Animation classes */ | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-in; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .slide-in { | |
| animation: slideIn 0.3s ease-out; | |
| } | |
| @keyframes slideIn { | |
| from { transform: translateX(-100%); } | |
| to { transform: translateX(0); } | |
| } | |
| /* Card hover effects */ | |
| .custom-card { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .custom-card:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| /* Responsive utilities */ | |
| @media (max-width: 768px) { | |
| .mobile-hidden { | |
| display: none; | |
| } | |
| .mobile-full { | |
| width: 100%; | |
| } | |
| } | |
| /* Loading animation */ | |
| .loading-spinner { | |
| @apply w-8 h-8 border-4 border-gray-700 border-t-gray-500 rounded-full animate-spin; | |
| } | |
| /* Typography enhancements */ | |
| h1, h2, h3, h4, h5, h6 { | |
| @apply font-bold tracking-tight; | |
| } | |
| h1 { | |
| @apply text-4xl md:text-5xl; | |
| } | |
| h2 { | |
| @apply text-3xl md:text-4xl; | |
| } | |
| h3 { | |
| @apply text-2xl md:text-3xl; | |
| } | |
| /* Gradient text */ | |
| .gradient-text { | |
| @apply bg-clip-text text-transparent bg-gradient-to-r from-gray-400 to-gray-300; | |
| } |