From 166e59094f941b579c32df9e73e79b9842f3c193 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Wed, 11 Jul 2012 15:33:57 +0200 Subject: [PATCH] Got rid of permalink link and moved 'source' link to a better place --- www/index.pl | 6 ++---- www/man.css | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/www/index.pl b/www/index.pl index 4183d93..a13cb99 100755 --- a/www/index.pl +++ b/www/index.pl @@ -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; diff --git a/www/man.css b/www/man.css index 9b7391a..305886c 100644 --- a/www/man.css +++ b/www/man.css @@ -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; }