Skip to content

Commit d47a807

Browse files
Flowchart text color (#340)
* Update CSS * STY: Remove inline formatting From local testing it appears that the CSS overrides the inline style, i.e. the color directive could have been set to purple #800080 and it would still appear as #222 (off-black) or whatever is defined in cusstom.css for mermaid text. So I removed this so that it is clear that the flowchart text color is derived from the CSS file
1 parent 8dacf77 commit d47a807

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

about/get-involved.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ flowchart TD
4141
D --> E["Identify a lead contact\nat your institution"]
4242
E --> F["Welcome aboard! 🎉"]
4343
44-
style A fill:#fef3c7,color:#000,stroke:#fef3c7
45-
style F fill:#fef3c7,color:#000,stroke:#fef3c7
44+
style A fill:#fef3c7,stroke:#fef3c7
45+
style F fill:#fef3c7,stroke:#fef3c7
4646
```
4747

4848
:::

static/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ footer.article-grid {
485485

486486
/* Ensure mermaid flowchart node text is readable */
487487
.mermaid-centered .nodeLabel p {
488-
color: #222 !important;
488+
color: #757575 !important;
489489
}
490490

491491
/* ── Blog cards ─────────────────────────────────────────────────── */

0 commit comments

Comments
 (0)