Spaces:
Sleeping
Sleeping
updated body background
Browse files
app.py
CHANGED
@@ -62,12 +62,16 @@ def view_model(selected_models):
|
|
62 |
# CSS to style the Gradio components and HTML content
|
63 |
custom_css = """
|
64 |
body {
|
65 |
-
background-
|
66 |
-
background-
|
|
|
67 |
background-attachment: fixed;
|
68 |
height: 100%; /* Ensure body height is 100% of the viewport */
|
69 |
margin: 0;
|
70 |
overflow-y: auto; /* Allow vertical scrolling */
|
|
|
|
|
|
|
71 |
}
|
72 |
.custom-row {
|
73 |
display: flex;
|
@@ -85,7 +89,7 @@ body {
|
|
85 |
|
86 |
/* Custom border styles for all Gradio components */
|
87 |
.gradio-container, .gradio-row, .gradio-column, .gradio-input, .gradio-image, .gradio-checkgroup, .gradio-button, .gradio-markdown {
|
88 |
-
border: 3px
|
89 |
border-radius: 8px !important; /* Rounded corners */
|
90 |
}
|
91 |
|
|
|
62 |
# CSS to style the Gradio components and HTML content
|
63 |
custom_css = """
|
64 |
body {
|
65 |
+
background-color: #f4f4f4; /* Light grey background */
|
66 |
+
background-image: radial-gradient(circle, #dcdcdc 1px, transparent 1px); /* Dotted pattern */
|
67 |
+
background-size: 20px 20px; /* Size of the dots */
|
68 |
background-attachment: fixed;
|
69 |
height: 100%; /* Ensure body height is 100% of the viewport */
|
70 |
margin: 0;
|
71 |
overflow-y: auto; /* Allow vertical scrolling */
|
72 |
+
color: #E6E6FA; /* Text color */
|
73 |
+
font-family: 'Papyrus', cursive; /* Font */
|
74 |
+
font-size: 14px; /* Font size */
|
75 |
}
|
76 |
.custom-row {
|
77 |
display: flex;
|
|
|
89 |
|
90 |
/* Custom border styles for all Gradio components */
|
91 |
.gradio-container, .gradio-row, .gradio-column, .gradio-input, .gradio-image, .gradio-checkgroup, .gradio-button, .gradio-markdown {
|
92 |
+
border: 3px #800000 !important; /* Border width and color */
|
93 |
border-radius: 8px !important; /* Rounded corners */
|
94 |
}
|
95 |
|