aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-24 15:06:12 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-24 15:06:12 +0100
commit7a77fb05afa24523a5c15d44a6f926923385764b (patch)
tree420aa5b8ba3b51c75fc3e1e857728f45f7cfea1c
parenthtml table of contents, cosmetic fix for rights and prefix appearing with toc (diff)
html toc, css, cosmetic fix for rights and prefix in toc
-rw-r--r--lib/sisu/v0/css.rb4
-rw-r--r--lib/sisu/v0/html_format.rb4
2 files changed, 6 insertions, 2 deletions
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 <sup>&copy;</sup>&nbsp;')
- %{<p class="left">Rights: #{rights}</p>
+ %{<p class="small_left">Rights: #{rights}</p>
<p />}
end
def prefix_b
- %{<p class="left">Prefix: #{@md.prefix_b}<p />}
+ %{<p class="small_left">Prefix: #{@md.prefix_b}<p />}
end
def scroll_head_title_banner_open
%{<center>