page title
authorMarijana Glavica <mglavica@ffzg.hr>
Thu, 21 Nov 2013 18:55:49 +0000 (19:55 +0100)
committerMarijana Glavica <mglavica@ffzg.hr>
Thu, 21 Nov 2013 18:55:49 +0000 (19:55 +0100)
html.pl
html/style.css

diff --git a/html.pl b/html.pl
index e1f692f..5c30cc6 100755 (executable)
--- a/html.pl
+++ b/html.pl
@@ -164,9 +164,10 @@ foreach my $row ( sort { $a->{full_name} cmp $b->{full_name} } @authors ) {
        my $path = "html/$row->{authid}";
        open(my $fh, '>:encoding(utf-8)', "$path.new");
        print $fh html_title($row->{full_name}, "bibliografija");
+       print $fh qq|<h1>$row->{full_name} - bibliografija za razdoblje 2008-2013</h1>|;
        foreach my $category ( sort keys %{ $authors->{ $row->{authid} } } ) {
                my $label = $category_label->{$category} || 'Bez kategorije';
-               print $fh qq|<h1>$label</h1>\n<ul>\n|;
+               print $fh qq|<h2>$label</h2>\n<ul>\n|;
                foreach my $biblionumber ( @{ $authors->{ $row->{authid} }->{$category} } ) {
                        print $fh qq|<li>|,
                                qq|<a href="https://koha.ffzg.hr/cgi-bin/koha/opac-detail.pl?biblionumber=$biblionumber">$biblionumber</a>|,
index 512e155..e58d765 100644 (file)
@@ -1,9 +1,15 @@
-h1 {
+h1, h2 {
        font-family: Trebuchet MS, sans-serif;
        font-weight: normal;
-       font-size: 120%;
        color: #336699;
 }
+h1 {
+       font-size: 140%;
+}
+
+h2 {
+       font-size: 120%;
+}
 
 li {
        margin-top: 10px;