From: Jason at zx2c4.com (Jason A. Donenfeld)
Subject: adopting kernel.org's css modifications?
Date: Thu, 20 Feb 2014 20:23:56 +0100 [thread overview]
Message-ID: <CAHmME9rkmUS4sCXv_NQVj4mY0By7LXQRYJ7bksytmY2obfD-+w@mail.gmail.com> (raw)
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...
--- cgit.css 2014-02-20 20:07:39.000000000 +0100
+++ cgit-korg.css 2013-02-28 20:16:48.000000000 +0100
@@ -59,6 +59,7 @@
color: #777;
border-top: solid 1px #ccc;
padding-left: 10px;
+ vertical-align: top;
}
div#cgit table.tabs {
@@ -124,6 +125,14 @@
background: white;
}
+div#cgit table.list tr:nth-child(odd) {
+ background: white;
+}
+
+div#cgit table.list tr:nth-child(even) {
+ background: #f6f6f6;
+}
+
div#cgit table.list tr.logheader {
background: #eee;
}
@@ -132,6 +141,9 @@
background: #eee;
}
+div#cgit table.list tr.nohover {
+ background: white;
+}
div#cgit table.list tr.nohover:hover {
background: white;
}
@@ -291,15 +303,13 @@
padding: 0; margin: 0;
}
-div#cgit table.blob td.linenumbers a,
-div#cgit table.ssdiff td.lineno a {
+div#cgit table.blob a.no, div#cgit table.ssdiff a.no {
color: gray;
text-align: right;
text-decoration: none;
}
-div#cgit table.blob td.linenumbers a:hover,
-div#cgit table.ssdiff td.lineno a:hover {
+div#cgit table.blob a.no a:hover {
color: black;
}
@@ -540,23 +550,17 @@
padding-left: 1.5em;
}
-div#cgit ul.pager {
- list-style-type: none;
+div#cgit div.pager {
text-align: center;
margin: 1em 0em 0em 0em;
- padding: 0;
}
-div#cgit ul.pager li {
- display: inline-block;
- margin: 0.25em 0.5em;
-}
-
-div#cgit ul.pager a {
+div#cgit div.pager a {
color: #777;
+ margin: 0em 0.5em;
}
-div#cgit ul.pager .current {
+div#cgit div.pager .current {
font-weight: bold;
}
@@ -802,3 +806,17 @@
div#cgit table.ssdiff td.space div {
min-height: 3em;
}
next reply other threads:[~2014-02-20 19:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-20 19:23 Jason [this message]
2014-02-20 20:27 ` cgit
2014-02-21 9:57 ` bluewind
2014-02-22 16:12 ` mricon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHmME9rkmUS4sCXv_NQVj4mY0By7LXQRYJ7bksytmY2obfD-+w@mail.gmail.com \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).