Spaces:
Running
Running
Commit ·
100fc99
1
Parent(s): 0ca2db3
simplyigin and ignoring dark mode
Browse files
style.css
CHANGED
|
@@ -1,45 +1,29 @@
|
|
| 1 |
-
/*
|
|
|
|
|
|
|
| 2 |
.title-block, .description-block, .article-block {
|
| 3 |
-
background-color: #f0f0f0 !important; /* Light background for light mode */
|
| 4 |
border-radius: 10px;
|
| 5 |
padding: 20px;
|
| 6 |
margin-bottom: 20px;
|
| 7 |
text-align: center;
|
| 8 |
}
|
| 9 |
|
|
|
|
| 10 |
.title-block {
|
| 11 |
font-size: 28px;
|
| 12 |
font-weight: bold;
|
| 13 |
-
color
|
| 14 |
}
|
| 15 |
|
|
|
|
| 16 |
.description-block {
|
| 17 |
font-size: 18px;
|
| 18 |
-
|
| 19 |
}
|
| 20 |
|
|
|
|
| 21 |
.article-block {
|
| 22 |
font-size: 16px;
|
| 23 |
margin-top: 30px;
|
| 24 |
-
|
| 25 |
-
}
|
| 26 |
-
|
| 27 |
-
/* Dark mode styling */
|
| 28 |
-
@media (prefers-color-scheme: dark) {
|
| 29 |
-
.title-block, .description-block, .article-block {
|
| 30 |
-
background-color: #2b2b2b !important; /* Dark background for dark mode */
|
| 31 |
-
color: #f0f0f0 !important; /* Light text for dark mode */
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
.title-block {
|
| 35 |
-
color: #e0e0e0 !important; /* Light text for dark mode */
|
| 36 |
-
}
|
| 37 |
-
|
| 38 |
-
.description-block {
|
| 39 |
-
color: #d0d0d0 !important; /* Lighter text for dark mode */
|
| 40 |
-
}
|
| 41 |
-
|
| 42 |
-
.article-block {
|
| 43 |
-
color: #c0c0c0 !important; /* Even lighter text for dark mode */
|
| 44 |
-
}
|
| 45 |
}
|
|
|
|
| 1 |
+
/* Minimal custom styling, avoiding explicit background and text colors */
|
| 2 |
+
|
| 3 |
+
/* General block styling */
|
| 4 |
.title-block, .description-block, .article-block {
|
|
|
|
| 5 |
border-radius: 10px;
|
| 6 |
padding: 20px;
|
| 7 |
margin-bottom: 20px;
|
| 8 |
text-align: center;
|
| 9 |
}
|
| 10 |
|
| 11 |
+
/* Title block */
|
| 12 |
.title-block {
|
| 13 |
font-size: 28px;
|
| 14 |
font-weight: bold;
|
| 15 |
+
/* No color or background settings to let Gradio handle the theme */
|
| 16 |
}
|
| 17 |
|
| 18 |
+
/* Description block */
|
| 19 |
.description-block {
|
| 20 |
font-size: 18px;
|
| 21 |
+
/* No color or background settings */
|
| 22 |
}
|
| 23 |
|
| 24 |
+
/* Article block */
|
| 25 |
.article-block {
|
| 26 |
font-size: 16px;
|
| 27 |
margin-top: 30px;
|
| 28 |
+
/* No color or background settings */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
}
|