Download src/style.css from Kndeh/BillAja: direct link, hf CLI and curl.
- Browser
- Download file 2.41 kB
-
https://huggingface.co/spaces/Kndeh/BillAja/resolve/main/src/style.css
- Command line
-
hf download hf://spaces/Kndeh/BillAja/src/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Kndeh/BillAja/resolve/main/src/style.css
2.41 kB
| @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); | |
| html, | |
| body, | |
| [class*="stApp"], | |
| .stApp { | |
| font-family: "Inter", sans-serif ; | |
| } | |
| /* Prevent UI jitter/shaking caused by scrollbar appearing/disappearing */ | |
| [data-testid="stAppViewContainer"], | |
| [data-testid="stMain"], | |
| .stApp { | |
| overflow-y: scroll ; | |
| } | |
| /* Hide Streamlit top-right hamburger & footer */ | |
| #MainMenu { | |
| visibility: hidden; | |
| } | |
| header { | |
| visibility: hidden; | |
| } | |
| footer { | |
| visibility: hidden; | |
| } | |
| /* Smooth custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #cbd5e1; | |
| border-radius: 999px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #94a3b8; | |
| } | |
| /* Tighten spacing */ | |
| .st-emotion-cache-1y4p8pa { | |
| padding: 1rem 2rem; | |
| } | |
| /* Card-like blocks */ | |
| .stExpander, | |
| .stDataFrame, | |
| .stJson { | |
| border-radius: 12px ; | |
| border: 1px solid #e2e8f0 ; | |
| } | |
| /* Buttons */ | |
| .stButton > button { | |
| border-radius: 10px ; | |
| font-weight: 600 ; | |
| transition: | |
| transform 0.1s ease, | |
| opacity 0.2s ease ; | |
| } | |
| .stButton > button:active { | |
| transform: scale(0.97) ; | |
| } | |
| /* Primary buttons (Streamlit type=primary) */ | |
| .stButton > button[kind="primary"] { | |
| background: #000000 ; | |
| color: #ffffff ; | |
| border: none ; | |
| } | |
| .stButton > button[kind="primary"]:hover { | |
| background: #333333 ; | |
| } | |
| /* Secondary buttons */ | |
| .stButton > button[kind="secondary"] { | |
| background: #ffffff ; | |
| color: #000000 ; | |
| border: 1px solid #000000 ; | |
| } | |
| /* Inputs */ | |
| .stTextInput input, | |
| .stNumberInput input, | |
| .stSelectbox div[data-baseweb="select"] { | |
| border-radius: 8px ; | |
| border-color: #e2e8f0 ; | |
| } | |
| .stTextInput input:focus, | |
| .stNumberInput input:focus { | |
| border-color: #000000 ; | |
| box-shadow: 0 0 0 1px #000000 ; | |
| } | |
| /* Data editor */ | |
| [data-testid="stDataFrame"] td { | |
| color: #000000 ; | |
| } | |
| [data-testid="stDataFrame"] th { | |
| font-weight: 700 ; | |
| text-transform: uppercase; | |
| font-size: 0.8rem; | |
| color: #64748b ; | |
| } | |
| /* Images */ | |
| .stImage img { | |
| border-radius: 12px ; | |
| border: 1px solid #e2e8f0 ; | |
| } | |