From 7a77fb05afa24523a5c15d44a6f926923385764b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 24 Sep 2007 15:06:12 +0100 Subject: html toc, css, cosmetic fix for rights and prefix in toc --- lib/sisu/v0/css.rb | 4 ++++ lib/sisu/v0/html_format.rb | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/sisu/v0') diff --git a/lib/sisu/v0/css.rb b/lib/sisu/v0/css.rb index f4cf5228..13e5e026 100644 --- a/lib/sisu/v0/css.rb +++ b/lib/sisu/v0/css.rb @@ -414,6 +414,10 @@ WOK p.left, th.left, td.left { text-align: left; } + p.small_left, th.small_left, td.small_left { + text-align: left; + font-size: 80%; + } p.right, th.right, td.right { text-align: right; } diff --git a/lib/sisu/v0/html_format.rb b/lib/sisu/v0/html_format.rb index 618799a7..5a28c271 100644 --- a/lib/sisu/v0/html_format.rb +++ b/lib/sisu/v0/html_format.rb @@ -468,11 +468,11 @@ WOK end def rights rights=@md.dc_rights.gsub(/^\s*Copyright\s+\(C\)/,'Copyright © ') - %{

Rights: #{rights}

+ %{

Rights: #{rights}

} end def prefix_b - %{

Prefix: #{@md.prefix_b}

} + %{

Prefix: #{@md.prefix_b}

} end def scroll_head_title_banner_open %{

-- cgit v1.2.3