Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??


A bright theme, but with toned down colors; contrast is high, but not stark. Vera (or Verdana) makes for excellent readability, and sparsely used Georgia provides eyecady.


A copy of the 2004-06-06 version is available as a proper theme in your Display Settings.

For newer versions, select the Blue Web-Safe Theme from your Display Settings and put;displaytype=displaycode;part=1 in the Link to external CSS stylesheet field.

For a demo, just go to my homenode, which force-injects my stylesheet for all visitors. (Thanks to jeffa for the inspiration. :-) )

If your browser supports CSS Level 2, the look will be consistent. Mozilla is compliant; IE5 is broken and IE6 probably is too. Otherwise a number of elements that have no class of their own will remain in the theme's default darker blue.


Updated to get rid of the various px font sizes; all font sizes are now relative. Also removed the font-size: smaller bits from various rules. They were there for the benefit of IE6, but made things look worse in other browsers. Added rules hiding behind the Holly hack to fix IE6 font size. No idea what IE7 does.
Added rules to widen the textarea in post/edit forms. The rule required for the reply form will need a second look as it has name="node", which also appears on the search field on the top of the page.
Fixed huge fonts for the title on section frontpages as per jarich's reply, and bolded the section title while I was at it.
I grew out of the Arial look. Now using Georgia for some large, prominent bits, but the default Bitstream Vera Sans everywhere else. Also deitalicized and right-aligned nodelet headers and removed the font-size: 1.1em on them.
Upon closer inspection, a lot of the HTML at PerlMonks has changed. Unfortunately, that includes handy CSS classes that were removed.. I made rather extensive changes, mostly dropping now useless classes but also adding some other bits. Also, added Bitstream Vera in one class I had overlooked before.
Now preferring the Bitstream Vera Fonts for those who have them installed. Updated the selector for the input box in the approval nodelet to reflect the (not so) new CSS id and class situation. Also added note to introductory text about implementing this stylesheet easily.
Updated to account for the recent changes.
Changed selector for consideration reason textinput in response to a recent class change.
The <h3 class="0"> is not there any longer. Submitted a patch to have a class applied to the heading in these cases and adjusted the stylesheet for them. Decided I didn't like white-space: nowrap on the title - too often, the node titles are too large to fit.
A whole lot of work, I like it quite a bit more now.
  • Got rid of the ugly fixed ##pt size definitions all over the place which overrode things like <small> tags - most annoying when people with large sigs courteously used such tags to reduce the screen real estate consumed, but also in other cases.
  • Added a [class="0"] specifier to the h3 and added a h3.superdoc style in order to affect only the node's title shown at the top but not other h3s throughout the page.
  • Verdanaized all appropriate form elements too - unfortunately they seem to require ##pt sizes to look right.
  • Other minor changes here, there and everywhere.
Restructured the text in this node. The <strike>s were getting messy. Found out (duh) the blue theme is still compulsory: the bgcolor selectors for the classless boxes only work when the colour is indeed #000066, which isn't the case with other themes.
Removed the width property from the the .code class. It caused pages with code posted in deep replies to have a horizontal scrollbar. I'm not sure you need to use the blue theme as a base at all anymore, but too lazy to check, and it doesn't hurt at any rate.
Applied a [bgcolor="#000066"] selector as defined by CSS Level 2 for otherwise classless tables, so their default darker blue can be overridden too.
Added a definition so that the input box in the consideration nodelet will appear with a pale red background, as long as your browser supports CSS2. No mistaking it for the chatterbox input that way.


body { color: #000; background-color: #eee; font-family: "Bitstream Vera Sans", Verdana, Arial, Lucida, Helvet +ica, sans-serif; } td, th { color: #000; font-family: "Bitstream Vera Sans", Verdana, Arial, Lucida, Helvet +ica, sans-serif; } a:link { color: #036; } a:visited { color: #06c; } h3.other, h3.superdoc, h3.categorized_answer, h3.categorized_question +{ font-size: 3em; font-style: italic; font-family: Georgia, serif; padding: 0.25em; } pre, tt { font-family: "Bitstream Vera Sans Mono", monospace; } tt { font-size: 1em; } font { font-size: inherit; font-family: inherit; } textarea { height: 25em; } input, select { margin: 3px; font-family: "Bitstream Vera Sans", Verdana, Arial, Lucida, Helvet +ica, sans-serif; } table[bgcolor="#000066"] { border: solid 1px black; background-color: #069; } .code { display: block; border: 1px solid #666; color: #069; padding: 1em; } td.section_title { color: #fff; background-color: #069; font-size: 2em; font-family: Georgia, serif; font-weight: bold; } tr.titlebar { background-color: #069; color: #fff; } tr.titlebar td { font-size: 1.5em; font-family: Georgia, serif; } tr.titlebar input#search_text { font-size: 0.3725em; margin-bottom: 0.5em; } table.nodelet_container { background-color: #069; } tbody.nodelet th, th.nodehead { color: #fff; background-color: #069; padding-right: 0.5em; text-align: right; } tbody.nodelet td, td.nodebody { background-color: #eee; } #approval_nodelet input[type="text"] { background: #fcc; } textarea[name="note_doctext"], input[name="note_title"] { font-family: monospace; width: 80%; } .spacer[height~="75"], a[href=""] { display: none; } * html body, * html td, * html th { font-size: smaller; }

Makeshifts last the longest.

In reply to Perl-blue theme by Aristotle
in thread PerlMonks CSS Examples by particle

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.