People will have differing views on this. I personally don't mind the "white on red"; however, plain red text (on my customised dark-grey background) looked jarring to me and was difficult to read.

I've just checked the source code for a quip I got. It looked like this:

<td class="nodelet_body"> ... <br> You gained 1 experience point. Didn't see that coming did ya? ... </td>

I think it would be good if the quip was isolated in its own <span>, with a class attribute indicating the type of quip. I'll suggest the following class attribute values:

Doing this will allow custom colours for quips via CSS in Display Settings. And, of course, all sorts of other decorations could be applied.

As an example, the source code (above) would become:

<td class="nodelet_body"> ... <br> You gained 1 experience point. <span class="quip-xp">Didn't see that c +oming did ya?</span> ... </td>

CSS hints for anyone who needs them:

If you want all quips to look the same, you can use CSS like this:

span[class^="quip-"] { /* wanted properties & values here */ }

If you want (some of) them to look different, add separate rules; something like this:

.quip-xp, .quip-cb { /* wanted properties & values here */ } .quip-mb { /* wanted properties & values here */ }

— Ken


In reply to Re^2: Promoting old (2009) node: "I want more monkquips" [CSS] by kcott
in thread Promoting old (2009) node: "I want more monkquips" by kcott

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.