Download style.css from CSNET/wp-wellnet-longevity-platform: direct link, hf CLI and curl.
- Browser
- Download file 5.04 kB
-
https://huggingface.co/spaces/CSNET/wp-wellnet-longevity-platform/resolve/37c8390fab261adeae062289a2695a3afdfaa4bb/style.css
- Command line
-
hf download hf://spaces/CSNET/wp-wellnet-longevity-platform@37c8390fab261adeae062289a2695a3afdfaa4bb/style.css
-
curl -L -o style.css https://huggingface.co/spaces/CSNET/wp-wellnet-longevity-platform/resolve/37c8390fab261adeae062289a2695a3afdfaa4bb/style.css
5.04 kB
| /* Custom styles for WP WELLNET Longevity Platform */ | |
| body { | |
| font-family: 'Prompt', sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| /* Smooth scrolling */ | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 4px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #A5D6A7; | |
| border-radius: 2px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #81C784; | |
| } | |
| /* Canvas chart styles */ | |
| canvas { | |
| max-height: 120px; | |
| } | |
| /* Touch-friendly buttons */ | |
| button { | |
| min-height: 44px; | |
| touch-action: manipulation; | |
| } | |
| /* Animation for health bars */ | |
| .health-bar { | |
| transition: width 0.6s ease-in-out; | |
| } | |
| /* Card hover effects */ | |
| .card-hover { | |
| transition: all 0.3s ease; | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); | |
| } | |
| /* Badge animations */ | |
| .badge-pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { | |
| box-shadow: 0 0 0 0 rgba(165, 214, 167, 0.7); | |
| } | |
| 70% { | |
| box-shadow: 0 0 0 10px rgba(165, 214, 167, 0); | |
| } | |
| 100% { | |
| box-shadow: 0 0 0 0 rgba(165, 214, 167, 0); | |
| } | |
| } | |
| /* Loading skeleton */ | |
| .skeleton { | |
| background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); | |
| background-size: 200% 100%; | |
| animation: loading 1.5s infinite; | |
| } | |
| @keyframes loading { | |
| 0% { | |
| background-position: 200% 0; | |
| } | |
| 100% { | |
| background-position: -200% 0; | |
| } | |
| } | |
| /* Bottom navigation active state */ | |
| .nav-active { | |
| color: #A5D6A7 ; | |
| } | |
| /* Custom checkbox styles */ | |
| .custom-checkbox { | |
| appearance: none; | |
| width: 20px; | |
| height: 20px; | |
| border: 2px solid #A5D6A7; | |
| border-radius: 4px; | |
| transition: all 0.3s ease; | |
| cursor: pointer; | |
| } | |
| .custom-checkbox:checked { | |
| background-color: #A5D6A7; | |
| background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); | |
| background-size: 16px 16px; | |
| background-position: center; | |
| background-repeat: no-repeat; | |
| } | |
| /* Success animation */ | |
| .success-animation { | |
| animation: success 0.6s ease-in-out; | |
| } | |
| @keyframes success { | |
| 0% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.1); | |
| } | |
| 100% { | |
| transform: scale(1); | |
| } | |
| } | |
| /* Notification badge */ | |
| .notification-badge { | |
| position: absolute; | |
| top: 8px; | |
| right: 8px; | |
| width: 8px; | |
| height: 8px; | |
| background-color: #ef4444; | |
| border-radius: 50%; | |
| animation: pulse 2s infinite; | |
| } | |
| /* Progress ring */ | |
| .progress-ring { | |
| transform: rotate(-90deg); | |
| } | |
| .progress-ring-circle { | |
| transition: stroke-dashoffset 0.35s; | |
| stroke: #A5D6A7; | |
| stroke-dasharray: 126; | |
| stroke-dashoffset: 0; | |
| } | |
| /* Custom input styles */ | |
| input[type="number"]::-webkit-inner-spin-button, | |
| input[type="number"]::-webkit-outer-spin-button { | |
| -webkit-appearance: none; | |
| margin: 0; | |
| } | |
| /* Focus styles */ | |
| .focus-ring:focus { | |
| outline: none; | |
| box-shadow: 0 0 0 3px rgba(165, 214, 167, 0.3); | |
| } | |
| /* Glassmorphism effect */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.8); | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| } | |
| /* Responsive typography */ | |
| @media (max-width: 640px) { | |
| body { | |
| font-size: 14px; | |
| } | |
| .text-xs { | |
| font-size: 0.75rem; | |
| } | |
| .text-sm { | |
| font-size: 0.875rem; | |
| } | |
| } | |
| /* Safe area insets for mobile devices */ | |
| @supports (padding: max(0px)) { | |
| .safe-bottom { | |
| padding-bottom: max(16px, env(safe-area-inset-bottom)); | |
| } | |
| .safe-top { | |
| padding-top: max(16px, env(safe-area-inset-top)); | |
| } | |
| } | |
| /* Dark mode support (if needed) */ | |
| @media (prefers-color-scheme: dark) { | |
| .dark-mode { | |
| background-color: #1a1a1a; | |
| color: #ffffff; | |
| } | |
| .dark-mode .bg-white { | |
| background-color: #2a2a2a; | |
| } | |
| .dark-mode .bg-gray-50 { | |
| background-color: #1f1f1f; | |
| } | |
| } | |
| /* Print styles */ | |
| @media print { | |
| .no-print { | |
| display: none ; | |
| } | |
| body { | |
| font-size: 12px; | |
| line-height: 1.4; | |
| } | |
| } | |
| /* Accessibility improvements */ | |
| .sr-only { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| padding: 0; | |
| margin: -1px; | |
| overflow: hidden; | |
| clip: rect(0, 0, 0, 0); | |
| white-space: nowrap; | |
| border: 0; | |
| } | |
| /* High contrast mode */ | |
| @media (prefers-contrast: high) { | |
| .primary { | |
| background-color: #000000 ; | |
| color: #ffffff ; | |
| } | |
| .bg-primary { | |
| background-color: #000000 ; | |
| } | |
| } | |
| /* Reduced motion */ | |
| @media (prefers-reduced-motion: reduce) { | |
| *, | |
| *::before, | |
| *::after { | |
| animation-duration: 0.01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 0.01ms ; | |
| scroll-behavior: auto ; | |
| } | |
| } |