Download static/style.css from aryan083/Emojifier: direct link, hf CLI and curl.
- Browser
- Download file 6.26 kB
-
https://huggingface.co/spaces/aryan083/Emojifier/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/aryan083/Emojifier/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/aryan083/Emojifier/resolve/main/static/style.css
6.26 kB
| /* Move all styles from the <style> tag in index.html here */ | |
| .detected-emoji { | |
| font-size: 4rem; | |
| } | |
| .highlight-text { | |
| color: #ffc857; | |
| } | |
| .confidence-text { | |
| color: #ffc857; | |
| font-size: 5rem ; | |
| font-weight: 800 ; | |
| text-align: center; | |
| margin: 0; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100%; | |
| letter-spacing: -1px; | |
| } | |
| .preprocessed-image { | |
| max-width: 100%; | |
| border-radius: 5px; | |
| } | |
| .probability-bar-custom { | |
| width: var(--percentage); | |
| } | |
| .processing-info p { | |
| margin: 5px 0; | |
| color: #f0f0f0; | |
| } | |
| .probability-bar-width { | |
| width: var(--percentage); | |
| } | |
| .technical-display { | |
| display: block; | |
| } | |
| .smooth-scroll { | |
| scroll-behavior: smooth; | |
| } | |
| .process-flow { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| margin: 20px 0; | |
| } | |
| .process-stage { | |
| background: rgba(255, 255, 255, 0.08); | |
| padding: 20px; | |
| border-radius: 8px; | |
| margin-bottom: 15px; | |
| border-left: 4px solid #ffc857; | |
| } | |
| .process-stage h4 { | |
| color: #ffc857; | |
| margin-bottom: 15px; | |
| font-size: 1.1em; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| .model-info { | |
| margin-top: 20px; | |
| padding: 15px; | |
| background: rgba(255, 255, 255, 0.05); | |
| border-radius: 8px; | |
| border-left: 4px solid #4CAF50; | |
| } | |
| .model-info h4 { | |
| color: #4CAF50; | |
| margin-bottom: 10px; | |
| } | |
| .analysis-box { | |
| background: rgba(255, 255, 255, 0.05); | |
| padding: 20px; | |
| border-radius: 8px; | |
| margin-bottom: 15px; | |
| border-left: 4px solid #ffc857; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 250px; | |
| } | |
| .analysis-box h4 { | |
| color: #ffc857; | |
| margin-bottom: 15px; | |
| text-align: center; | |
| } | |
| .step-box .row { | |
| margin: 0; | |
| } | |
| .step-box h3 { | |
| position: relative; | |
| padding-left: 35px; | |
| } | |
| .step-box h3:before { | |
| content: ""; | |
| position: absolute; | |
| left: 0; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| width: 25px; | |
| height: 25px; | |
| background: #ffc857; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 14px; | |
| color: #324376; | |
| } | |
| .step-box:nth-child(1) h3:before { content: "1"; } | |
| .step-box:nth-child(2) h3:before { content: "2"; } | |
| .step-box:nth-child(3) h3:before { content: "3"; } | |
| .step-box:nth-child(4) h3:before { content: "4"; } | |
| .step-list li { | |
| color: #ffffff; | |
| margin-bottom: 8px; | |
| line-height: 1.4; | |
| } | |
| .step-list li:before { | |
| color: #ffc857; | |
| margin-right: 10px; | |
| } | |
| .final-analysis { | |
| background: rgba(50, 67, 118, 0.3) ; | |
| border-radius: 30px ; | |
| padding: 40px ; | |
| margin-top: 40px; | |
| } | |
| .final-analysis h3 { | |
| color: #f0f0f0; | |
| font-size: 2.5rem; | |
| margin-bottom: 30px; | |
| font-weight: 300; | |
| letter-spacing: 1px; | |
| padding-left: 0; | |
| } | |
| .final-analysis .analysis-box { | |
| background: rgba(50, 67, 118, 0.8) ; | |
| border-radius: 20px; | |
| padding: 30px; | |
| height: 100%; | |
| min-height: 280px; | |
| border: none ; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| margin: 10px; | |
| } | |
| .final-analysis .analysis-box h4 { | |
| color: #f0f0f0; | |
| font-size: 1.8rem; | |
| margin-bottom: 25px; | |
| font-weight: 300; | |
| letter-spacing: 1px; | |
| text-align: center; | |
| } | |
| .confidence-circle { | |
| width: 150px; | |
| height: 150px; | |
| border-radius: 50%; | |
| background: rgba(255, 255, 255, 0.05); | |
| margin: 0 auto; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border: 4px solid #4CAF50; | |
| } | |
| .confidence-text { | |
| font-size: 1.5rem; | |
| color: #4CAF50; | |
| font-weight: bold; | |
| } | |
| .detected-emoji { | |
| font-size: 5rem; | |
| display: block; | |
| margin-bottom: 10px; | |
| } | |
| .highlight-text { | |
| font-size: 1.8rem; | |
| text-transform: capitalize; | |
| } | |
| .step-box h3 { | |
| color: #ffc857; | |
| font-size: 1.8rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .technical-section { | |
| display: none; /* Hide initially */ | |
| background-color: #324376; | |
| color: white; | |
| padding: 4rem 2rem; | |
| opacity: 0; | |
| transition: opacity 0.5s ease-in-out; | |
| } | |
| .technical-section.visible { | |
| display: block; | |
| opacity: 1; | |
| } | |
| .confidence-score { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100%; | |
| color: #ffc857 ; | |
| } | |
| #confidence-score { | |
| height: 100%; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| color: #ffc857 ; | |
| } | |
| /* Primary Emotion Box */ | |
| #primary-emotion { | |
| text-align: center; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100%; | |
| } | |
| .detected-emoji { | |
| font-size: 5.5rem; | |
| margin: 15px 0; | |
| } | |
| .highlight-text { | |
| color: #ffc857; | |
| font-size: 3.5rem ; | |
| margin-top: 15px ; | |
| text-transform: capitalize; | |
| font-weight: 700 ; | |
| letter-spacing: -1px; | |
| } | |
| /* Confidence Score Box */ | |
| #confidence-score { | |
| height: 100%; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| .confidence-text { | |
| color: #ffc857; | |
| font-size: 3.5rem ; | |
| font-weight: 700 ; | |
| text-align: center; | |
| margin: 0; | |
| letter-spacing: -1px; | |
| } | |
| /* Container spacing */ | |
| .analysis-container { | |
| padding: 0; | |
| } | |
| .final-analysis .row { | |
| margin: 0 -10px; | |
| } | |
| .final-analysis .col-md-6 { | |
| padding: 10px; | |
| } | |
| /* Remove numbered circles from final analysis */ | |
| .final-analysis h3:before { | |
| display: none; | |
| } | |
| @keyframes emojiChange { | |
| 0% { | |
| content: "π"; | |
| transform: rotate(0deg); | |
| } | |
| 25% { | |
| content: "π"; | |
| transform: rotate(90deg); | |
| } | |
| 50% { | |
| content: "π€ͺ"; | |
| transform: rotate(180deg); | |
| } | |
| 75% { | |
| content: "π₯³"; | |
| transform: rotate(270deg); | |
| } | |
| 100% { | |
| content: "π"; | |
| transform: rotate(360deg); | |
| } | |
| } | |
| .emoji-text { | |
| position: relative; | |
| display: inline-block; | |
| } | |
| .emoji-text::after { | |
| content: "π"; | |
| position: absolute; | |
| animation: emojiChange 4s infinite linear; | |
| display: inline-block; | |
| transform-origin: center center; | |
| width: 1em; | |
| height: 1em; | |
| left: 0; | |
| top: 0; | |
| } | |