Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Description

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.

Usage

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 index.pl?node_id=167905;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.

Changelog

2007-04-16
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.
2004-06-06
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.
2004-02-20
Fixed huge fonts for the title on section frontpages as per jarich's reply, and bolded the section title while I was at it.
2004-01-11
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.
2004-01-10
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.
2004-01-09
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.
2003-02-13
Updated to account for the recent changes.
2003-01-18
Changed selector for consideration reason textinput in response to a recent class change.
2003-01-04
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.
2002-12-30
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.
2002-12-22
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.
2002-12-20
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.
Unknown
Applied a [bgcolor="#000066"] selector as defined by CSS Level 2 for otherwise classless tables, so their default darker blue can be overridden too.
Unknown
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.

Enjoy

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="http://pair.com"] { 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

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (6)
    As of 2014-12-22 01:36 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (110 votes), past polls