Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: <readmore> for [Anonymous Monk] renders with a background, how about only an outline?

by thomas895 (Hermit)
on Jun 06, 2012 at 07:41 UTC ( #974669=note: print w/ replies, xml ) Need Help??


in reply to <readmore> for [Anonymous Monk] renders with a background, how about only an outline?

If it bothers you, change it in your CSS, by adding something like so:

div.readmore { background-color: inherit; border: solid 1px #333; padding: 3px; /** Add a little space, or the line is against the f +irst and last character **/ }

Of course, you must be a registered user for this to work.

~Thomas~
confess( "I offer no guarantees on my code." );


Comment on Re: <readmore> for [Anonymous Monk] renders with a background, how about only an outline?
Select or Download Code
Re^2: <readmore> for [Anonymous Monk] renders with a background, how about only an outline?
by Anonymous Monk on Jun 06, 2012 at 08:07 UTC

    Of course, you must be a registered user for this to work.

    My suggestion was to edit /css/common.css and replace

    div.readmore {background-color: #eee;}
    with
    div.readmore { border: medium solid #000; }
Re^2: <readmore> for [Anonymous Monk] renders with a background, how about only an outline?
by ambrus (Abbot) on Jul 05, 2012 at 10:43 UTC

    I'm using a similar CSS rule that adds a green bar on the left hand side of readmored content. Note that I'm using a black background with bright grey text the color might not work well on a bright background.

    div.readmore { background-color: transparent; padding-left: 2px; borde +r-left-width: 2px; border-left-color: #080; border-left-style: solid +}

    Here's a readmore and a snapshot of my whole user CSS.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974669]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (15)
As of 2014-10-01 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (26 votes), past polls