Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Fixed dark mode + mobile
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks(css='''
|
|
53 |
.gr-group {direction: rtl;}
|
54 |
.chatbot{text-align:right;}
|
55 |
.dicta-header {
|
56 |
-
background-color:
|
57 |
border-radius: 10px;
|
58 |
padding: 20px;
|
59 |
text-align: center;
|
@@ -61,6 +61,12 @@ with gr.Blocks(css='''
|
|
61 |
flex-direction: row;
|
62 |
align-items: center;
|
63 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
.chatbot.prose {
|
66 |
font-size: 1.2em;
|
@@ -72,7 +78,6 @@ with gr.Blocks(css='''
|
|
72 |
}
|
73 |
|
74 |
.dicta-intro-text {
|
75 |
-
color: #333; /* Replace with desired text color */
|
76 |
margin-bottom: 20px;
|
77 |
text-align: center;
|
78 |
display: flex;
|
|
|
53 |
.gr-group {direction: rtl;}
|
54 |
.chatbot{text-align:right;}
|
55 |
.dicta-header {
|
56 |
+
background-color: var(--input-background-fill); /* Replace with desired background color */
|
57 |
border-radius: 10px;
|
58 |
padding: 20px;
|
59 |
text-align: center;
|
|
|
61 |
flex-direction: row;
|
62 |
align-items: center;
|
63 |
}
|
64 |
+
|
65 |
+
@media (max-width: 768px) {
|
66 |
+
.dicta-header {
|
67 |
+
flex-direction: column; /* Change to vertical for mobile devices */
|
68 |
+
}
|
69 |
+
}
|
70 |
|
71 |
.chatbot.prose {
|
72 |
font-size: 1.2em;
|
|
|
78 |
}
|
79 |
|
80 |
.dicta-intro-text {
|
|
|
81 |
margin-bottom: 20px;
|
82 |
text-align: center;
|
83 |
display: flex;
|