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>
This commit is contained in:
Lukas Fleischer
2013-03-07 08:56:22 +01:00
committed by Jason A. Donenfeld
parent 121089ced5
commit b60e6bff75
3 changed files with 20 additions and 9 deletions

View File

@ -538,17 +538,23 @@ div#cgit table.list td.sublevel-repo {
padding-left: 1.5em;
}
div#cgit div.pager {
div#cgit ul.pager {
list-style-type: none;
text-align: center;
margin: 1em 0em 0em 0em;
padding: 0;
}
div#cgit div.pager a {
div#cgit ul.pager li {
display: inline-block;
margin: 0.25em 0.5em;
}
div#cgit ul.pager a {
color: #777;
margin: 0em 0.5em;
}
div#cgit div.pager .current {
div#cgit ul.pager .current {
font-weight: bold;
}