Skip to content

Commit

Permalink
Merge pull request #2337 from dbt-labs/discourse-component-update
Browse files Browse the repository at this point in the history
Clarify that discourse topics are user generated
  • Loading branch information
JKarlavige authored Nov 1, 2022
2 parents 385997a + f30c429 commit 5ca15f0
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions website/src/components/discourse/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -31,6 +43,9 @@
font-weight: 600;
font-size: 18px;
}
[data-theme="dark"] .discourseTopics ul li a {
color: #91D0CB;
}
.discourseTopics blockquote {
margin-bottom: 0;
}
Expand Down

0 comments on commit 5ca15f0

Please sign in to comment.