Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

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

Ever since I wrote this node I have been meaning to make a PerlMonks light yellow theme... well here it is :) I used Aristotle's theme as a basis and worked from there. I originally intended to use it with the default theme but found it looks really good with the red theme.

It still needs a little work - the page width barfs occaisionaly resulting in a need to use the horizontal scroll bar and I haven't managed to change the background colour for the body of sub nodes without breaking everything. All in all I find it usable and soft on the eyes :) Not too bad for a complete CSS novice any-way... /msg me or reply if you have any clues/ideas for fixes.

/*Modified Aristotle CSS, Use with the red theme*/ body { color: #000000; background-color: #FFFFF2; font-size: 12pt; font-family: Verdana, Arial, Lucida, Helvetica, sans-serif; } td { color: #000000; font-size: 12px; /*font-family: Verdana, Arial, Lucida, Helvetica, sans-serif;*/ } tr.titlebar { background-color: #069; } tr.section_title, td.section_title { color: #ffffff; background-color: #069; font-family: Arial, Lucida, Helvetica, sans-serif; font-size: 18pt; font-weight: bold; font-style: italic; } tr.post_head { background-color: #ddd; } tr.post_head a { font-weight: bold; } tr.post_body td { padding-bottom: 2em; } td.nodelet_body { background-color: #FFFFF2; font-size: 12px; } tr.highlight { background-color: #ddd; } table.nodelet_container { background-color: #069; } td.nodelet_body { background-color: #FFFFF2; font-size: 11pt; } th.nodelet_head { font-family: Arial, Lucida, Helvetica, sans-serif; font-size: 14pt; font-weight: bold; font-style: italic; color: #fff; background-color: #069; } a:link { color: #CC0000; text-decoration: underline; } a:visited { color: #000055; text-decoration: underline; } a:hover { color: red; text-decoration: underline; } form { display: inline } /* Code blocks are boxed with light yellow background */ pre tt { display: block; background-color: #FFFFF2; border: 1px solid #000066; width: 90%; padding: 0px 2ex 2ex 2ex; }

Update: the latest version is always here here.

--
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho


In reply to Re: PerlMonks CSS Examples by greenFox
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":



  • 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 or How to display code and escape characters are good places to start.
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 chilling in the Monastery: (4)
As of 2021-05-13 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (134 votes). Check out past polls.

    Notices?