Download styles_Version2.css from Shubham2711/ShubhamDadhichArt: direct link, hf CLI and curl.
- Browser
- Download file 3.69 kB
-
https://huggingface.co/Shubham2711/ShubhamDadhichArt/resolve/main/styles_Version2.css
- Command line
-
hf download hf://Shubham2711/ShubhamDadhichArt/styles_Version2.css
-
curl -L -o styles_Version2.css https://huggingface.co/Shubham2711/ShubhamDadhichArt/resolve/main/styles_Version2.css
3.69 kB
| :root{ | |
| --bg:#fbfbfb; | |
| --card:#fff; | |
| --accent:#b91c1c; /* warm deep red accent for art branding */ | |
| --text:#0b1220; | |
| --muted:#475569; | |
| --radius:12px; | |
| --max-width:1100px; | |
| } | |
| *{box-sizing:border-box} | |
| html,body{height:100%} | |
| body{ | |
| margin:0; | |
| font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial; | |
| color:var(--text); | |
| background:var(--bg); | |
| line-height:1.6; | |
| } | |
| .container{ | |
| width:calc(100% - 2rem); | |
| max-width:var(--max-width); | |
| margin:0 auto; | |
| padding:2rem 1rem; | |
| } | |
| .site-header{ | |
| background:transparent; | |
| position:sticky; | |
| top:0; | |
| z-index:40; | |
| backdrop-filter: blur(4px); | |
| } | |
| .header-inner{ | |
| display:flex; | |
| align-items:center; | |
| justify-content:space-between; | |
| padding:1rem 0; | |
| } | |
| .brand{ | |
| font-weight:700; | |
| color:var(--text); | |
| text-decoration:none; | |
| font-size:1.1rem; | |
| letter-spacing:.4px; | |
| } | |
| .site-nav{ | |
| display:flex; | |
| gap:1rem; | |
| } | |
| .site-nav a{ | |
| color:var(--muted); | |
| text-decoration:none; | |
| padding:.25rem .5rem; | |
| border-radius:6px; | |
| } | |
| .site-nav a:hover{color:var(--accent)} | |
| .nav-toggle{ | |
| display:none; | |
| background:none; | |
| border:0; | |
| font-size:1.25rem; | |
| } | |
| /* Hero */ | |
| .hero{ | |
| padding:4rem 0 2rem; | |
| background:linear-gradient(135deg, #fff7f7 0%, #ffffff 100%); | |
| border-bottom:1px solid rgba(11,18,32,0.04); | |
| } | |
| .hero .lead{color:var(--muted); max-width:60ch} | |
| .btn{ | |
| display:inline-block; | |
| background:var(--accent); | |
| color:#fff; | |
| padding:.6rem 1rem; | |
| border-radius:10px; | |
| text-decoration:none; | |
| } | |
| .section{padding:3rem 0} | |
| h1{margin:.25rem 0 1rem; font-size:2rem} | |
| h2{margin:0 0 1rem; font-size:1.25rem} | |
| /* Gallery */ | |
| .gallery-header{display:flex; align-items:center; justify-content:space-between; gap:1rem} | |
| .filters{display:flex; gap:.5rem} | |
| .filter-btn{ | |
| background:transparent; | |
| border:1px solid rgba(11,18,32,0.06); | |
| padding:.35rem .6rem; | |
| border-radius:8px; | |
| cursor:pointer; | |
| color:var(--muted); | |
| } | |
| .filter-btn.active{background:var(--accent); color:#fff; border-color:transparent} | |
| .gallery-grid{display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); margin-top:1rem} | |
| .art-item{ | |
| background:var(--card); | |
| padding:.6rem; | |
| border-radius:12px; | |
| box-shadow:0 6px 20px rgba(2,6,23,0.06); | |
| overflow:hidden; | |
| cursor:zoom-in; | |
| } | |
| .art-item img{display:block; width:100%; height:260px; object-fit:cover; border-radius:8px} | |
| .art-item figcaption{margin-top:.5rem; font-size:.9rem; color:var(--muted)} | |
| /* Lightbox */ | |
| .lightbox{ | |
| position:fixed; | |
| inset:0; | |
| display:none; | |
| align-items:center; | |
| justify-content:center; | |
| background:rgba(2,6,23,0.75); | |
| z-index:60; | |
| padding:2rem; | |
| } | |
| .lightbox img{max-width:90%; max-height:80vh; border-radius:8px; display:block} | |
| .lightbox-close{ | |
| position:absolute; | |
| top:1rem; | |
| right:1rem; | |
| background:transparent; | |
| border:0; | |
| color:#fff; | |
| font-size:1.5rem; | |
| cursor:pointer; | |
| } | |
| .lightbox-caption{color:#fff; margin-top:.8rem; text-align:center} | |
| /* Contact form */ | |
| .contact-form{ | |
| display:grid; | |
| gap:.75rem; | |
| max-width:700px; | |
| } | |
| .contact-form label{display:flex; flex-direction:column; font-size:.9rem; color:var(--muted)} | |
| .contact-form input, | |
| .contact-form textarea{ | |
| margin-top:.5rem; | |
| padding:.6rem; | |
| border:1px solid #e6eef6; | |
| border-radius:8px; | |
| font-size:1rem; | |
| } | |
| .form-status{margin-top:.5rem; color:var(--muted)} | |
| /* Footer */ | |
| .site-footer{border-top:1px solid rgba(11,18,32,0.04); padding:1.2rem 0; text-align:center; font-size:.9rem; color:var(--muted)} | |
| /* Responsive */ | |
| @media (max-width:800px){ | |
| .site-nav{display:none; position:absolute; right:1rem; top:64px; background:var(--card); padding:.75rem; border-radius:10px; box-shadow:0 8px 24px rgba(2,6,23,0.08)} | |
| .nav-toggle{display:block} | |
| .art-item img{height:200px} | |
| } |