diff options
author | Lukas Fleischer <cgit@cryptocrack.de> | 2013-03-07 16:56:22 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-03-21 05:16:19 (JST) |
commit | b60e6bff75719a5fb0df970bac3be6b2726cf73a (patch) | |
tree | 706c27228919f3cca2d307b1d3dfcc561b0cd64e /cgit.css | |
parent | 121089ced5e1d3f3103cbc2b37f5fb579d800915 (diff) | |
download | cgit-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.css | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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 | ||
541 | div#cgit div.pager { | 541 | div#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 | ||
546 | div#cgit div.pager a { | 548 | div#cgit ul.pager li { |
549 | display: inline-block; | ||
550 | margin: 0.25em 0.5em; | ||
551 | } | ||
552 | |||
553 | div#cgit ul.pager a { | ||
547 | color: #777; | 554 | color: #777; |
548 | margin: 0em 0.5em; | ||
549 | } | 555 | } |
550 | 556 | ||
551 | div#cgit div.pager .current { | 557 | div#cgit ul.pager .current { |
552 | font-weight: bold; | 558 | font-weight: bold; |
553 | } | 559 | } |
554 | 560 | ||