List for cgit developers and users
 help / color / mirror / Atom feed
* adopting kernel.org's css modifications?
@ 2014-02-20 19:23 Jason
  2014-02-20 20:27 ` cgit
  2014-02-22 16:12 ` mricon
  0 siblings, 2 replies; 4+ messages in thread
From: Jason @ 2014-02-20 19:23 UTC (permalink / 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;
 }


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-22 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 19:23 adopting kernel.org's css modifications? Jason
2014-02-20 20:27 ` cgit
2014-02-21  9:57   ` bluewind
2014-02-22 16:12 ` mricon

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).