[darcs-users] CSS
Gwern Branwen
gwern0 at gmail.com
Fri Apr 17 02:41:20 UTC 2009
On Thu, Apr 16, 2009 at 10:08 PM, Trent W. Buck <trentbuck at gmail.com> wrote:
> Daniel Carrera <daniel.carrera at theingots.org> writes:
>> I don't know about the others, but I find that links have poor
>> contrast in gitit's default CSS. Especially visited links. I have to
>> struggle a bit to read them. I propose the following change:
>>
>> static/css/screen.css 99
>> - a:link { text-decoration: underline; color: #36c; }
>> - a:visited { text-decoration: underline; color: #99c; }
>> + a:link { text-decoration: underline; color: #43c; }
>> + a:visited { text-decoration: underline; color: #b3c; }
>
> Gwern, I don't have a CSS-capable browser handy. Can you review (and
> apply, if necessary) this one?
I've asked Daniel to email a screenshot to the list.
> PS: upstream gitit has a newer template.html. Assuming we're running a
> recent gitit, it's template.html should be merged with the one Daniel
> supplied, which (I think) is the one in use on the wiki currently.
The differences don't seem to be significant:
gitit at darcs:~$ diff DarcsWiki/template.html template.html
16a17,39
> <div id="yui-main">
> <div id="maincol" class="yui-b">
> <div id="userbox">
> $if(user)$
> <a href="/_logout">Logout $user$</a>
> $else$
> <a href="/_login">Login</a> • <a href="/_register">Get an account</a>
> $endif$
> </div>
> $tabs$
> <div id="content">
> $if(nothead)$
> <h2 class="revision">Revision $revision$</h2>
> $endif$
> <h1 class="pageTitle"><a href="/$pagename$">$pagetitle$</a></h1>
> $messages$
> <div id="wikipage" ondblclick="window.location='/$pagename$?edit">
> $content$
> </div>
> </div>
> <div id="footer">powered by <a href="http://github.com/jgm/gitit/tree/master/">gitit</a></div>
> </div>
> </div>
27,34d49
< <li><a href="/_activity">Recent activity</a></li>
< <li><a href="/Download">Download</a></li>
< <li><a href="/Getting Started">Getting Started</a></li>
< <li><a href="/Migration">Migration</a></li>
< <li><a href="/Support">Support</a></li>
< <li><a href="/Patch Reordering">Patch Reordering</a></li>
< <li><a href="/Contribute">Contribute</a></li>
< <!--
35a51
> <li><a href="/_activity">Recent activity</a></li>
38d53
< -->
58,81d72
< <div id="yui-main">
< <div id="maincol" class="yui-b">
< <div id="userbox">
< $if(user)$
< <a href="/_logout">Logout $user$</a>
< $else$
< <a href="/_login">Login</a> • <a
href="/_register">Get an account</a>
< $endif$
< </div>
< $tabs$
< <div id="content">
< $if(nothead)$
< <h2 class="revision">Revision $revision$</h2>
< $endif$
< <h1 class="pageTitle"><a href="/$pagename$">$pagetitle$</a></h1>
< $messages$
< <div id="wikipage"
ondblclick="window.location='/$pagename$?edit">
< $content$
< </div>
< </div>
< <div id="footer">powered by <a
href="http://github.com/jgm/gitit/tree/master/">darcsit</a><br/><code>darcs
get http://darcs.net/darcs-wiki</code></div>
< </div>
< </div>
< </div>
--
gwern
More information about the darcs-users
mailing list