Added some spaces to the HTML output

This commit is contained in:
Yorhel 2012-07-20 11:36:24 +02:00
parent 7e5f165985
commit fa7d4406ec
2 changed files with 7 additions and 7 deletions

View file

@ -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;

View file

@ -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; }