diff --git a/website/src/components/discourse/styles.module.css b/website/src/components/discourse/styles.module.css index 4e29cf04b24..5aa0c79e924 100644 --- a/website/src/components/discourse/styles.module.css +++ b/website/src/components/discourse/styles.module.css @@ -4,6 +4,12 @@ display: flex; flex-direction: column; align-items: flex-start; + background: var(--ifm-menu-color-background-active); + padding: 20px; + border-radius: 10px; +} +[data-theme="dark"] .discourseTopics { + background: #333B47; } .discourseTopics:last-of-type { margin-bottom: 0; @@ -16,13 +22,19 @@ } .discourseTopics ul { list-style: none; - margin: 0 0 1rem; + margin: 0; padding: 0; width: 100%; } +.discourseTopics blockquote { + border-left: 1px solid var(--ifm-toc-border-color); +} .discourseTopics ul li { padding: 1rem 0; - border-bottom: 2px solid var(--color-off-white); + border-bottom: 1px solid var(--ifm-toc-border-color); +} +.discourseTopics ul li:first-of-type { + padding-top: 0; } .discourseTopics ul li:last-of-type { border-bottom: none; @@ -31,6 +43,9 @@ font-weight: 600; font-size: 18px; } +[data-theme="dark"] .discourseTopics ul li a { + color: #91D0CB; +} .discourseTopics blockquote { margin-bottom: 0; }