Re: Increasing contrast of function prototypes

From: Date: Fri, 07 Jan 2011 16:24:17 +0000
Subject: Re: Increasing contrast of function prototypes
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10304@lists.php.net to get a copy of this message
Got an opinion on this Stewart? -Hannes On Mon, Jan 3, 2011 at 20:33, Christopher Jones <christopher.jones@oracle.com> wrote: > > I'm finding the function prototype type names and the comment text in > code examples are too low contrast for comfortable reading. > > On IRC Hannes pointed out the types are controlled via doc.css > > .docs .refentry .methodsynopsis { >    padding: 10px 20px; >    margin: 1em 2em 1.3em; >    border-top: 3px solid #ddd; >    background: #efefef; >    color: #666; >    font-family: monospace; > } > > What about making the background lighter and making the function > prototype type name darker? > > Hannes suggested these changes: > >    background: #eee; >    color: #333; > > I think an even lighter background is OK too: > >    background-color: #fafafa; >    color: #333; > > A similar background-color change should be made in other CSS styles > in the file so they all match. > > Chris > > -- > Email: christopher.jones@oracle.com > Tel:  +1 650 506 8630 > Blog:  http://blogs.oracle.com/opal/ > > -- > PHP Webmaster List Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.webmaster (#10304) next »