adopting kernel.org's css modifications?
Florian Pritz
bluewind at xinu.at
Fri Feb 21 10:57:22 CET 2014
On 20.02.2014 21:27, Lukas Fleischer wrote:
> On Thu, 20 Feb 2014 at 20:23:56, Jason A. Donenfeld wrote:
>> Looks like kernel.org makes some changes. Do we want to adopt any of
>> these? Some of them are pretty, like the even/odd background. Others
>> I'm not sure what they do...
>> [...]
>
> On the even/odd background (didn't check the other changes): I think
> that one looks good when having a lot of repositories and doesn't look
> good when having only a few of them. I also think that it is a bit weird
> that the "Clone" row is sometimes highlighted
Just override the background colour for <th> like so:
div#cgit table.list tr:nth-child(odd),
div#cgit table.list th {
background: white;
}
Apart from that I'm not sure if striping adds much value given table
lines have a different background on hover already.
I didn't look at the other changes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140221/1d3334c0/attachment.asc>
More information about the CGit
mailing list