Spaces:
Sleeping
Sleeping
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,12 +30,7 @@ st.markdown("""
|
|
| 30 |
font-family: 'Vazir';
|
| 31 |
src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff') format('woff');
|
| 32 |
}
|
| 33 |
-
|
| 34 |
-
* {
|
| 35 |
-
font-family: 'Vazir', sans-serif !important;
|
| 36 |
-
text-align: right !important;
|
| 37 |
-
direction: rtl !important;
|
| 38 |
-
}
|
| 39 |
|
| 40 |
/* ریست پیشفرض مرورگرها */
|
| 41 |
* {
|
|
@@ -62,44 +57,7 @@ st.markdown("""
|
|
| 62 |
--background-color: #ffffff !important; # پسزمینه همیشه سفید
|
| 63 |
}
|
| 64 |
}
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
.rahyar-header {
|
| 68 |
-
background-color: #6a0dad;
|
| 69 |
-
padding: 15px;
|
| 70 |
-
border-radius: 10px;
|
| 71 |
-
color: white;
|
| 72 |
-
margin-bottom: 20px;
|
| 73 |
-
text-align: center;
|
| 74 |
-
}
|
| 75 |
-
|
| 76 |
-
.price-container {
|
| 77 |
-
background-color: #f8f9fa;
|
| 78 |
-
border-radius: 10px;
|
| 79 |
-
padding: 15px;
|
| 80 |
-
margin: 15px 0;
|
| 81 |
-
border-right: 5px solid #6a0dad;
|
| 82 |
-
}
|
| 83 |
-
|
| 84 |
-
.rahyar-price {
|
| 85 |
-
color: #6a0dad;
|
| 86 |
-
font-size: 28px;
|
| 87 |
-
font-weight: bold;
|
| 88 |
-
text-align: center;
|
| 89 |
-
margin: 10px 0;
|
| 90 |
-
}
|
| 91 |
-
|
| 92 |
-
.rahyar-btn {
|
| 93 |
-
background-color: #6a0dad !important;
|
| 94 |
-
color: white !important;
|
| 95 |
-
border: none !important;
|
| 96 |
-
padding: 10px 20px !important;
|
| 97 |
-
border-radius: 8px !important;
|
| 98 |
-
font-weight: bold !important;
|
| 99 |
-
margin: 5px 0 !important;
|
| 100 |
-
width: 100% !important;
|
| 101 |
-
}
|
| 102 |
-
|
| 103 |
.likert-btn {
|
| 104 |
margin: 5px;
|
| 105 |
padding: 10px 15px;
|
|
@@ -158,41 +116,6 @@ st.markdown("""
|
|
| 158 |
color: white !important;
|
| 159 |
}
|
| 160 |
|
| 161 |
-
/* تنظیمات پایه برای همه دستگاهها */
|
| 162 |
-
* {
|
| 163 |
-
font-family: 'Vazir', sans-serif !important;
|
| 164 |
-
text-align: right !important;
|
| 165 |
-
direction: rtl !important;
|
| 166 |
-
box-sizing: border-box !important;
|
| 167 |
-
}
|
| 168 |
-
|
| 169 |
-
/* تنظیمات مخصوص موبایل */
|
| 170 |
-
@media only screen and (max-width: 768px) {
|
| 171 |
-
.rahyar-price {
|
| 172 |
-
font-size: 24px !important; /* کاهش اندازه فونت قیمت در موبایل */
|
| 173 |
-
}
|
| 174 |
-
.price-container {
|
| 175 |
-
padding: 10px !important; /* کاهش padding در موبایل */
|
| 176 |
-
}
|
| 177 |
-
.folium-map {
|
| 178 |
-
height: 300px !important; /* کاهش ارتفاع نقشه در موبایل */
|
| 179 |
-
}
|
| 180 |
-
}
|
| 181 |
-
|
| 182 |
-
/* تنظیمات مخصوص دسکتاپ */
|
| 183 |
-
@media only screen and (min-width: 769px) {
|
| 184 |
-
.folium-map {
|
| 185 |
-
height: 400px !important; /* ارتفاع ثابت برای دسکتاپ */
|
| 186 |
-
}
|
| 187 |
-
:root {
|
| 188 |
-
color-scheme: only light !important; # غیرفعال کردن تم تاریک
|
| 189 |
-
}
|
| 190 |
-
body {
|
| 191 |
-
background-color: white !important; # پسزمینه سفید اجباری
|
| 192 |
-
}
|
| 193 |
-
.stApp {
|
| 194 |
-
background-color: white !important;
|
| 195 |
-
}
|
| 196 |
|
| 197 |
</style>
|
| 198 |
""", unsafe_allow_html=True)
|
|
|
|
| 30 |
font-family: 'Vazir';
|
| 31 |
src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff') format('woff');
|
| 32 |
}
|
| 33 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
/* ریست پیشفرض مرورگرها */
|
| 36 |
* {
|
|
|
|
| 57 |
--background-color: #ffffff !important; # پسزمینه همیشه سفید
|
| 58 |
}
|
| 59 |
}
|
| 60 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
.likert-btn {
|
| 62 |
margin: 5px;
|
| 63 |
padding: 10px 15px;
|
|
|
|
| 116 |
color: white !important;
|
| 117 |
}
|
| 118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
|
| 120 |
</style>
|
| 121 |
""", unsafe_allow_html=True)
|