html & css cosmetic changes (index & concordance), run "sisu -CC"; changelog
authorRalph Amissah <ralph@amissah.com>
Wed, 17 Dec 2008 00:55:01 +0000 (19:55 -0500)
committerRalph Amissah <ralph@amissah.com>
Wed, 17 Dec 2008 01:00:05 +0000 (20:00 -0500)
CHANGELOG
lib/sisu/v0/concordance.rb
lib/sisu/v0/css.rb
lib/sisu/v0/dal_idx.rb

index fa50af37cd9e15646c723a4665b9faa9502a5573..9cb6caf1aed5812fdef5bf3229cae971eb93866a 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -9,6 +9,14 @@ Reverse Chronological:
 
 %% STABLE MANIFEST
 
+%% sisu_0.70.3.orig.tar.gz (2008-12-16:50/2)
+http://www.jus.uio.no/sisu/pkg/src/sisu_0.70.3.orig.tar.gz
+  sisu_0.70.3.orig.tar.gz
+  sisu_0.70.3-1.dsc
+  sisu_0.70.3-1.diff.gz
+
+  * html and css, cosmetic changes (and the closing of a tag)
+
 %% sisu_0.70.2.orig.tar.gz (2008-12-16:50/2)
 http://www.jus.uio.no/sisu/pkg/src/sisu_0.70.2.orig.tar.gz
   c4ec17c3f50b629a33afcb3d343e111172bf56b656fa892d82936f86dfde281a 1545482 sisu_0.70.2.orig.tar.gz
index aea5e5560f0c0336ffa7bd3e391e71809187a876..45cc27b27b0cd1a61d0caebc86dd8133c797422a 100644 (file)
@@ -319,14 +319,14 @@ WOK
         alph.each {|x| @file_concordance << %{<a href="##{x}">#{x}</a>,&nbsp;}}
         @file_concordance << '</p>'
         letter=alph.shift
-        @file_concordance << %{\n<hr />\n<p class="book_index_lev1"><a name="A">A</a></p>}
+        @file_concordance << %{\n<p class="letter"><a name="A">A</a></p>}
         for word in @freq.keys.sort! {|a,b| a.downcase<=>b.downcase}
           f=/^(\S)/.match(word)[1]
           if letter < f.upcase
             while letter < f.upcase
               if alph.length > 0
                 letter=alph.shift
-                @file_concordance << %{\n<hr />\n<p class="book_index_lev1"><a name="#{letter}">#{letter}</a></p>}
+                @file_concordance << %{\n<p class="letter"><a name="#{letter}">#{letter}</a></p>}
               else break
               end
             end
index 927a253f99f7f336eebfb6a8274aedd9bfd3befb..22e26d621bfb94d2c21d3c36f98bec897a848fda 100644 (file)
@@ -585,6 +585,18 @@ WOK
     text-align: center;
   }
 
+  p.letter {
+    font-weight: bold;
+    font-size: 80%;
+    margin-left: 0em;
+    margin-top: 2px;
+    margin-bottom: 2px;
+    margin-right: 6px;
+    text-align: left;
+    color: white;
+    background: #880000;
+  }
+
   label.ocn {
     width: 2%;
     float: right;
index 8633579ff41bb918a245072f8aaeec763d7c5037..0e231064fcd6058a6430386482cc1e2bd921fd54 100644 (file)
@@ -186,7 +186,7 @@ module SiSU_book_index
               while letter < f
                 if alph.length > 0
                   letter=alph.shift
-                  @idx[:html] << %{\n<hr />\n<p class="book_index_lev1"><a name="#{letter}">#{letter}</a><p class="book_index_lev1"><a name="#{letter.downcase}"> </a></p>}
+                  @idx[:html] << %{\n<p class="letter"><a name="#{letter}">#{letter}</a></p><p class="book_index_lev1"><a name="#{letter.downcase}"> </a></p>}
                 else break
                 end
               end