Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

'Bare' display style now supports css styling

by jdporter (Canon)
on Mar 22, 2015 at 17:24 UTC ( #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; counter-reset: reply-list; } li.reply { border: 1px solid black; margin:5px; counter-increment: re +ply-list; margin-top:20px; }
    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
    Node Status?
    node history
    Node Type: monkdiscuss [id://1120900]
    Front-paged by Corion
    help
    Chatterbox?
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (9)
    As of 2017-10-19 07:53 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My fridge is mostly full of:

















      Results (252 votes). Check out past polls.

      Notices?