Create a website for e-commerce for Indian pickles like a 15+ types of Indian veg pickels and 7+ types non veg pickles 10+ types of Vadiyalu and pappads and 10+ types of masalas and Karappodulu and and product details and when some one try to buy or add favorite or craft they need to login the page using mobile number or google and admin can add or delete the products and easy to buy the product on my website and need location access to get address and and my company name is "rb pickel store " and menctio the logo also.
b20c67f verified Download style.css from Rahulrsk/extract-the-source-code-6f79bq558qn: direct link, hf CLI and curl.
- Browser
- Download file 5.26 kB
-
https://huggingface.co/spaces/Rahulrsk/extract-the-source-code-6f79bq558qn/resolve/main/style.css
- Command line
-
hf download hf://spaces/Rahulrsk/extract-the-source-code-6f79bq558qn/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Rahulrsk/extract-the-source-code-6f79bq558qn/resolve/main/style.css
5.26 kB
| :root { | |
| --primary: #f59e0b; | |
| --primary-dark: #d97706; | |
| --secondary: #10b981; | |
| --dark: #1e293b; | |
| --light: #f8fafc; | |
| --gray: #64748b; | |
| } | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| color: var(--dark); | |
| background-color: #f5f5f5; | |
| margin: 0; | |
| padding: 0; | |
| line-height: 1.6; | |
| } | |
| .font-playfair { | |
| font-family: 'Playfair Display', serif; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 1rem; | |
| } | |
| /* Header & Nav */ | |
| header { | |
| background-color: white; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| /* Hero Banner */ | |
| .hero-banner { | |
| height: 400px; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .hero-slides { | |
| width: 300%; | |
| height: 100%; | |
| display: flex; | |
| transition: transform 0.5s ease; | |
| } | |
| .hero-slide { | |
| flex: 1; | |
| position: relative; | |
| } | |
| .hero-slide img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| /* Product Grid */ | |
| .product-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); | |
| gap: 1.5rem; | |
| } | |
| .product-card { | |
| background: white; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| position: relative; | |
| } | |
| .product-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.1); | |
| } | |
| .product-image { | |
| height: 200px; | |
| width: 100%; | |
| object-fit: cover; | |
| } | |
| .product-badge { | |
| position: absolute; | |
| top: 10px; | |
| left: 10px; | |
| background-color: var(--primary); | |
| color: white; | |
| padding: 0.25rem 0.5rem; | |
| border-radius: 4px; | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| } | |
| .product-info { | |
| padding: 1rem; | |
| } | |
| .product-title { | |
| font-weight: 600; | |
| margin-bottom: 0.5rem; | |
| display: -webkit-box; | |
| -webkit-line-clamp: 2; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } | |
| .product-price { | |
| font-weight: 700; | |
| color: var(--primary-dark); | |
| margin-bottom: 0.5rem; | |
| } | |
| .product-original-price { | |
| text-decoration: line-through; | |
| color: var(--gray); | |
| font-size: 0.9rem; | |
| margin-left: 0.5rem; | |
| } | |
| .product-rating { | |
| display: flex; | |
| align-items: center; | |
| margin-bottom: 0.5rem; | |
| } | |
| .product-spice { | |
| margin-left: 1rem; | |
| font-size: 0.8rem; | |
| color: var(--gray); | |
| } | |
| .product-actions { | |
| display: flex; | |
| gap: 0.5rem; | |
| margin-top: 1rem; | |
| } | |
| .btn { | |
| padding: 0.5rem 1rem; | |
| border-radius: 4px; | |
| font-weight: 500; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| border: none; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .btn-primary { | |
| background-color: var(--primary); | |
| color: white; | |
| } | |
| .btn-primary:hover { | |
| background-color: var(--primary-dark); | |
| } | |
| .btn-outline { | |
| border: 1px solid var(--primary); | |
| color: var(--primary); | |
| background: transparent; | |
| } | |
| .btn-outline:hover { | |
| background-color: var(--primary); | |
| color: white; | |
| } | |
| .btn-icon { | |
| width: 36px; | |
| height: 36px; | |
| border-radius: 50%; | |
| padding: 0; | |
| } | |
| /* Toast Notification */ | |
| .toast { | |
| position: fixed; | |
| bottom: 20px; | |
| right: 20px; | |
| background-color: var(--primary); | |
| color: white; | |
| padding: 12px 24px; | |
| border-radius: 4px; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.15); | |
| z-index: 1000; | |
| animation: slideIn 0.5s, fadeOut 0.5s 2.5s; | |
| } | |
| @keyframes slideIn { | |
| from { transform: translateX(100%); } | |
| to { transform: translateX(0); } | |
| } | |
| @keyframes fadeOut { | |
| from { opacity: 1; } | |
| to { opacity: 0; } | |
| } | |
| /* Responsive */ | |
| @media (max-width: 768px) { | |
| .product-grid { | |
| grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); | |
| } | |
| .hero-banner { | |
| height: 300px; | |
| } | |
| } | |
| /* Utility Classes */ | |
| .hidden { | |
| display: none ; | |
| } | |
| /* Filter Sidebar */ | |
| .filter-sidebar { | |
| background: white; | |
| padding: 1rem; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |
| margin-bottom: 2rem; | |
| } | |
| .filter-title { | |
| font-weight: 600; | |
| margin-bottom: 1rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .filter-group { | |
| margin-bottom: 1.5rem; | |
| } | |
| .filter-option { | |
| display: flex; | |
| align-items: center; | |
| margin-bottom: 0.5rem; | |
| } | |
| .filter-option input { | |
| margin-right: 0.5rem; | |
| } | |
| /* Checkout Page */ | |
| .checkout-steps { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-bottom: 2rem; | |
| position: relative; | |
| } | |
| .checkout-step { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .checkout-step-number { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| background-color: #e2e8f0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 600; | |
| margin-bottom: 0.5rem; | |
| } | |
| .checkout-step.active .checkout-step-number { | |
| background-color: var(--primary); | |
| color: white; | |
| } | |
| .checkout-step-line { | |
| position: absolute; | |
| top: 20px; | |
| left: 0; | |
| right: 0; | |
| height: 2px; | |
| background-color: #e2e8f0; | |
| z-index: 0; | |
| } | |
| .checkout-step-line-progress { | |
| height: 100%; | |
| background-color: var(--primary); | |
| width: 0%; | |
| transition: width 0.3s ease; | |
| } | |