Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -209,6 +209,40 @@ st.markdown("""
|
|
| 209 |
.stSelectbox > div > div {
|
| 210 |
padding: 8px !important;
|
| 211 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 212 |
}
|
| 213 |
</style>
|
| 214 |
""", unsafe_allow_html=True)
|
|
|
|
| 209 |
.stSelectbox > div > div {
|
| 210 |
padding: 8px !important;
|
| 211 |
}
|
| 212 |
+
/* استایلهای مخصوص موبایل */
|
| 213 |
+
@media (max-width: 768px) {
|
| 214 |
+
/* تنظیمات عمومی فرم */
|
| 215 |
+
.stTextInput>label,
|
| 216 |
+
.stNumberInput>label,
|
| 217 |
+
.stSelectbox>label {
|
| 218 |
+
font-size: 14px !important;
|
| 219 |
+
padding: 4px 0 !important;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
/* باکسهای ورودی */
|
| 223 |
+
.stTextInput input,
|
| 224 |
+
.stNumberInput input,
|
| 225 |
+
.stSelectbox select {
|
| 226 |
+
font-size: 14px !important;
|
| 227 |
+
padding: 8px 12px !important;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
/* دکمهها */
|
| 231 |
+
.stButton>button {
|
| 232 |
+
font-size: 14px !important;
|
| 233 |
+
padding: 8px 16px !important;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
/* عنوانها */
|
| 237 |
+
.stMarkdown h3 {
|
| 238 |
+
font-size: 16px !important;
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
/* متنهای توضیحی */
|
| 242 |
+
.stMarkdown p {
|
| 243 |
+
font-size: 13px !important;
|
| 244 |
+
}
|
| 245 |
+
}
|
| 246 |
}
|
| 247 |
</style>
|
| 248 |
""", unsafe_allow_html=True)
|