Increasing contrast of function prototypes
| From: | Christopher Jones | Date: | Mon, 03 Jan 2011 19:33:56 +0000 |
| Subject: | Increasing contrast of function prototypes | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10192@lists.php.net to get a copy of this message | ||
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/