Download Style.css from DataThree/InstaCap: direct link, hf CLI and curl.
- Browser
- Download file 8.27 kB
-
https://huggingface.co/spaces/DataThree/InstaCap/resolve/main/Style.css
- Command line
-
hf download hf://spaces/DataThree/InstaCap/Style.css
-
curl -L -o Style.css https://huggingface.co/spaces/DataThree/InstaCap/resolve/main/Style.css
8.27 kB
| /* Import Google Fonts */ | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
| /* Main gradient background - Instagram inspired */ | |
| .gradio-container { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) ; | |
| font-family: 'Poppins', sans-serif ; | |
| min-height: 100vh ; | |
| } | |
| /* Alternative Instagram gradients */ | |
| .gradio-container.alt-gradient-1 { | |
| background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%) ; | |
| } | |
| .gradio-container.alt-gradient-2 { | |
| background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%) ; | |
| } | |
| .gradio-container.alt-gradient-3 { | |
| background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%) ; | |
| } | |
| /* Glass morphism container */ | |
| .contain { | |
| background: rgba(255, 255, 255, 0.1) ; | |
| backdrop-filter: blur(10px) ; | |
| border-radius: 20px ; | |
| border: 1px solid rgba(255, 255, 255, 0.2) ; | |
| box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) ; | |
| margin: 20px ; | |
| padding: 30px ; | |
| } | |
| /* Title styling with Instagram colors */ | |
| h1 { | |
| background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24) ; | |
| -webkit-background-clip: text ; | |
| -webkit-text-fill-color: transparent ; | |
| background-clip: text ; | |
| text-align: center ; | |
| font-weight: 700 ; | |
| font-size: 2.5rem ; | |
| margin-bottom: 1rem ; | |
| text-shadow: 0 4px 8px rgba(0,0,0,0.1) ; | |
| animation: titleGlow 2s ease-in-out infinite alternate ; | |
| } | |
| @keyframes titleGlow { | |
| from { filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.3)); } | |
| to { filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.4)); } | |
| } | |
| /* Input styling with Instagram vibes */ | |
| .gr-textbox { | |
| background: rgba(255, 255, 255, 0.9) ; | |
| border-radius: 25px ; | |
| border: 2px solid transparent ; | |
| background-clip: padding-box ; | |
| box-shadow: 0 4px 16px rgba(0,0,0,0.1) ; | |
| font-size: 16px ; | |
| padding: 15px 20px ; | |
| transition: all 0.3s ease ; | |
| font-family: 'Poppins', sans-serif ; | |
| } | |
| .gr-textbox:focus { | |
| border: 2px solid #4ecdc4 ; | |
| box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3) ; | |
| transform: translateY(-2px) ; | |
| background: rgba(255, 255, 255, 0.95) ; | |
| } | |
| .gr-textbox::placeholder { | |
| color: #999 ; | |
| font-style: italic ; | |
| } | |
| /* Button styling with Instagram gradient */ | |
| .gr-button { | |
| background: linear-gradient(45deg, #ff6b6b, #4ecdc4) ; | |
| border: none ; | |
| border-radius: 25px ; | |
| color: white ; | |
| font-weight: 600 ; | |
| font-size: 18px ; | |
| padding: 15px 30px ; | |
| box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3) ; | |
| transition: all 0.3s ease ; | |
| text-transform: uppercase ; | |
| letter-spacing: 1px ; | |
| cursor: pointer ; | |
| font-family: 'Poppins', sans-serif ; | |
| } | |
| .gr-button:hover { | |
| transform: translateY(-3px) ; | |
| box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4) ; | |
| background: linear-gradient(45deg, #ff5252, #26a69a) ; | |
| } | |
| .gr-button:active { | |
| transform: translateY(-1px) ; | |
| } | |
| /* Output textbox styling */ | |
| .gr-textbox[data-testid="textbox"] { | |
| background: rgba(255, 255, 255, 0.95) ; | |
| border-radius: 20px ; | |
| border: 1px solid rgba(255, 255, 255, 0.3) ; | |
| font-size: 16px ; | |
| line-height: 1.6 ; | |
| padding: 20px ; | |
| box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) ; | |
| } | |
| /* Examples styling */ | |
| .gr-examples { | |
| background: rgba(255, 255, 255, 0.1) ; | |
| border-radius: 15px ; | |
| padding: 20px ; | |
| backdrop-filter: blur(5px) ; | |
| border: 1px solid rgba(255, 255, 255, 0.2) ; | |
| } | |
| .gr-examples .gr-button { | |
| background: rgba(255, 255, 255, 0.2) ; | |
| border: 1px solid rgba(255, 255, 255, 0.3) ; | |
| border-radius: 20px ; | |
| color: white ; | |
| transition: all 0.3s ease ; | |
| font-size: 14px ; | |
| padding: 10px 20px ; | |
| margin: 5px ; | |
| } | |
| .gr-examples .gr-button:hover { | |
| background: rgba(255, 255, 255, 0.3) ; | |
| transform: translateY(-1px) ; | |
| } | |
| /* Labels styling */ | |
| .gr-label { | |
| color: white ; | |
| font-weight: 500 ; | |
| font-size: 16px ; | |
| margin-bottom: 8px ; | |
| font-family: 'Poppins', sans-serif ; | |
| } | |
| /* Markdown styling */ | |
| .gr-markdown { | |
| color: white ; | |
| font-size: 16px ; | |
| line-height: 1.6 ; | |
| font-family: 'Poppins', sans-serif ; | |
| } | |
| .gr-markdown h3 { | |
| color: #4ecdc4 ; | |
| font-weight: 600 ; | |
| margin-top: 20px ; | |
| text-shadow: 0 2px 4px rgba(0,0,0,0.1) ; | |
| } | |
| .gr-markdown strong { | |
| color: #ff6b6b ; | |
| font-weight: 600 ; | |
| } | |
| /* Copy button styling */ | |
| .gr-copy-button { | |
| background: linear-gradient(45deg, #45b7d1, #f9ca24) ; | |
| border: none ; | |
| border-radius: 10px ; | |
| color: white ; | |
| font-weight: 500 ; | |
| transition: all 0.3s ease ; | |
| } | |
| .gr-copy-button:hover { | |
| background: linear-gradient(45deg, #2196f3, #ff9800) ; | |
| transform: scale(1.05) ; | |
| } | |
| /* Scrollbar styling */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 10px; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: linear-gradient(45deg, #ff6b6b, #4ecdc4); | |
| border-radius: 10px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: linear-gradient(45deg, #ff5252, #26a69a); | |
| } | |
| /* Loading animation */ | |
| @keyframes pulse { | |
| 0% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| 100% { opacity: 1; } | |
| } | |
| .gr-button.loading { | |
| animation: pulse 1.5s ease-in-out infinite; | |
| } | |
| /* Floating animation for buttons */ | |
| @keyframes float { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| 100% { transform: translateY(0px); } | |
| } | |
| .gr-button { | |
| animation: float 3s ease-in-out infinite; | |
| } | |
| /* Row and column spacing */ | |
| .gr-row { | |
| gap: 20px ; | |
| } | |
| .gr-column { | |
| padding: 10px ; | |
| } | |
| /* Mobile responsiveness */ | |
| @media (max-width: 768px) { | |
| .contain { | |
| margin: 10px ; | |
| padding: 20px ; | |
| } | |
| h1 { | |
| font-size: 2rem ; | |
| } | |
| .gr-button { | |
| font-size: 16px ; | |
| padding: 12px 25px ; | |
| } | |
| .gr-textbox { | |
| font-size: 14px ; | |
| } | |
| } | |
| /* Success and error states */ | |
| .success { | |
| border-left: 4px solid #4caf50 ; | |
| background: rgba(76, 175, 80, 0.1) ; | |
| } | |
| .error { | |
| border-left: 4px solid #f44336 ; | |
| background: rgba(244, 67, 54, 0.1) ; | |
| } | |
| /* Hover effects for containers */ | |
| .contain:hover { | |
| transform: translateY(-2px) ; | |
| box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5) ; | |
| transition: all 0.3s ease ; | |
| } | |
| /* Gradient text for special elements */ | |
| .gradient-text { | |
| background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24) ; | |
| -webkit-background-clip: text ; | |
| -webkit-text-fill-color: transparent ; | |
| background-clip: text ; | |
| font-weight: 600 ; | |
| } | |
| /* Icon styling */ | |
| .icon { | |
| font-size: 1.2em ; | |
| margin-right: 8px ; | |
| vertical-align: middle ; | |
| } | |
| /* Notification styling */ | |
| .notification { | |
| position: fixed; | |
| top: 20px; | |
| right: 20px; | |
| background: rgba(255, 255, 255, 0.9); | |
| border-radius: 15px; | |
| padding: 15px 20px; | |
| box-shadow: 0 4px 20px rgba(0,0,0,0.1); | |
| z-index: 1000; | |
| animation: slideIn 0.3s ease-out; | |
| } | |
| @keyframes slideIn { | |
| from { transform: translateX(100%); opacity: 0; } | |
| to { transform: translateX(0); opacity: 1; } | |
| } |