Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

'Bare' display style now supports css styling

by jdporter (Paladin)
on Mar 22, 2015 at 17:24 UTC ( [id://1120900]=monkdiscuss: print w/replies, xml ) Need Help??

Logged-in users can now apply a css stylesheet to nodes rendered using the 'bare' display style. To do so, go to your Display Settings, and look for the text field labeled "Link to External CSS stylesheet for 'bare' display style:", near the bottom. Only "external" css is supported in this way; the text field's value must be a URL for a page of css.

For starters, here is some simple css which makes it easier to see the tree structure of replies and to distinguish one reply from another:

li.reply { border: 1px solid black; margin:5px; counter-increment: re +ply-list; margin-top:20px; }

You can actually use that "[download]" link, there, as the URL in the Display Settings field. :-)

To see a page rendered in the 'bare' display style, either add ;style=bare to the URL of the page, or insert /bare/ in the path part of the URL. Examples:

  • http://perlmonks.org/?node_id=295788;style=bare
  • http://perlmonks.org/bare/?node_id=295788

    More ideas:
    form > div.reputation, div.comment-on { padding:8px; border:4px outset #0A8; } div.comment-on br { display:none } div.body { padding:12px } div.pmsig { border: 1px dotted black; margin:5px; } div.header, div.footer { padding:4px; border:3px outset #666; } ul.inline-list li { display:inline; } ul.inline-list li:before { content:"\2023"; margin-left:1em; margin-ri +ght:0.2em; } ul.replies { list-style: decimal; } li.reply { border: 1px solid black; margin:5px; margin-top:20px; } ul.replies > li { border: thin solid green; border-left: thick solid green; padding: 2px; margin: 8px; }
    For pmdev:
    p.titlechooser { display:none; }
    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
  • Replies are listed 'Best First'.
    Re: 'Bare' display style now supports css styling (bare author bug)
    by Anonymous Monk on Mar 23, 2015 at 07:39 UTC
        If you are just interested who the author was, check the following line:

        Send private /msg to spooknick

        لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
          What are you talking about choroba ?

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: monkdiscuss [id://1120900]
    Front-paged by Corion
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others meditating upon the Monastery: (3)
    As of 2024-04-20 03:38 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found