Download style.css from TIJAANI/cineflow: direct link, hf CLI and curl.
- Browser
- Download file 3.03 kB
-
https://huggingface.co/spaces/TIJAANI/cineflow/resolve/main/style.css
- Command line
-
hf download hf://spaces/TIJAANI/cineflow/style.css
-
curl -L -o style.css https://huggingface.co/spaces/TIJAANI/cineflow/resolve/main/style.css
3.03 kB
| /* ======================================== | |
| CINEFLOW - RESPONSIVE CSS | |
| ======================================== */ | |
| /* Fix page d'accueil mobile */ | |
| @media screen and (max-width: 768px) { | |
| /* Reset zoom et viewport */ | |
| html { | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| text-size-adjust: 100%; | |
| } | |
| /* Conteneur principal */ | |
| .main .block-container { | |
| padding: 1rem 0.5rem ; | |
| max-width: 100% ; | |
| overflow-x: hidden ; | |
| } | |
| /* Fix titre page d'accueil CINEFLOW */ | |
| h1[style*="color: #E50914"], | |
| h1[style*="text-align: center"] { | |
| font-size: 2rem ; | |
| line-height: 1.2 ; | |
| word-break: break-word ; | |
| overflow-wrap: break-word ; | |
| } | |
| /* Tous les h1 sur mobile */ | |
| h1 { | |
| font-size: 1.5rem ; | |
| line-height: 1.3 ; | |
| } | |
| h2 { | |
| font-size: 1.2rem ; | |
| } | |
| h3 { | |
| font-size: 1rem ; | |
| } | |
| /* Paragraphes */ | |
| p { | |
| font-size: 0.9rem ; | |
| line-height: 1.5 ; | |
| } | |
| /* Empêcher le dépassement horizontal */ | |
| * { | |
| max-width: 100%; | |
| overflow-x: hidden; | |
| } | |
| /* Colonnes Streamlit */ | |
| [data-testid="column"] { | |
| width: 100% ; | |
| flex: 1 1 100% ; | |
| min-width: 100% ; | |
| } | |
| /* Métriques */ | |
| [data-testid="stMetricValue"] { | |
| font-size: 1.3rem ; | |
| } | |
| [data-testid="stMetricLabel"] { | |
| font-size: 0.75rem ; | |
| } | |
| /* Graphiques Plotly */ | |
| .js-plotly-plot { | |
| width: 100% ; | |
| height: auto ; | |
| min-height: 250px ; | |
| } | |
| /* Tables */ | |
| .dataframe { | |
| font-size: 0.7rem ; | |
| overflow-x: auto ; | |
| } | |
| /* Boutons */ | |
| .stButton > button { | |
| width: 100% ; | |
| font-size: 0.85rem ; | |
| padding: 0.4rem ; | |
| } | |
| /* Sidebar mobile */ | |
| [data-testid="stSidebar"] { | |
| width: 100% ; | |
| } | |
| /* Selectbox et inputs */ | |
| .stSelectbox, .stDateInput, .stNumberInput { | |
| font-size: 0.85rem ; | |
| } | |
| /* Espacement */ | |
| .element-container { | |
| margin-bottom: 0.5rem ; | |
| } | |
| /* Images */ | |
| img { | |
| max-width: 100% ; | |
| height: auto ; | |
| } | |
| } | |
| /* Tablet (768px - 1024px) */ | |
| @media screen and (min-width: 768px) and (max-width: 1024px) { | |
| .main .block-container { | |
| padding: 2rem 1rem ; | |
| } | |
| [data-testid="column"] { | |
| min-width: 45% ; | |
| } | |
| h1 { | |
| font-size: 2rem ; | |
| } | |
| } | |
| /* Desktop amélioré */ | |
| @media screen and (min-width: 1024px) { | |
| .main .block-container { | |
| max-width: 1400px ; | |
| padding: 2rem 3rem ; | |
| } | |
| } | |