Got rid of permalink link and moved 'source' link to a better place
This commit is contained in:
parent
9da5d16480
commit
166e59094f
2 changed files with 3 additions and 4 deletions
|
|
@ -409,10 +409,8 @@ sub man {
|
||||||
$self->htmlHeader(title => $name);
|
$self->htmlHeader(title => $name);
|
||||||
div id => 'nav', 'Sorry, this navigation menu won\'t display without Javascript. :-(';
|
div id => 'nav', 'Sorry, this navigation menu won\'t display without Javascript. :-(';
|
||||||
|
|
||||||
h1 $man->{name};
|
h1;
|
||||||
p;
|
txt $man->{name};
|
||||||
a href => "/$man->{name}/".substr($man->{hash}, 0, 8), 'permalink';
|
|
||||||
txt ' - ';
|
|
||||||
a href => "/$man->{name}/".substr($man->{hash}, 0, 8).'/src', 'source';
|
a href => "/$man->{name}/".substr($man->{hash}, 0, 8).'/src', 'source';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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; }
|
-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 { font-size: 24px; font-weight: normal; color: #abc; }
|
||||||
h1 + p { float: right; }
|
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 { font-size: 21px; margin-top: 40px; color: #468; font-weight: normal; clear: left }
|
||||||
h2 + i { font-size: 12px; }
|
h2 + i { font-size: 12px; }
|
||||||
dd { margin-left: 15px; }
|
dd { margin-left: 15px; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue