About a week ago, there was discussion in the CB about how to modify the appearance of all content on PerlMonks authored by a given monk. For example, turning all of bart's posts pink or hiding all anonymonk content (both actual suggestions from that discussion).

While several people pointed out that those could be done with various CSS tricks, it was also noticed that there are at least six different classes in use within the Monastery used to identify an author by their user number (####):

node-from-#### Newest Nodes nnt-auth-#### R.A.T.s pmnote-#### Replies chatfrom_#### Chatterbox auth-#### Best/Worst Nodes user-#### Online Users (not strictly "authoring")

It would be nice (IMO) if these could be unified into a single class name, but not being devilish and therefore not having a clue how much effort (or side-effects) that would cause, I'll settle for a quick example. This won't let you flag everything (for instance, results in Super Search are not tagged for per-author styling, nor are the section summary pages like The Monastery Gates), but it covers a large fraction of the content a user can post. Place the following CSS in your Display Settings (scroll down to the textbox labelled "On-Site CSS Markup") to turn all of NodeReaper's content (that you can) bold:

.node-from-52855 {font-weight:bold;} .nnt-auth-52855 {font-weight:bold;} .pmnote-52855 {font-weight:bold;} .chatfrom_52855 {font-weight:bold;} .auth-52855 {font-weight:bold;}

Update: ambrus notes that this can be contracted still further.

Update: duelafn golfs it down more (but also gets signatures in the process).


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

In reply to Author-based Stylin' by idsfa

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.