View Single Post
Old 02-12-2014, 05:51 AM   #9
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,801
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by GrannyGrump View Post

@RbnJrg -- but won't that look odd if the user does not have Black Text on a White Background?
Hi Granny;

Well, it seems that if we set the line color to some kind of grey, all is solved. See this picture:

Click image for larger version

Name:	Line Through Night.jpg
Views:	243
Size:	52.8 KB
ID:	118995

I reached that solution by using:

Code:
h2 {
   text-align: center;
   margin: 1em 0 1em 0;
   font-size: 1.4em;
   border-top: 3px solid #999;
   height: 0.5em;
}
Also it looks good in normal mode (black text on a white background).

Regards
Rubén

EDIT: "border-top: 3px solid;" -as Tex used- works even better -in night mode- than "border-top: 3px solid #999;"

Last edited by RbnJrg; 02-12-2014 at 09:39 AM.
RbnJrg is offline   Reply With Quote