Spaces:
Running
Running
Create custom.css
Browse files- custom.css +71 -0
custom.css
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* custom.css for marimo notebook */
|
| 2 |
+
|
| 3 |
+
/* Set base font to Garamond for the entire document */
|
| 4 |
+
body, #marimo-app * {
|
| 5 |
+
font-family: 'Garamond', 'EB Garamond', serif !important;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
/* Style for why-it-works and resources accordions */
|
| 10 |
+
.technique-why-it-works,
|
| 11 |
+
.technique-resources {
|
| 12 |
+
padding: 15px !important;
|
| 13 |
+
border-radius: 8px !important;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.technique-why-it-works p,
|
| 17 |
+
.technique-resources p {
|
| 18 |
+
color: #4a5568 !important;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.technique-resources a {
|
| 22 |
+
color: #4a5568 !important;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
/* Keep existing styles for tabs */
|
| 26 |
+
.technique-bad-example {
|
| 27 |
+
background-color: #fffbeb !important;
|
| 28 |
+
border: 1px solid #f0c419 !important;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.technique-good-example {
|
| 32 |
+
background-color: #f8fdf7 !important;
|
| 33 |
+
border: 1px solid #4caf50 !important;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.technique-explanation {
|
| 37 |
+
background-color: #f0f7fc !important;
|
| 38 |
+
border: 1px solid #a3c6e0 !important;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
/* Style for tab headers */
|
| 42 |
+
.technique-bad-example h4 {
|
| 43 |
+
color: #4a5568 !important;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.technique-good-example h4 {
|
| 47 |
+
color: #4a5568 !important;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.technique-explanation h4 {
|
| 51 |
+
color: #4a5568 !important;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
/* Add background color to accordion panels and style accordion titles */
|
| 55 |
+
.marimo-accordion-panel {
|
| 56 |
+
background-color: #fff0f0 !important;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
/* Style for accordion buttons/titles - make them slightly bigger with black text */
|
| 60 |
+
.marimo-accordion button {
|
| 61 |
+
color: #000000 !important;
|
| 62 |
+
font-size: 1.1em !important;
|
| 63 |
+
font-weight: 500 !important;
|
| 64 |
+
background-color: #fff0f0 !important;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
/* Style for expanded accordion state */
|
| 68 |
+
.marimo-accordion [data-state="open"] button {
|
| 69 |
+
color: #000000 !important;
|
| 70 |
+
background-color: #fff0f0 !important;
|
| 71 |
+
}
|