Spaces:
Sleeping
Sleeping
Create custom.css
Browse files- custom.css +6 -77
custom.css
CHANGED
|
@@ -1,80 +1,9 @@
|
|
| 1 |
-
/*
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
body, #marimo-app *, .marimo-output *, .marimo-markdown *, .marimo-ui-element * {
|
| 5 |
-
font-family: 'Garamond', 'EB Garamond', serif !important;
|
| 6 |
-
}
|
| 7 |
-
|
| 8 |
-
/* Style for why-it-works and resources accordions */
|
| 9 |
-
.technique-why-it-works,
|
| 10 |
-
.technique-resources {
|
| 11 |
-
padding: 15px !important;
|
| 12 |
-
border-radius: 8px !important;
|
| 13 |
-
}
|
| 14 |
-
|
| 15 |
-
.technique-why-it-works p,
|
| 16 |
-
.technique-resources p {
|
| 17 |
-
color: #4a5568 !important;
|
| 18 |
-
}
|
| 19 |
-
|
| 20 |
-
.technique-resources a {
|
| 21 |
-
color: #4a5568 !important;
|
| 22 |
-
}
|
| 23 |
-
|
| 24 |
-
/* Keep existing styles for tabs */
|
| 25 |
-
.technique-bad-example {
|
| 26 |
-
background-color: #fffbeb !important;
|
| 27 |
-
border: 1px solid #f0c419 !important;
|
| 28 |
-
}
|
| 29 |
-
|
| 30 |
-
.technique-good-example {
|
| 31 |
-
background-color: #f8fdf7 !important;
|
| 32 |
-
border: 1px solid #4caf50 !important;
|
| 33 |
-
}
|
| 34 |
-
|
| 35 |
-
.technique-explanation {
|
| 36 |
-
background-color: #f0f7fc !important;
|
| 37 |
-
border: 1px solid #a3c6e0 !important;
|
| 38 |
-
}
|
| 39 |
-
|
| 40 |
-
/* Style for tab headers */
|
| 41 |
-
.technique-bad-example h4 {
|
| 42 |
-
color: #4a5568 !important;
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
.technique-good-example h4 {
|
| 46 |
-
color: #4a5568 !important;
|
| 47 |
-
}
|
| 48 |
-
|
| 49 |
-
.technique-explanation h4 {
|
| 50 |
-
color: #4a5568 !important;
|
| 51 |
-
}
|
| 52 |
-
|
| 53 |
-
/* Add background color to accordion panels and style accordion titles */
|
| 54 |
-
.marimo-accordion-panel {
|
| 55 |
-
background-color: #fff0f0 !important;
|
| 56 |
-
}
|
| 57 |
-
|
| 58 |
-
/* Style for accordion buttons/titles - make them slightly bigger with black text */
|
| 59 |
-
.marimo-accordion button {
|
| 60 |
-
color: #000000 !important;
|
| 61 |
-
font-size: 1.1em !important;
|
| 62 |
-
font-weight: 500 !important;
|
| 63 |
-
background-color: #fff0f0 !important;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
/* Style for expanded accordion state */
|
| 67 |
-
.marimo-accordion [data-state="open"] button {
|
| 68 |
-
color: #000000 !important;
|
| 69 |
-
background-color: #fff0f0 !important;
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
/* Additional selectors to ensure Garamond is applied everywhere */
|
| 73 |
-
input, textarea, button, select, label, a, h1, h2, h3, h4, h5, h6 {
|
| 74 |
-
font-family: 'Garamond', 'EB Garamond', serif !important;
|
| 75 |
}
|
| 76 |
|
| 77 |
-
/*
|
| 78 |
-
|
| 79 |
-
|
| 80 |
}
|
|
|
|
| 1 |
+
/* Override the default slide height */
|
| 2 |
+
.mo-slides-theme {
|
| 3 |
+
height: 100vh !important; /* Full viewport height */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
+
/* Change the slide container to align items to top */
|
| 7 |
+
.swiper-slide > div {
|
| 8 |
+
align-items: flex-start !important; /* Align flex items to top */
|
| 9 |
}
|