Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
i've updated my example for the new nodelet css tags. it should be clear from my example how to take advantage of these tags for yourself.

/* make the body grey with blue text, sans-serif font */ body, td, tr { color: #457; background: #ddd; } body { font-family:Verdana,Arial,Helvetica,sans-serif; font-size: 10pt +; } /* give tables a light blue border, and make headings stand out */ table { color: #457; background: #9ac; } table td h3 { color: #457; background: #9ac; padding: 0.5em;} /* color links */ a, a font { color: #457; background: #eee; text-decoration: none; } a:hover { color: #eee; background: #457; } /* inline code blocks are dark blue on light blue, full code blocks are dark blue on light grey, bordered */ pre { color:#457; background:#eee; padding: 0.5em; border: 1px solid # +457; } tt { color:#ddd; background:#9ac; padding: 0 0.5em; } pre tt { color: #457; background: transparent; border: none; } /* override <font>...</font> tags */ font, b, strong { color: #457; background: transparent; } /* err... um... nothing to see here! */ layer, iframe { display: none; } /* make small fonts readable */ small { font-size: 8pt; } smaller { font-size: 7pt; } /* nodelet settings */ tr.nodelet_head { display:none; } /* who needs em? */ td.nodelet_body { font-size: 7pt; font-weight: normal; background: #dd +d; } td.nodelet_body a { background: #ddd; } td.nodelet_body a:hover { color: #ddd; background: #457; } #XP_Nodelet td b { font-size: 10pt; font-weight: bold; } #Chatterbox td { font-size: 8pt; font-weight: normal; } #Chatterbox a, #approval_nodelet a { display: inline; font-size: 7pt; +font-weight: bold; } #Other_Users td { display: block; } /* clearpixel-- still takes up space with images turned off in setting +s */ img { display: none; } /* but i do want home node pictures */ table table img { display: inline; } /* i don't browse full screen to have a small textarea :) */ textarea { width: 100%; height: 300px; }

~Particle ;


In reply to (new and improved) Re: PerlMonks CSS Examples by particle
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 studying the Monastery: (13)
    As of 2014-07-14 17:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      When choosing user names for websites, I prefer to use:








      Results (269 votes), past polls