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

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
since the body of my discussion topic was lost to a bug that vroom says should now be fixed, i'll reproduce my original text here:

so, here's my idea: along the lines of the other custom markup provided on Perl Monks, like <CODE> and now <READMORE>, i propose that we be allowed the possibility of accessing the colors for the current theme as variables through some sort of extended HTML.

my initial idea was to use entities, for example &pm.bgcolor1;, &pm.fgcolor1;, &pm.bgcolor2;, or &pm.fgcolor2;. this is not the optimal solution, since the theme colors seem to be divided into primary and secondary sets which should ideally be kept together. but, without the site on the whole using CSS and doing something like <TABLE CLASS="pm_secondary">, i can't see how to do it.

the whole idea may simply be infeasible or simply too unwieldy, so i'm interested in getting some feedback.


In reply to RE: Variables for Theme Colors by mdillon
in thread Variables for Theme Colors by mdillon

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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2021-09-19 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?