Spaces:
Running
Running
Download App.css from mateosky/deepsite-project: direct link, hf CLI and curl.
- Browser
- Download file 4.28 kB
-
https://huggingface.co/spaces/mateosky/deepsite-project/resolve/main/App.css
- Command line
-
hf download hf://spaces/mateosky/deepsite-project/App.css
-
curl -L -o App.css https://huggingface.co/spaces/mateosky/deepsite-project/resolve/main/App.css
4.28 kB
| ```css | |
| @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css'); | |
| body { | |
| background-color: #0a192f; | |
| color: white; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| line-height: 1.6; | |
| } | |
| .app { | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 100vh; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 40px 20px; | |
| flex: 1; | |
| } | |
| section { | |
| padding: 60px 0; | |
| } | |
| .hero { | |
| background: linear-gradient(rgba(0, 0, 139, 0.7), rgba(0, 0, 139, 0.7)), | |
| url('http://static.photos/technology/1200x630/10'); | |
| background-size: cover; | |
| background-position: center; | |
| height: 70vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| text-align: center; | |
| color: white; | |
| padding: 0 20px; | |
| } | |
| .hero-content h1 { | |
| font-size: 3.5rem; | |
| margin-bottom: 20px; | |
| color: white; | |
| text-shadow: 2px 2px 4px rgba(0,0,0,0.5); | |
| } | |
| .hero-content p { | |
| font-size: 1.5rem; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| text-shadow: 1px 1px 2px rgba(0,0,0,0.5); | |
| } | |
| header { | |
| background-color: #1E1E1E; | |
| padding: 20px; | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| nav { | |
| display: flex; | |
| justify-content: flex-end; | |
| gap: 30px; | |
| margin-right: 100px; | |
| } | |
| .logo-space { | |
| position: absolute; | |
| left: 20px; | |
| top: 10px; | |
| width: 80px; | |
| height: 80px; | |
| background-color: rgba(255,255,255,0.1); | |
| border-radius: 10px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| nav a { | |
| color: white; | |
| text-decoration: none; | |
| font-size: 18px; | |
| transition: all 0.3s; | |
| padding: 10px 15px; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| nav a:hover { | |
| color: #ff7d00; | |
| background-color: rgba(76, 175, 80, 0.1); | |
| } | |
| .card { | |
| background-color: rgba(30, 30, 30, 0.8); | |
| padding: 40px; | |
| border-radius: 10px; | |
| margin-bottom: 40px; | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.2); | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| } | |
| .product-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 20px; | |
| margin-top: 30px; | |
| } | |
| .product-item { | |
| background-color: rgba(255,125,0,0.1); | |
| padding: 25px; | |
| border-radius: 8px; | |
| border-left: 4px solid #ff7d00; | |
| } | |
| .product-item h3 { | |
| color: #ff7d00; | |
| margin-top: 0; | |
| } | |
| .card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 15px 30px rgba(0,0,0,0.3); | |
| } | |
| h1, h2 { | |
| color: #ff7d00; | |
| } | |
| footer { | |
| background-color: #1E1E1E; | |
| padding: 20px; | |
| text-align: center; | |
| } | |
| form { | |
| display: grid; | |
| gap: 15px; | |
| } | |
| input, textarea { | |
| padding: 10px; | |
| border-radius: 4px; | |
| border: none; | |
| } | |
| button { | |
| background-color: #ff7d00; | |
| color: white; | |
| padding: 15px 30px; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| font-size: 16px; | |
| font-weight: bold; | |
| transition: all 0.3s; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| button:hover { | |
| background-color: #ff8c00; | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 15px rgba(0,0,0,0.2); | |
| } | |
| .social-links { | |
| margin-top: 15px; | |
| } | |
| .social-links a { | |
| color: white; | |
| margin: 0 10px; | |
| font-size: 1.2rem; | |
| } | |
| .social-links a:first-child { | |
| color: #ff7d00; | |
| } | |
| /* Mobile styles */ | |
| @media (max-width: 768px) { | |
| nav { | |
| position: fixed; | |
| top: 0; | |
| right: -100%; | |
| width: 70%; | |
| height: 100vh; | |
| background-color: #1E1E1E; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: flex-start; | |
| padding-top: 80px; | |
| transition: all 0.3s ease; | |
| margin-right: 0; | |
| } | |
| nav.active { | |
| right: 0; | |
| } | |
| .hamburger { | |
| display: block; | |
| position: fixed; | |
| top: 30px; | |
| right: 20px; | |
| cursor: pointer; | |
| z-index: 101; | |
| } | |
| .hamburger span { | |
| display: block; | |
| width: 30px; | |
| height: 3px; | |
| background: white; | |
| margin: 6px 0; | |
| transition: all 0.3s ease; | |
| } | |
| .hamburger.active span:nth-child(1) { | |
| transform: rotate(45deg) translate(5px, 5px); | |
| } | |
| .hamburger.active span:nth-child(2) { | |
| opacity: 0; | |
| } | |
| .hamburger.active span:nth-child(3) { | |
| transform: rotate(-45deg) translate(5px, -5px); | |
| } | |
| nav a { | |
| padding: 15px; | |
| width: 80%; | |
| text-align: center; | |
| } | |
| .logo-space { | |
| top: 20px; | |
| } | |
| .hero-content h1 { | |
| font-size: 2.5rem; | |
| } | |
| .hero-content p { | |
| font-size: 1.2rem; | |
| } | |
| } | |
| .hamburger { | |
| display: none; | |
| } | |
| ``` |