Commit ·
886d1bd
1
Parent(s): 3db64f4
style updates
Browse files
app.py
CHANGED
|
@@ -82,10 +82,11 @@ STYLE_BLOCK = """
|
|
| 82 |
.badge { display: inline-block; padding: 0 0.35em; border-radius: 0.4rem; font-size: 0.8em; margin-left: 0.3em; opacity: 0.9; }
|
| 83 |
.legend { display:flex; flex-wrap:wrap; gap:8px; margin: 0.5rem 0 1rem; }
|
| 84 |
.legend .swatch { width: 12px; height: 12px; border-radius: 3px; display:inline-block; margin-right:6px; }
|
| 85 |
-
.
|
| 86 |
-
.notice { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #332; }
|
| 87 |
</style>
|
| 88 |
"""
|
|
|
|
|
|
|
| 89 |
|
| 90 |
def build_legend(categories):
|
| 91 |
parts = ["<div class='legend'>"]
|
|
|
|
| 82 |
.badge { display: inline-block; padding: 0 0.35em; border-radius: 0.4rem; font-size: 0.8em; margin-left: 0.3em; opacity: 0.9; }
|
| 83 |
.legend { display:flex; flex-wrap:wrap; gap:8px; margin: 0.5rem 0 1rem; }
|
| 84 |
.legend .swatch { width: 12px; height: 12px; border-radius: 3px; display:inline-block; margin-right:6px; }
|
| 85 |
+
.notice { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #ffcccb; }
|
|
|
|
| 86 |
</style>
|
| 87 |
"""
|
| 88 |
+
# .hl-container { background: #ffffff; color: #000000; padding: 12px; border-radius: 8px; line-height: 1.7; }
|
| 89 |
+
|
| 90 |
|
| 91 |
def build_legend(categories):
|
| 92 |
parts = ["<div class='legend'>"]
|