Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions css/markdown-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,20 @@
.markdown-body {
overflow-wrap: break-word;
}

/*
* Text colour. Markdown has none, so migrated content keeps the colours
* authors picked on the forum as <span class="text-…">, mapped to this
* palette. The website renders only these classes (App\Markdown\TextColours
* lists the same colours); keep the two in step.
*/
.markdown-body .text-red { color: #bf0000; }
.markdown-body .text-darkred { color: #800000; }
.markdown-body .text-orange { color: #dd6900; }
.markdown-body .text-green { color: #008000; }
.markdown-body .text-blue { color: #0040bf; }
.markdown-body .text-navy { color: #000080; }
.markdown-body .text-purple { color: #800080; }

/* Underline, which Markdown lacks as well (App\Markdown\TextStyles). */
.markdown-body .text-underline { text-decoration: underline; }
Loading