Got rid of permalink link and moved 'source' link to a better place

This commit is contained in:
Yorhel 2012-07-11 15:33:57 +02:00
parent 9da5d16480
commit 166e59094f
2 changed files with 3 additions and 4 deletions

View file

@ -409,10 +409,8 @@ sub man {
$self->htmlHeader(title => $name);
div id => 'nav', 'Sorry, this navigation menu won\'t display without Javascript. :-(';
h1 $man->{name};
p;
a href => "/$man->{name}/".substr($man->{hash}, 0, 8), 'permalink';
txt ' - ';
h1;
txt $man->{name};
a href => "/$man->{name}/".substr($man->{hash}, 0, 8).'/src', 'source';
end;

View file

@ -10,6 +10,7 @@ body { margin: 10px auto 50px auto; max-width: 1250px; border-collapse: separate
-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 + p { float: right; }
h1 a { font-size: 10px; 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; }