Re: Increasing contrast of function prototypes
| From: | Stewart Lord | Date: | Sat, 08 Jan 2011 04:48:15 +0000 |
| Subject: | Re: Increasing contrast of function prototypes | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-10311@lists.php.net to get a copy of this message | ||
I wouldn't have any objection to making the background lighter. I'm afraid I haven't
been looking at the doc pages much. After the front page is complete, I thought I might propose some
changes.
On 2011-01-07, at 8:24 AM, Hannes Magnusson wrote:
> 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
>>
>>