Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Nodelet CSS/Format changes

by BigLug (Chaplain)
on Oct 07, 2004 at 05:40 UTC ( #397232=pmdevtopic: print w/ replies, xml ) Need Help??
BigLug has raised the following topic:

I'd like to suggest an update to all nodelets that contain lists. The PMDev and SiteDocClan nodelets have all their links bunched up whereas other nodlets (like Find Nodes) have one link per line. I'd like to make that adjustable on a user's style sheet.

Here's how:

All nodelets with lists become lists:

<div id=nodelet-list> <ul> <li>Nodes you wrote</li> <li>Super Search</li> ... </ul> </div>
Now anyone with a default style sheet will see:
  • Nodes you wrote
  • Super Search
And, with just a little tweak to one's stylesheet like so:
#nodelet-list li { display: inline; border-left: 1px solid black; padding-left: 8px; padding-right: 8px; }
Our list looks like:
| Nodes you wrote | Super Search | ...
(Faked because I'm not allowed to put a style tag here)

What do people think? I've volunteering for this one too if it's something people want. It could also be possible to have different nodelets with different styles... although I'd have to play.


Cheers!
Rick
If this is a root node: Before responding, please ensure your clue bit is set.
If this is a reply: This is a discussion group, not a helpdesk ... If the discussion happens to answer a question you've asked, that's incidental.

Comment on Nodelet CSS/Format changes
Select or Download Code
Re: Nodelet CSS/Format changes
by demerphq (Chancellor) on Oct 07, 2004 at 08:35 UTC

    In general my answer is "yes-please". I also would like to see most or all of the nodelet links have short and long forms (or rather short and very short) and have that be switchable as well.


    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi

      Flux8


Re: Nodelet CSS/Format changes (preserve)
by tye (Cardinal) on Oct 07, 2004 at 16:58 UTC

    If you do this, please also update the default PM CSS to preserve (roughly) the current look. The appearance of bullets in nodelets like Find Nodes is probably an improvement, but I don't want to force every person to individually restore the compact nodelets to being compact by hand -- you should do that for them if you want this change.

    Note that requiring cabal members to use a browser that supports CSS doesn't bother me. But if this made PM look a lot different (not in a good way) for people w/o CSS support, then I'd be against it.

    - tye        

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 having an uproarious good time at the Monastery: (5)
As of 2014-07-26 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls