gerbil 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -134,16 +134,23 @@ nodes:
134
134
  silent: true
135
135
  output: <%= @node.content.to_html %>
136
136
 
137
- header_outside_above: *header
138
- header_inside_above: *header
139
- header_inside_below: *header
140
- header_outside_below: *header
137
+ header_outside_above: &header_insert
138
+ toc: false
139
+ lof: false
140
+ index: false
141
+ number: false
142
+ silent: true
143
+ output: <div class="<%= @node.type %>"><%= @node.content.to_html %></div>
144
+
145
+ header_inside_above: *header_insert
146
+ header_inside_below: *header_insert
147
+ header_outside_below: *header_insert
141
148
 
142
149
  footer: *header
143
- footer_outside_above: *header
144
- footer_inside_above: *header
145
- footer_inside_below: *header
146
- footer_outside_below: *header
150
+ footer_outside_above: *header_insert
151
+ footer_inside_above: *header_insert
152
+ footer_inside_below: *header_insert
153
+ footer_outside_below: *header_insert
147
154
 
148
155
  abstract:
149
156
  toc: false
@@ -385,9 +392,7 @@ output: |
385
392
  </div>
386
393
  <%= node = @types['header_outside_below'].first and node.output %>
387
394
 
388
- <% if abstract = @types['abstract'].first %>
389
- <%= abstract.output %>
390
- <% end %>
395
+ <%= node = @types['abstract'].first and node.output %>
391
396
 
392
397
  <% # table of contents
393
398
  builder = lambda do |n|
@@ -593,10 +598,35 @@ styles:
593
598
 
594
599
  #header
595
600
  {
596
- margin-bottom : 5em;
597
601
  text-align : center;
598
602
  }
599
603
 
604
+ .header_outside_above,
605
+ #header,
606
+ .header_outside_below
607
+ {
608
+ margin-bottom : 5em;
609
+ }
610
+
611
+ .footer_outside_above,
612
+ #footer,
613
+ .footer_outside_below
614
+ {
615
+ margin-top : 5em;
616
+ }
617
+
618
+ #header .header_inside_above,
619
+ #footer .footer_inside_above
620
+ {
621
+ margin-bottom : 4em;
622
+ }
623
+
624
+ #header .header_inside_below,
625
+ #footer .footer_inside_below
626
+ {
627
+ margin-top : 4em;
628
+ }
629
+
600
630
  #abstract
601
631
  {
602
632
  margin-bottom : 5em;
@@ -633,7 +663,6 @@ styles:
633
663
  {
634
664
  border-top : thick dotted #DCDCDC;
635
665
  padding-top : 1em;
636
- margin-top : 5em;
637
666
  text-align : center;
638
667
  }
639
668
 
@@ -768,8 +797,9 @@ styles:
768
797
 
769
798
  hr
770
799
  {
771
- color : #FF0000; /* for IE6 */
772
- background-color : #FF0000; /* for Firefox */
800
+ height : 0;
801
+ border : 0;
802
+ border-top : 2px solid #FF0000;
773
803
  }
774
804
 
775
805
  /* source code */
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gerbil = {
4
4
  :name => 'Gerbil',
5
- :version => '2.1.0',
6
- :release => '2008-05-29',
5
+ :version => '3.0.0',
6
+ :release => '2008-06-01',
7
7
  :website => 'http://gerbil.rubyforge.org',
8
8
  :home => File.expand_path(File.join(File.dirname(__FILE__), '..'))
9
9
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gerbil
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-29 00:00:00 -07:00
12
+ date: 2008-06-01 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency