Download style.css from learncode/grandmaster-s-gambit-academy: direct link, hf CLI and curl.
- Browser
- Download file 1.75 kB
-
https://huggingface.co/spaces/learncode/grandmaster-s-gambit-academy/resolve/main/style.css
- Command line
-
hf download hf://spaces/learncode/grandmaster-s-gambit-academy/style.css
-
curl -L -o style.css https://huggingface.co/spaces/learncode/grandmaster-s-gambit-academy/resolve/main/style.css
1.75 kB
| @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap'); | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| line-height: 1.6; | |
| } | |
| h1, h2, h3, h4 { | |
| font-family: 'Playfair Display', serif; | |
| font-weight: 700; | |
| } | |
| /* Chess board pattern background */ | |
| .chess-pattern { | |
| background-image: | |
| linear-gradient(45deg, #1A361F 25%, transparent 25%), | |
| linear-gradient(-45deg, #1A361F 25%, transparent 25%), | |
| linear-gradient(45deg, transparent 75%, #1A361F 75%), | |
| linear-gradient(-45deg, transparent 75%, #1A361F 75%); | |
| background-size: 20px 20px; | |
| background-position: 0 0, 0 10px, 10px -10px, -10px 0px; | |
| } | |
| /* Piece move animation */ | |
| @keyframes piece-move { | |
| 0% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| 100% { transform: translateY(0); } | |
| } | |
| .animate-piece { | |
| animation: piece-move 3s ease-in-out infinite; | |
| } | |
| /* Custom hover effects */ | |
| .hover-zoom { | |
| transition: transform 0.3s ease; | |
| } | |
| .hover-zoom:hover { | |
| transform: scale(1.03); | |
| } | |
| /* Custom button styles */ | |
| .btn-primary { | |
| background-color: #1A361F; | |
| color: white; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-primary:hover { | |
| background-color: #0F172A; | |
| transform: translateY(-2px); | |
| } | |
| .btn-secondary { | |
| background-color: #D4AF37; | |
| color: #0F172A; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-secondary:hover { | |
| background-color: #C9A227; | |
| transform: translateY(-2px); | |
| } | |
| /* Custom shadow for chess elements */ | |
| .chess-shadow { | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1); | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 768px) { | |
| .hero-text { | |
| font-size: 2.5rem; | |
| } | |
| } |