aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
authorGravatar Lukas Fleischer <cgit@cryptocrack.de>2013-03-07 16:56:22 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-03-21 05:16:19 (JST)
commitb60e6bff75719a5fb0df970bac3be6b2726cf73a (patch)
tree706c27228919f3cca2d307b1d3dfcc561b0cd64e /cgit.css
parent121089ced5e1d3f3103cbc2b37f5fb579d800915 (diff)
downloadcgit-b60e6bff75719a5fb0df970bac3be6b2726cf73a.zip
cgit-b60e6bff75719a5fb0df970bac3be6b2726cf73a.tar.gz
Convert pager navigation into a unordered list
It is common practice and semantically appropriate to use unordered lists for long navigation lists. This also fixes the layout of very long pager navigations in Webkit-based browsers. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css14
1 files changed, 10 insertions, 4 deletions
diff --git a/cgit.css b/cgit.css
index 54da076..a50d62b 100644
--- a/cgit.css
+++ b/cgit.css
@@ -538,17 +538,23 @@ div#cgit table.list td.sublevel-repo {
538 padding-left: 1.5em; 538 padding-left: 1.5em;
539} 539}
540 540
541div#cgit div.pager { 541div#cgit ul.pager {
542 list-style-type: none;
542 text-align: center; 543 text-align: center;
543 margin: 1em 0em 0em 0em; 544 margin: 1em 0em 0em 0em;
545 padding: 0;
544} 546}
545 547
546div#cgit div.pager a { 548div#cgit ul.pager li {
549 display: inline-block;
550 margin: 0.25em 0.5em;
551}
552
553div#cgit ul.pager a {
547 color: #777; 554 color: #777;
548 margin: 0em 0.5em;
549} 555}
550 556
551div#cgit div.pager .current { 557div#cgit ul.pager .current {
552 font-weight: bold; 558 font-weight: bold;
553} 559}
554 560