Change the style of a wiki post

For Wiki customisations to work well in Private Messages with the new changes, I suggest a slight tweak to the CSS so that it targets .cooked:

// customises wiki posts
.wiki .topic-body .cooked {
    background-color: #e8f9fd;
    animation: none;
}
.post-info.edits .wiki::before {
    content: "Wiki Post";
    margin-right: 5px;
    font-weight: bold;
}

I’ll pop this in the OP too.


Later…
And for the hell of it I turned it into the Theme Component with the ability to customise the background color and the text.

2 Likes