Spaces:
Sleeping
Sleeping
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,6 +36,33 @@ st.markdown("""
|
|
| 36 |
text-align: right !important;
|
| 37 |
direction: rtl !important;
|
| 38 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
.rahyar-header {
|
| 41 |
background-color: #6a0dad;
|
|
@@ -114,6 +141,23 @@ st.markdown("""
|
|
| 114 |
padding-right: 15px;
|
| 115 |
border-right: 3px solid #6a0dad;
|
| 116 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
/* تنظیمات پایه برای همه دستگاهها */
|
| 118 |
* {
|
| 119 |
font-family: 'Vazir', sans-serif !important;
|
|
|
|
| 36 |
text-align: right !important;
|
| 37 |
direction: rtl !important;
|
| 38 |
}
|
| 39 |
+
|
| 40 |
+
/* ریست پیشفرض مرورگرها */
|
| 41 |
+
* {
|
| 42 |
+
margin: 0;
|
| 43 |
+
padding: 0;
|
| 44 |
+
box-sizing: border-box;
|
| 45 |
+
font-family: 'Vazir', sans-serif !important;
|
| 46 |
+
text-align: right !important;
|
| 47 |
+
direction: rtl !important;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/* رنگهای ثابت برای همه دستگاهها */
|
| 51 |
+
:root {
|
| 52 |
+
--primary-color: #6a0dad; # بنفش اصلی
|
| 53 |
+
--secondary-color: #f0e6ff; # بنفش روشن
|
| 54 |
+
--text-color: #333333; # متن تیره
|
| 55 |
+
--background-color: #ffffff; # سفید
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
/* اجتناب از تغییرات تم خودکار مرورگر */
|
| 59 |
+
@media (prefers-color-scheme: dark) {
|
| 60 |
+
:root {
|
| 61 |
+
--text-color: #333333 !important; # متن همیشه تیره
|
| 62 |
+
--background-color: #ffffff !important; # پسزمینه همیشه سفید
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
|
| 67 |
.rahyar-header {
|
| 68 |
background-color: #6a0dad;
|
|
|
|
| 141 |
padding-right: 15px;
|
| 142 |
border-right: 3px solid #6a0dad;
|
| 143 |
}
|
| 144 |
+
/* کلاسهای اصلی با رنگهای ثابت */
|
| 145 |
+
.rahyar-header {
|
| 146 |
+
background-color: var(--primary-color) !important;
|
| 147 |
+
color: white !important;
|
| 148 |
+
}
|
| 149 |
+
.price-container {
|
| 150 |
+
background-color: #f8f9fa !important;
|
| 151 |
+
border-right: 5px solid var(--primary-color) !important;
|
| 152 |
+
}
|
| 153 |
+
.rahyar-price {
|
| 154 |
+
color: var(--primary-color) !important;
|
| 155 |
+
}
|
| 156 |
+
.rahyar-btn {
|
| 157 |
+
background-color: var(--primary-color) !important;
|
| 158 |
+
color: white !important;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
/* تنظیمات پایه برای همه دستگاهها */
|
| 162 |
* {
|
| 163 |
font-family: 'Vazir', sans-serif !important;
|