Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +38 -0
static/style.css
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* static/style.css */
|
| 2 |
+
|
| 3 |
+
/* Give the app a more professional, clean feel */
|
| 4 |
+
body, #root {
|
| 5 |
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
| 6 |
+
background-color: #f7fafc; /* A light grey background */
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
/* Style the main container */
|
| 10 |
+
.gradio-container {
|
| 11 |
+
max-width: 960px !important; /* A comfortable reading width */
|
| 12 |
+
margin: auto !important;
|
| 13 |
+
border-radius: 12px;
|
| 14 |
+
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
/* Style the output markdown for better readability */
|
| 18 |
+
.prose {
|
| 19 |
+
line-height: 1.7;
|
| 20 |
+
color: #333;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.prose h1, .prose h2, .prose h3 {
|
| 24 |
+
color: #1a202c;
|
| 25 |
+
font-weight: 600;
|
| 26 |
+
border-bottom: 1px solid #e2e8f0;
|
| 27 |
+
padding-bottom: 0.3em;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
/* Make the disclaimer stand out */
|
| 31 |
+
.prose strong:first-of-type {
|
| 32 |
+
display: block;
|
| 33 |
+
background-color: #fffbeb;
|
| 34 |
+
color: #b45309;
|
| 35 |
+
padding: 1em;
|
| 36 |
+
border-radius: 8px;
|
| 37 |
+
border: 1px solid #fde68a;
|
| 38 |
+
}
|