diff --git a/www/index.pl b/www/index.pl index dbae566..f5ac875 100755 --- a/www/index.pl +++ b/www/index.pl @@ -236,7 +236,7 @@ sub browsesearch { for(@$man) { li; a href => "/$_->{name}.".substr($_->{section},0,1), $_->{name}; - i $_->{section}; + i " $_->{section}"; end; } end; @@ -298,7 +298,7 @@ sub browsesys { for(@$pkg) { li; a href => "/browse/$short/$_->{name}", $_->{name}; - i $_->{category}; + i ' '.$_->{category}; end; } end; @@ -348,7 +348,7 @@ sub browsepkg { li; txt "$_->{released} "; a href => "/browse/$sys->{short}/$name/$_->{version}", $_->{version} if $_ != $sel; - b $_->{version} if $_ == $sel; + b " $_->{version}" if $_ == $sel; i " $_->{category}"; end; } @@ -465,7 +465,7 @@ sub man { div id => 'nav', 'Sorry, this navigation menu won\'t display without Javascript. :-('; h1; - txt $man->{name}; + txt $man->{name}.' '; a href => "/$man->{name}/".substr($man->{hash}, 0, 8).'/src', 'source'; end; diff --git a/www/man.css b/www/man.css index e1925be..115d9a7 100644 --- a/www/man.css +++ b/www/man.css @@ -6,7 +6,7 @@ body { margin: 10px auto 50px auto; max-width: 1250px; border-collapse: separate -webkit-border-radius: 10px; -moz-border-radius: 10px; -webkit-box-shadow: 0 10px 10px #def; -moz-box-shadow: 0 10px 10px #def; box-shadow: 0 10px 10px #def; } h1 { font-size: 24px; font-weight: normal; color: #abc; } -h1 a { font-size: 12px; padding-left: 5px; vertical-align: top } +h1 a { font-size: 12px; vertical-align: top } h2 { font-size: 21px; margin-top: 40px; color: #468; font-weight: normal; clear: left } h2 + i { font-size: 12px; } dd { margin-left: 15px; } @@ -67,12 +67,12 @@ td { padding: 1px 5px; font-size: 12px; border-left: 1px solid #ccc; } #packages { margin: 20px 0; -webkit-column-width: 300px; -moz-column-width: 300px; column-width: 300px } #packages li { display: block; } #packages i { color: #aaa; font-size: 13px; } -#packages a { padding-right: 5px } +#packages a { padding-right: 2px } #searchres { margin: 20px 0; -webkit-column-width: 300px; -moz-column-width: 300px; column-width: 300px } #searchres li { display: block; } #searchres i { color: #aaa; font-size: 13px; } -#searchres a { padding-right: 5px } +#searchres a { padding-right: 2px } #manuals { margin: 20px 0; -webkit-column-width: 500px; -moz-column-width: 500px; column-width: 500px } #manuals li { display: block; }