I believe the you want the CSS id selector "#writeup" for the initial post, and the CSS class selector ".reply-body" or ".notes" for replies. (".reply-body" seems to be more specific, so it is probably the one you want there.)

For sizing, you can do something like 125%, 1.5em or 1.75rem (1.25x the font size of the parent element, 1.5x the font size of the parent element or 1.75x the font size of the root HTML element (<html>), respectively), or specify a size such as "medium", "large", "x-large", or "xx-large" (there's also "xx-small", "x-small", and "small").

The following example should increase the size of an initial writeup to 1.5x default, and responses to 1.25x default:

/* Guesswork from inspecting a random page. */ /* writeup - class for original posts (?) */ #writeup { font-size: 1.5em; /* or 1.5rem, or 150% */ } /* reply-body - class for responses (?) */ #reply-body { font-size: 1.25em; /* or 1.25rem, or 125% */ }

Hope that helps.


In reply to Re: css for bigger font by atcroft
in thread css for bigger font by slowsort

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.