c&d: html, ocn link back to self reinstated
[software/sisu] / lib / sisu / current / css.rb
1 # encoding: utf-8
2 =begin
3
4 * Name: SiSU
5
6 ** Description: documents, structuring, processing, publishing, search
7 *** css stylesheets
8
9 ** Author: Ralph Amissah
10 <ralph@amissah.com>
11 <ralph.amissah@gmail.com>
12
13 ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
15 All Rights Reserved.
16
17 ** License: GPL 3 or later:
18
19 SiSU, a framework for document structuring, publishing and search
20
21 Copyright (C) Ralph Amissah
22
23 This program is free software: you can redistribute it and/or modify it
24 under the terms of the GNU General Public License as published by the Free
25 Software Foundation, either version 3 of the License, or (at your option)
26 any later version.
27
28 This program is distributed in the hope that it will be useful, but WITHOUT
29 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
30 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
31 more details.
32
33 You should have received a copy of the GNU General Public License along with
34 this program. If not, see <http://www.gnu.org/licenses/>.
35
36 If you have Internet connection, the latest version of the GPL should be
37 available at these locations:
38 <http://www.fsf.org/licensing/licenses/gpl.html>
39 <http://www.gnu.org/licenses/gpl.html>
40
41 <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
42
43 ** SiSU uses:
44 * Standard SiSU markup syntax,
45 * Standard SiSU meta-markup syntax, and the
46 * Standard SiSU object citation numbering and system
47
48 ** Hompages:
49 <http://www.jus.uio.no/sisu>
50 <http://www.sisudoc.org>
51
52 ** Git
53 <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54 <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/current/css.rb;hb=HEAD>
55
56 =end
57 module SiSU_Style
58 require_relative 'se' # se.rb
59 require_relative 'html_parts' # html_parts.rb
60 class CSS_HeadInfo
61 def initialize(md,ft='html')
62 @md,@ft=md,ft
63 @env=SiSU_Env::InfoEnv.new('',md)
64 @fn_css ||=SiSU_Env::CSS_Default.new
65 @o_str ||=SiSU_Env::ProcessingSettings.new(md).output_dir_structure
66 css_copy
67 end
68 def stylesheet
69 def css_path
70 SiSU_Env::CSS_Stylesheet.new(@md)
71 end
72 def css_embed_content
73 @css_embed_content ||=SiSU_Style::CSS.new
74 end
75 def css_embed?
76 if @ft=='html' \
77 && @o_str.dump_or_redirect?
78 true
79 else
80 false
81 end
82 end
83 def css_embed(css)
84 <<-WOK
85 <style TYPE="text/css">
86 #{css}
87 </style>
88 WOK
89 end
90 def css_action
91 css=case @ft
92 when 'html'
93 css=css_embed_content.html
94 css_embed(css)
95 when 'xhtml'
96 css_path.xhtml
97 when 'xml_sax'
98 css_path.xml_sax
99 when 'xml_dom'
100 css_path.xml_dom
101 when 'xml_docbook'
102 css_path.xml_docbook
103 else
104 css_embed_content.html
105 end
106 end
107 def css_head
108 (css_embed?) \
109 ? css_action
110 : "#{css_path.html}#{css_path.html_seg}"
111 end
112 def css_head_seg
113 (css_embed?) \
114 ? css_action
115 : css_path.html_seg
116 end
117 def css_head_xml
118 css_action
119 end
120 self
121 end
122 def css_copy
123 if @o_str.dump_or_redirect?
124 css=SiSU_Style::CSS.new
125 if @o_str.dump?
126 css_pth="#{@md.opt.opt_act[:dump][:inst]}/#{@env.path.style}"
127 elsif @o_str.redirect?
128 css_pth="#{@md.opt.opt_act[:redirect][:inst]}/#{@md.fnb}/#{@env.path.style}"
129 end
130 FileUtils::mkdir_p(css_pth) unless FileTest.directory?(css_pth)
131 case @ft
132 when 'html'
133 style=File.new("#{css_pth}/#{@fn_css.html}",'w')
134 style << css.html
135 style.close
136 when 'xhtml'
137 style=File.new("#{css_pth}/#{@fn_css.xhtml}",'w')
138 style << css.xhtml
139 style.close
140 when 'xml_sax'
141 style=File.new("#{css_pth}/#{@fn_css.xml_sax}",'w')
142 style << css.xml_sax
143 style.close
144 when 'xml_dom'
145 style=File.new("#{css_pth}/#{@fn_css.xml_dom}",'w')
146 style << css.xml_dom
147 style.close
148 css_path.xml_dom
149 when 'xml_docbook'
150 style=File.new("#{css_pth}/#{@fn_css.xml_docbook}",'w')
151 style << css.xml_docbook
152 style.close
153 css_path.xml_docbook
154 end
155 end
156 end
157 end
158 class CSS
159 include SiSU_Parts_HTML
160 def fonts
161 the_font.set_fonts
162 end
163 def html_tables #stylesheet for css table_pages
164 <<WOK
165 /* SiSU table output stylesheet */
166 body {
167 color: black;
168 background: #{the_color.white};
169 }
170 p {
171 display: block;
172 line-height: 1.5;
173 font-family: #{the_font.set_fonts};
174 }
175 a:link {
176 color: #{the_color.blue_ink};
177 text-decoration: none;
178 }
179 a:visited {
180 color: #{the_color.blue_ink};
181 text-decoration: none;
182 /* background-color: #{the_color.blue_tinge}; */
183 }
184 a:hover {
185 color: #{the_color.black};
186 text-decoration: underline;
187 background-color: #{the_color.yellow_light};
188 }
189 a:active {
190 color: #{the_color.blue_ink};
191 text-decoration: underline;
192 }
193 WOK
194 end
195 def harvest
196 <<WOK
197 /* SiSU harvest css default stylesheet */
198 body {
199 color: black;
200 background: #ffffff;
201 background-color: #ffffff;
202 }
203 a:link {
204 color: #003399;
205 text-decoration: none;
206 }
207 a:visited {
208 color: #003399;
209 text-decoration: none;
210 }
211 a:hover {
212 color: #000000;
213 background-color: #f9f9aa;
214 }
215 a:hover img {
216 background-color: #ffffff;
217 }
218 a:active {
219 color: #003399;
220 text-decoration: underline;
221 }
222
223 .norm, .bold {
224 line-height: 150%;
225 margin-left: 1em;
226 margin-right: 2em;
227 margin-top: 10px;
228 margin-bottom: 0px;
229 text-indent: 0mm;
230 }
231 p, h0, h1, h2, h3, h4, h5, h6, h7 {
232 display: block;
233 font-family: verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman;
234 font-size: 100%;
235 font-weight: normal;
236 line-height: 150%;
237 /* text-align: justify; */
238 margin-left: 1em;
239 text-indent: 0mm;
240 margin-top: 2px;
241 margin-bottom: 2px;
242 margin-right: 6px;
243 text-align: left;
244 }
245 h1 {
246 font-size: 120%;
247 font-weight: bold;
248 color: white;
249 background: #000088;
250 margin-left: 0em;
251 }
252 p.work {
253 font-size: 80%;
254 margin-left: 5em;
255 margin-top: 0px;
256 margin-bottom: 0px;
257 margin-right: 6px;
258 text-align: left;
259 }
260 p.author {
261 font-size: 100%;
262 margin-left: 2em;
263 margin-top: 0px;
264 margin-bottom: 0px;
265 margin-right: 6px;
266 text-align: left;
267 }
268 p.publication {
269 font-size: 80%;
270 margin-left: 4em;
271 margin-top: 0px;
272 margin-bottom: 0px;
273 margin-right: 6px;
274 text-align: left;
275 }
276 p.letter {
277 font-weight: bold;
278 font-size: 60%;
279 margin-left: 1em;
280 margin-top: 0px;
281 margin-bottom: 0px;
282 margin-right: 6px;
283 text-align: left;
284 color: white;
285 background: #880000;
286 }
287 p.lev0 {
288 font-size: 120%;
289 margin-left: 1em;
290 color: white;
291 background: #000000;
292 }
293
294 p.lev1 {
295 font-size: 110%;
296 margin-left: 2em;
297 color: white;
298 background: #444444;
299 }
300
301 p.lev2 {
302 font-size: 100%;
303 margin-left: 3em;
304 background: #888888;
305 }
306
307 p.lev3 {
308 font-size: 90%;
309 margin-left: 4em;
310 background: #bbbbbb;
311 }
312
313 p.lev4 {
314 font-size: 80%;
315 margin-left: 5em;
316 background: #eeeeee;
317 }
318
319 p.lev5 {
320 font-size: 80%;
321 margin-left: 6em;
322 }
323 WOK
324 end
325 def html #stylesheet for css html pages== html.css
326 <<WOK
327 /* SiSU css default stylesheet */
328 body {
329 color: black;
330 background: #ffffff;
331 background-color: #ffffff;
332 }
333 /*
334 table {
335 margin-left: 5%;
336 display: block;
337 }
338 tr {
339 display: block;
340 }
341 th,td {
342 display: inline;
343 vertical-align: top;
344 }
345 */
346 a:link {
347 color: #003399;
348 text-decoration: none;
349 }
350 a:visited {
351 color: #003399;
352 text-decoration: none;
353 }
354 a:hover {
355 color: #000000;
356 background-color: #f9f9aa;
357 }
358 a:hover img {
359 background-color: #ffffff;
360 }
361 a:active {
362 color: #003399;
363 text-decoration: underline;
364 }
365 a.lnkocn:link {
366 color: #777777;
367 text-decoration: none;
368 }
369 a.lnkocn:visited {
370 color: #555555;
371 text-decoration: none;
372 }
373 div {
374 margin-left: 0;
375 margin-right: 0;
376 }
377 div.p {
378 margin-left: 5%;
379 margin-right: 1%;
380 }
381
382 #top_band {
383 position: absolute;
384 top: 0;
385 bottom: 80px;
386 width: 100%;
387 }
388 #top_band_search {
389 position: absolute;
390 top: 0px;
391 right: 0px;
392 margin-left: 75%;
393 width: 20%;
394 }
395 #column_left {
396 position: absolute;
397 top: 80px;
398 left: 0;
399 margin-left: 1%;
400 width: 20%;
401 }
402 #column_center {
403 position: absolute;
404 top: 80px;
405 margin-left: 20%;
406 width: 55%;
407 }
408 #column_right {
409 position: absolute;
410 top: 80px;
411 right: 0px;
412 margin-left: 75%;
413 width: 25%;
414 }
415 #pane_major {
416 position: absolute;
417 top: 0px;
418 left: 0;
419 margin-left: 0;
420 width: 80%;
421 }
422 #pane_minor {
423 position: absolute;
424 top: 0px;
425 right: 0px;
426 margin-left: 75%;
427 width: 20%;
428 background-color: #aaaaaa;
429 }
430
431 .norm, .bold, .verse, .group, .block, .alt {
432 line-height: 133%;
433 margin-left: 0em;
434 margin-right: 2em;
435 margin-top: 12px;
436 margin-bottom: 0px;
437 padding-left: 0em;
438 text-indent: 0em;
439 }
440 p, h0, h1, h2, h3, h4, h5, h6, h7 {
441 display: block;
442 font-family: verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman;
443 font-size: 100%;
444 font-weight: normal;
445 line-height: 133%;
446 text-align: justify;
447 margin-left: 0em;
448 margin-right: 2em;
449 text-indent: 0mm;
450 margin-top: 0.8em;
451 margin-bottom: 0.8em;
452 }
453
454 /* indent */
455
456 p.norm { }
457 p.i1 {padding-left: 1em;}
458 p.i2 {padding-left: 2em;}
459 p.i3 {padding-left: 3em;}
460 p.i4 {padding-left: 4em;}
461 p.i5 {padding-left: 5em;}
462 p.i6 {padding-left: 6em;}
463 p.i7 {padding-left: 7em;}
464 p.i8 {padding-left: 8em;}
465 p.i9 {padding-left: 9em;}
466
467 /* hanging indent */
468
469 p.h0i0 {
470 padding-left: 0em;
471 text-indent: 0em;
472 }
473 p.h0i1 {
474 padding-left: 1em;
475 text-indent: -1em;
476 }
477 p.h0i2 {
478 padding-left: 2em;
479 text-indent: -2em;
480 }
481 p.h0i3 {
482 padding-left: 3em;
483 text-indent: -3em;
484 }
485 p.h0i4 {
486 padding-left: 4em;
487 text-indent: -4em;
488 }
489 p.h0i5 {
490 padding-left: 5em;
491 text-indent: -5em;
492 }
493 p.h0i6 {
494 padding-left: 6em;
495 text-indent: -6em;
496 }
497 p.h0i7 {
498 padding-left: 7em;
499 text-indent: -7em;
500 }
501 p.h0i8 {
502 padding-left: 8em;
503 text-indent: -8em;
504 }
505 p.h0i9 {
506 padding-left: 9em;
507 text-indent: -9em;
508 }
509
510 p.h1i0 {
511 padding-left: 0em;
512 text-indent: 1em;
513 }
514 p.h1i1 {
515 padding-left: 1em;
516 text-indent: 0em;
517 }
518 p.h1i2 {
519 padding-left: 2em;
520 text-indent: -1em;
521 }
522 p.h1i3 {
523 padding-left: 3em;
524 text-indent: -2em;
525 }
526 p.h1i4 {
527 padding-left: 4em;
528 text-indent: -3em;
529 }
530 p.h1i5 {
531 padding-left: 5em;
532 text-indent: -4em;
533 }
534 p.h1i6 {
535 padding-left: 6em;
536 text-indent: -5em;
537 }
538 p.h1i7 {
539 padding-left: 7em;
540 text-indent: -6em;
541 }
542 p.h1i8 {
543 padding-left: 8em;
544 text-indent: -7em;
545 }
546 p.h1i9 {
547 padding-left: 9em;
548 text-indent: -8em;
549 }
550
551 p.h2i0 {
552 padding-left: 0em;
553 text-indent: 2em;
554 }
555 p.h2i1 {
556 padding-left: 1em;
557 text-indent: 1em;
558 }
559 p.h2i2 {
560 padding-left: 2em;
561 text-indent: 0em;
562 }
563 p.h2i3 {
564 padding-left: 3em;
565 text-indent: -1em;
566 }
567 p.h2i4 {
568 padding-left: 4em;
569 text-indent: -2em;
570 }
571 p.h2i5 {
572 padding-left: 5em;
573 text-indent: -3em;
574 }
575 p.h2i6 {
576 padding-left: 6em;
577 text-indent: -4em;
578 }
579 p.h2i7 {
580 padding-left: 7em;
581 text-indent: -5em;
582 }
583 p.h2i8 {
584 padding-left: 8em;
585 text-indent: -6em;
586 }
587 p.h2i9 {
588 padding-left: 9em;
589 text-indent: -7em;
590 }
591
592 p.h3i0 {
593 padding-left: 0em;
594 text-indent: 3em;
595 }
596 p.h3i1 {
597 padding-left: 1em;
598 text-indent: 2em;
599 }
600 p.h3i2 {
601 padding-left: 2em;
602 text-indent: 1em;
603 }
604 p.h3i3 {
605 padding-left: 3em;
606 text-indent: 0em;
607 }
608 p.h3i4 {
609 padding-left: 4em;
610 text-indent: -1em;
611 }
612 p.h3i5 {
613 padding-left: 5em;
614 text-indent: -2em;
615 }
616 p.h3i6 {
617 padding-left: 6em;
618 text-indent: -3em;
619 }
620 p.h3i7 {
621 padding-left: 7em;
622 text-indent: -4em;
623 }
624 p.h3i8 {
625 padding-left: 8em;
626 text-indent: -5em;
627 }
628 p.h3i9 {
629 padding-left: 9em;
630 text-indent: -6em;
631 }
632
633 p.h4i0 {
634 padding-left: 0em;
635 text-indent: 4em;
636 }
637 p.h4i1 {
638 padding-left: 1em;
639 text-indent: 3em;
640 }
641 p.h4i2 {
642 padding-left: 2em;
643 text-indent: 2em;
644 }
645 p.h4i3 {
646 padding-left: 3em;
647 text-indent: 1em;
648 }
649 p.h4i4 {
650 padding-left: 4em;
651 text-indent: 0em;
652 }
653 p.h4i5 {
654 padding-left: 5em;
655 text-indent: -1em;
656 }
657 p.h4i6 {
658 padding-left: 6em;
659 text-indent: -2em;
660 }
661 p.h4i7 {
662 padding-left: 7em;
663 text-indent: -3em;
664 }
665 p.h4i8 {
666 padding-left: 8em;
667 text-indent: -4em;
668 }
669 p.h4i9 {
670 padding-left: 9em;
671 text-indent: -5em;
672 }
673
674 p.h5i0 {
675 padding-left: 0em;
676 text-indent: 5em;
677 }
678 p.h5i1 {
679 padding-left: 1em;
680 text-indent: 4em;
681 }
682 p.h5i2 {
683 padding-left: 2em;
684 text-indent: 3em;
685 }
686 p.h5i3 {
687 padding-left: 3em;
688 text-indent: 2em;
689 }
690 p.h5i4 {
691 padding-left: 4em;
692 text-indent: 1em;
693 }
694 p.h5i5 {
695 padding-left: 5em;
696 text-indent: 0em;
697 }
698 p.h5i6 {
699 padding-left: 6em;
700 text-indent: -1em;
701 }
702 p.h5i7 {
703 padding-left: 7em;
704 text-indent: -2em;
705 }
706 p.h5i8 {
707 padding-left: 8em;
708 text-indent: -3em;
709 }
710 p.h5i9 {
711 padding-left: 9em;
712 text-indent: -4em;
713 }
714
715 p.h6i0 {
716 padding-left: 0em;
717 text-indent: 6em;
718 }
719 p.h6i1 {
720 padding-left: 1em;
721 text-indent: 5em;
722 }
723 p.h6i2 {
724 padding-left: 2em;
725 text-indent: 4em;
726 }
727 p.h6i3 {
728 padding-left: 3em;
729 text-indent: 3em;
730 }
731 p.h6i4 {
732 padding-left: 4em;
733 text-indent: 2em;
734 }
735 p.h6i5 {
736 padding-left: 5em;
737 text-indent: 1em;
738 }
739 p.h6i6 {
740 padding-left: 6em;
741 text-indent: 0em;
742 }
743 p.h6i7 {
744 padding-left: 7em;
745 text-indent: -1em;
746 }
747 p.h6i8 {
748 padding-left: 8em;
749 text-indent: -2em;
750 }
751 p.h6i9 {
752 padding-left: 9em;
753 text-indent: -3em;
754 }
755
756 p.h7i0 {
757 padding-left: 0em;
758 text-indent: 7em;
759 }
760 p.h7i1 {
761 padding-left: 1em;
762 text-indent: 6em;
763 }
764 p.h7i2 {
765 padding-left: 2em;
766 text-indent: 5em;
767 }
768 p.h7i3 {
769 padding-left: 3em;
770 text-indent: 4em;
771 }
772 p.h7i4 {
773 padding-left: 4em;
774 text-indent: 3em;
775 }
776 p.h7i5 {
777 padding-left: 5em;
778 text-indent: 2em;
779 }
780 p.h7i6 {
781 padding-left: 6em;
782 text-indent: 1em;
783 }
784 p.h7i7 {
785 padding-left: 7em;
786 text-indent: 0em;
787 }
788 p.h7i8 {
789 padding-left: 8em;
790 text-indent: -1em;
791 }
792 p.h7i9 {
793 padding-left: 9em;
794 text-indent: -2em;
795 }
796
797 p.h8i0 {
798 padding-left: 0em;
799 text-indent: 8em;
800 }
801 p.h8i1 {
802 padding-left: 1em;
803 text-indent: 7em;
804 }
805 p.h8i2 {
806 padding-left: 2em;
807 text-indent: 6em;
808 }
809 p.h8i3 {
810 padding-left: 3em;
811 text-indent: 5em;
812 }
813 p.h8i4 {
814 padding-left: 4em;
815 text-indent: 4em;
816 }
817 p.h8i5 {
818 padding-left: 5em;
819 text-indent: 3em;
820 }
821 p.h8i6 {
822 padding-left: 6em;
823 text-indent: 2em;
824 }
825 p.h8i7 {
826 padding-left: 7em;
827 text-indent: 1em;
828 }
829 p.h8i8 {
830 padding-left: 8em;
831 text-indent: 0em;
832 }
833 p.h8i9 {
834 padding-left: 9em;
835 text-indent: -1em;
836 }
837
838 p.h9i0 {
839 padding-left: 0em;
840 text-indent: 9em;
841 }
842 p.h9i1 {
843 padding-left: 1em;
844 text-indent: 8em;
845 }
846 p.h9i2 {
847 padding-left: 2em;
848 text-indent: 7em;
849 }
850 p.h9i3 {
851 padding-left: 3em;
852 text-indent: 6em;
853 }
854 p.h9i4 {
855 padding-left: 4em;
856 text-indent: 5em;
857 }
858 p.h9i5 {
859 padding-left: 5em;
860 text-indent: 4em;
861 }
862 p.h9i6 {
863 padding-left: 6em;
864 text-indent: 3em;
865 }
866 p.h9i7 {
867 padding-left: 7em;
868 text-indent: 2em;
869 }
870 p.h9i8 {
871 padding-left: 8em;
872 text-indent: 1em;
873 }
874 p.h9i9 {
875 padding-left: 9em;
876 text-indent: 0em;
877 }
878
879 p.it0 {
880 margin-left: 0em;
881 margin-top: 6px;
882 margin-bottom: 0px;
883 line-height: 100%;
884 }
885 p.it1 {
886 margin-left: 1em;
887 margin-top: 0px;
888 margin-bottom: 0px;
889 line-height: 100%;
890 }
891 p.it2 {
892 margin-left: 2em;
893 margin-top: 0px;
894 margin-bottom: 0px;
895 line-height: 100%;
896 }
897 p.it3 {
898 margin-left: 3em;
899 margin-top: 0px;
900 margin-bottom: 0px;
901 line-height: 100%;
902 }
903 p.it4 {
904 margin-left: 4em;
905 margin-top: 0px;
906 margin-bottom: 0px;
907 line-height: 100%;
908 }
909 p.it5 {
910 margin-left: 5em;
911 margin-top: 0px;
912 margin-bottom: 0px;
913 line-height: 100%;
914 }
915 p.it6 {
916 margin-left: 6em;
917 margin-top: 0px;
918 margin-bottom: 0px;
919 line-height: 100%;
920 }
921 p.it7 {
922 margin-left: 7em;
923 margin-top: 0px;
924 margin-bottom: 0px;
925 line-height: 100%;
926 }
927 p.it8 {
928 margin-left: 8em;
929 margin-top: 0px;
930 margin-bottom: 0px;
931 line-height: 100%;
932 }
933 p.it9 {
934 margin-left: 9em;
935 margin-bottom: 0px;
936 margin-top: 0px;
937 line-height: 100%;
938 }
939
940 p.block { }
941
942 p.group { }
943
944 p.alt { }
945
946 p.verse {
947 margin-bottom: 6px;
948 }
949
950 p.code {
951 font-family: inconsolata, andale mono, courier new, courier, monospace;
952 font-size: 90%;
953 text-align: left;
954 background-color: #eeeeee;
955 }
956
957 p.caption {
958 text-align: left;
959 font-size: 80%;
960 display: inline;
961 }
962
963 p.endnote {
964 font-size: 96%;
965 line-height: 120%;
966 text-align: left;
967 margin-right: 15mm;
968 }
969 p.endnote_indent {
970 font-size: 96%;
971 line-height: 120%;
972 text-align: left;
973 margin-left: 2em;
974 margin-right: 15mm;
975 }
976
977 p.center {
978 text-align: center;
979 }
980 p.bold {
981 font-weight: bold;
982 }
983 p.bold_left {
984 font-weight: bold;
985 text-align: left;
986 }
987 p.centerbold {
988 text-align: center;
989 font-weight: bold;
990 }
991 p.em {
992 font-weight: bold;
993 font-style: normal;
994 background: #fff3b6;
995 }
996
997 p.small {
998 font-size: 80%;
999 margin-top: 0px;
1000 margin-bottom: 0px;
1001 margin-right: 6px;
1002 text-align: left;
1003 }
1004
1005 .tiny, .tiny_left, .tiny_right, .tiny_center {
1006 font-size: 10px;
1007 margin-top: 0px;
1008 margin-bottom: 0px;
1009 color: #777777;
1010 margin-right: 6px;
1011 text-align: left;
1012 }
1013 p.tiny { }
1014 p.tiny_left {
1015 margin-left: 0px;
1016 margin-right: 0px;
1017 text-align: left;
1018 }
1019 p.tiny_right {
1020 margin-right: 1em;
1021 text-align: right;
1022 }
1023 p.tiny_center {
1024 margin-left: 0px;
1025 margin-right: 0px;
1026 text-align: center;
1027 }
1028
1029 p.pane, p.pane_title, p.pane_blurb, p.pane_link, p.pane_indent {
1030 font-size: 80%;
1031 margin-top: 0px;
1032 margin-bottom: 0px;
1033 margin-left: 2mm;
1034 margin-right: 4px;
1035 text-align: left;
1036 }
1037 p.pane { }
1038 p.pane_title {
1039 font-weight: bold;
1040 margin-bottom: 0px;
1041 }
1042 p.pane_blurb {
1043 font-size: 10px;
1044 margin-bottom: 0px;
1045 }
1046 p.pane_link {
1047 font-size: 10px;
1048 margin-bottom: 0px;
1049 margin-left: 4mm;
1050 }
1051 p.pane_indent {
1052 font-size: 10px;
1053 margin-bottom: 0px;
1054 margin-left: 4mm;
1055 }
1056
1057 p.concordance_word {
1058 line-height: 150%;
1059 font-weight: bold;
1060 display: inline;
1061 margin-top: 4px;
1062 margin-bottom: 1px;
1063 }
1064 p.concordance_count {
1065 font-size: 80%;
1066 color: #777777;
1067 display: inline;
1068 margin-left: 0em;
1069 }
1070 p.concordance_object {
1071 font-size: 80%;
1072 line-height: 120%;
1073 text-align: left;
1074 margin-left: 3em;
1075 margin-top: 1px;
1076 margin-bottom: 3px;
1077 }
1078 p.book_index_lev1 {
1079 line-height: 100%;
1080 margin-top: 4px;
1081 margin-bottom: 1px;
1082 }
1083 p.book_index_lev2 {
1084 line-height: 100%;
1085 text-align: left;
1086 margin-left: 3em;
1087 margin-top: 1px;
1088 margin-bottom: 3px;
1089 }
1090
1091 p.quickref {
1092 font-size: 10px;
1093 font-style: italic;
1094 margin-top: 0px;
1095 margin-bottom: 0px;
1096 color: #777777;
1097 margin-right: 5px;
1098 text-align: left;
1099 }
1100 p.bigref {
1101 font-size: 11px;
1102 font-weight: bold;
1103 margin-top: 0px;
1104 margin-bottom: 0px;
1105 color: #777777;
1106 margin-right: 5px;
1107 text-align: center;
1108 }
1109
1110 p.letter {
1111 font-weight: bold;
1112 font-size: 80%;
1113 margin-left: 0em;
1114 margin-top: 2px;
1115 margin-bottom: 2px;
1116 margin-right: 6px;
1117 text-align: left;
1118 color: white;
1119 background: #880000;
1120 }
1121
1122 tt {
1123 font-family: inconsolata, andale mono, courier new, courier, monospace;
1124 background-color: #eeeeee;
1125 }
1126
1127 label.ocn {
1128 width: 2%;
1129 float: right;
1130 top: 0;
1131 font-size: 10px;
1132 margin-top: 0px;
1133 margin-bottom: 5px;
1134 color: #777777;
1135 margin-right: 5px;
1136 text-align: right;
1137 background-color: #ffffff;
1138 }
1139
1140 table { }
1141 tr { }
1142 th,td {
1143 vertical-align: top;
1144 text-align: left;
1145 }
1146 th {
1147 font-weight: bold;
1148 }
1149
1150 p.left,th.left,td.left {
1151 text-align: left;
1152 }
1153 p.small_left,th.small_left,td.small_left {
1154 text-align: left;
1155 font-size: 80%;
1156 }
1157 p.right,th.right,td.right {
1158 text-align: right;
1159 }
1160
1161 #horizontal_links {
1162 background: #eeeeee;
1163 margin-left: 5%;
1164 margin-right: 5%;
1165 }
1166 #horizontal {
1167 margin: 0;
1168 padding: 0 0 0 10px;
1169 border-top: 1px solid #000077;
1170 border-bottom: 1px solid #000077;
1171 }
1172 #horizontal li {
1173 margin: 0 0 0 0;
1174 padding: 0 16px 0 0;
1175 display: inline;
1176 list-style-type: none;
1177 text-align: left;
1178 background: none;
1179 }
1180 #horizontal a {
1181 line-height: 12px;
1182 margin: 0 0 0 0;
1183 text-decoration: none;
1184 color: #000077;
1185 }
1186 #horizontal a.active, #horizontal a:hover {
1187 border-bottom: 2px solid #777777;
1188 padding-bottom: 2px;
1189 color: #000077;
1190 }
1191 #horizontal a:hover {
1192 color: #000077;
1193 }
1194
1195 #document_versions {
1196 position: absolute;
1197 top: 10mm;
1198 right: 2%;
1199 width: 12%;
1200 float: right;
1201 }
1202
1203 #vertical_links {
1204 position: absolute;
1205 top: 10mm;
1206 right: 0px;
1207 width: 20%;
1208 background: #dddddd;
1209 float: right;
1210 }
1211 #vertical {
1212 padding: 0 12px 0px 0px;
1213 margin-left: 2%;
1214 margin-right: 2%;
1215 }
1216 #vertical li {
1217 display: block;
1218 list-style-type: none;
1219 }
1220 #vertical a {
1221 line-height: 12px;
1222 text-decoration: none;
1223 color: #000077;
1224 }
1225 #vertical a.active, #vertical a:hover {
1226 border-bottom: 2px solid #777777;
1227 padding-bottom: 2px;
1228 color: #000077;
1229 }
1230
1231 ul, li {
1232 list-style-type: none;
1233 list-style: none;
1234 padding-left: 20px;
1235 display: block;
1236 font-family: verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman;
1237 font-weight: normal;
1238 line-height: 150%;
1239 text-align: left;
1240 text-indent: 0mm;
1241 margin-left: 1em;
1242 margin-right: 2em;
1243 margin-top: 3px;
1244 margin-bottom: 3px;
1245 }
1246
1247 li {
1248 background: url(../image_sys/bullet_09.png) no-repeat 0px 6px;
1249 }
1250
1251 ul {
1252 }
1253 li.bullet { margin-left: 1em; }
1254 li.i1 { margin-left: 2em; }
1255 li.i2 { margin-left: 3em; }
1256 li.i3 { margin-left: 4em; }
1257 li.i4 { margin-left: 5em; }
1258 li.i5 { margin-left: 6em; }
1259 li.i6 { margin-left: 7em; }
1260 li.i7 { margin-left: 8em; }
1261 li.i8 { margin-left: 9em; }
1262 li.i9 { margin-left: 10em; }
1263
1264 li.doc, li.ref, li.refcenter {
1265 margin-top: 0px;
1266 margin-bottom: 0px;
1267 margin-right: 0px;
1268 font-size: 8px;
1269 font-style: normal;
1270 text-align: left;
1271 }
1272 li.doc {
1273 background: url(../image_sys/bullet_09.png) no-repeat 0px 6px;
1274 padding-left: 16px;
1275 margin-left: 10px;
1276 margin-right: 0px;
1277 }
1278 li.ref {
1279 background: none;
1280 padding-left: 0;
1281 margin-left: 0;
1282 color: #777777;
1283 }
1284 li.refcenter {
1285 background: url(../image_sys/bullet_09.png) no-repeat 0px 6px;
1286 padding-left: 20px;
1287 margin-left: 10%;
1288 font-size: 9px;
1289 color: #777777;
1290 text-align: center;
1291 }
1292 li.refbold {
1293 list-style-type: none;
1294 padding-left: 16px;
1295 margin-left: 0;
1296 margin-right: 10mm;
1297 font-weight: bold;
1298 }
1299
1300 h0, h1, h2, h3, h4, h5, h6, h7 {
1301 font-weight: bold;
1302 line-height: 120%;
1303 text-align: left;
1304 margin-top: 20px;
1305 margin-bottom: 10px;
1306 }
1307 h4.norm, h5.norm, h6.norm, h7.norm {
1308 margin-top: 10px;
1309 margin-bottom: 0px;
1310 }
1311 h1.center, h2.center, h3.center, h4.center, h5.center, h6.center, h7.center {
1312 text-align: center;
1313 }
1314 h1 { font-size: 120%; }
1315 h2 { font-size: 115%; }
1316 h3 { font-size: 110%; }
1317 h4 { font-size: 105%; }
1318 h5 { font-size: 100%; }
1319 h6 { font-size: 100%; }
1320 h7 { font-size: 100%; }
1321 h0 { font-size: 80%; }
1322
1323 h1.i {margin-left: 2em;}
1324 h2.i {margin-left: 3em;}
1325 h3.i {margin-left: 4em;}
1326 h4.i {margin-left: 5em;}
1327 h5.i {margin-left: 6em;}
1328 h6.i {margin-left: 7em;}
1329 h7.i {margin-left: 8em;}
1330 h8.i {margin-left: 9em;}
1331 h9.i {margin-left: 10em;}
1332 h1.top_band {
1333 display: inline;
1334 text-align: left;
1335 margin-top: 0;
1336 margin-left: 4mm;
1337 text-indent: 0mm;
1338 font-weight: bold;
1339 font-size: 120%;
1340 }
1341 h2.top_band_tiny {
1342 font-size: 10px;
1343 font-weight: normal;
1344 margin-top: 0px;
1345 margin-left: 4mm;
1346 text-indent: 0mm;
1347 margin-bottom: 0px;
1348 color: #777777;
1349 margin-left: 140px;
1350 margin-right: 0px;
1351 text-align: left;
1352 }
1353
1354 p.top_band {
1355 display: inline;
1356 text-align: left;
1357 margin-top: 0;
1358 margin-left: 140px;
1359 text-indent: 0mm;
1360 font-weight: bold;
1361 font-size: 120%;
1362 }
1363 p.top_band_tiny {
1364 font-size: 10px;
1365 margin-top: 0px;
1366 margin-bottom: 0px;
1367 color: #777777;
1368 margin-left: 140px;
1369 margin-right: 0px;
1370 text-align: left;
1371 }
1372 p.top_band_image {
1373 float: left;
1374 display: inline;
1375 text-align: left;
1376 margin-top: 0;
1377 margin-left: 1mm;
1378 text-indent: 0mm;
1379 margin-right: 1mm;
1380 }
1381
1382 .banner, .subbanner {
1383 font-weight: bold;
1384 text-align: center;
1385 margin-left: 10mm;
1386 margin-right: 15mm;
1387 margin-top: 20px;
1388 margin-bottom: 10px;
1389 }
1390
1391 h1.banner {
1392 font-size: 120%;
1393 }
1394 h1.subbanner {
1395 font-size: 115%;
1396 }
1397 h2.banner {
1398 font-size: 110%;
1399 }
1400 h3.banner {
1401 color: #990000;
1402 font-size: 105%;
1403 }
1404 h4.banner {
1405 color: #ff0000;
1406 font-size: 100%;
1407 }
1408 h5.banner {
1409 }
1410 h6.banner {
1411 }
1412 h7.banner {
1413 }
1414
1415 .toc {
1416 font-weight: normal;
1417 margin-top: 6px;
1418 margin-bottom: 6px;
1419 }
1420 h1.toc {
1421 margin-left: 1em;
1422 font-size: 115%;
1423 line-height: 150%;
1424 }
1425 h2.toc {
1426 margin-left: 2em;
1427 font-size: 110%;
1428 line-height: 140%;
1429 }
1430 h3.toc {
1431 margin-left: 3em;
1432 font-size: 105%;
1433 line-height: 120%;
1434 }
1435 h4.toc {
1436 margin-left: 4em;
1437 font-size: 100%;
1438 line-height: 120%;
1439 }
1440 h5.toc {
1441 margin-left: 5em;
1442 font-size: 95%;
1443 line-height: 110%;
1444 }
1445 h6.toc {
1446 margin-left: 6em;
1447 font-size: 90%;
1448 line-height: 110%;
1449 }
1450 h7.toc {
1451 margin-left: 7em;
1452 font-size: 85%;
1453 line-height: 100%;
1454 }
1455
1456 .microtoc {
1457 margin-top: 2px;
1458 margin-bottom: 2px;
1459 }
1460
1461 h1.microtoc {
1462 margin-left: 0mm;
1463 font-size: 115%;
1464 }
1465 h2.microtoc {
1466 margin-left: 5mm;
1467 font-size: 110%;
1468 }
1469 h3.microtoc {
1470 margin-left: 10mm;
1471 font-size: 105%;
1472 }
1473 h4.microtoc {
1474 margin-left: 15mm;
1475 font-weight: normal;
1476 font-size: 100%;
1477 }
1478 h5.microtoc {
1479 margin-left: 20mm;
1480 font-weight: normal;
1481 font-size: 95%;
1482 }
1483 h6.microtoc {
1484 margin-left: 25mm;
1485 font-weight: normal;
1486 font-size: 90%;
1487 }
1488 h7.microtoc {
1489 margin-left: 30mm;
1490 font-weight: normal;
1491 font-size: 85%;
1492 }
1493
1494 .subtoc {
1495 margin-right: 34%;
1496 font-weight: normal;
1497 }
1498 h5.subtoc {
1499 margin-left: 2em;
1500 font-size: 80%;
1501 margin-top: 2px;
1502 margin-bottom: 2px;
1503 }
1504 h6.subtoc {
1505 margin-left: 3em;
1506 font-size: 75%;
1507 margin-top: 0px;
1508 margin-bottom: 0px;
1509 }
1510 h7.subtoc {
1511 margin-left: 4em;
1512 font-size: 70%;
1513 margin-top: 0px;
1514 margin-bottom: 0px;
1515 }
1516
1517 div.substance {
1518 width: 100%;
1519 background-color: #ffffff;
1520 }
1521 div.ocn {
1522 width: 5%;
1523 float: right;
1524 top: 0;
1525 background-color: #ffffff;
1526 }
1527 div.endnote {
1528 width: 95%;
1529 background-color: #fffffff;
1530 }
1531 div.toc {
1532 position: absolute;
1533 float: left;
1534 margin: 0;
1535 padding: 0;
1536 padding-top: 0.5em;
1537 border: 0;
1538 width: 13em;
1539 background-color: #eeeeee;
1540 margin-right:1em;
1541 }
1542 div.summary {
1543 margin: 0;
1544 padding: 0;
1545 border-left: 13em solid #eeeeee;
1546 padding-left: 1em;
1547 background-color: #eeeeee;
1548 }
1549 div.content, div.main_column {
1550 margin: 0;
1551 padding: 0;
1552 border-left: 13em solid #ffffff;
1553 padding-left: 1em;
1554 padding-right: 1em;
1555 }
1556 div.content0, div.main_column0 {
1557 margin: 0;
1558 padding: 0;
1559 border-left: 0% solid #ffffff;
1560 padding-left: 5%;
1561 }
1562 div.scroll {
1563 margin: 0;
1564 padding: 0;
1565 padding-left: 1em;
1566 padding-right: 1em;
1567 }
1568 div.content:after {
1569 content:' ';
1570 clear:both;
1571 display:block;
1572 height:0;
1573 overflow:hidden
1574 }
1575 div.footer {
1576 clear:left;
1577 padding: 0.5em;
1578 font-size: 80%;
1579 margin: 0;
1580 }
1581 div.toc ul {
1582 list-style: none;
1583 padding: 0;
1584 margin: 0;
1585 }
1586 div.toc li ul a, li ul span.currentlink
1587 {
1588 font-weight: normal;
1589 font-size: 90%;
1590 padding-left: 2em;
1591 background-color: #eeeeee;
1592 }
1593 div.toc a, span.currentlink{
1594 display:block;
1595 text-decoration: none;
1596 padding-left: 0.5em;
1597 color: #0000aa;
1598 }
1599 hr {
1600 width: 90%;
1601 }
1602
1603 span.currentlink {
1604 text-decoration: none;
1605 background-color: #aaaaf9;
1606 }
1607
1608 div.toc a:visited {
1609 color: #0000aa;
1610 }
1611 div.toc a:hover {
1612 color: #000000;
1613 background-color: #f9f9aa;
1614 }
1615
1616 .minitoc {
1617 font-weight: normal;
1618 margin-top: 2px;
1619 margin-bottom: 2px;
1620 }
1621 h1.minitoc, h2.minitoc, h3.minitoc {
1622 margin-left: 0em;
1623 font-weight: bold;
1624 text-align: left;
1625 font-size: 90%;
1626 margin-top: 4px;
1627 margin-bottom: 4px;
1628 }
1629 h4.minitoc {
1630 margin-left: 0em;
1631 font-size: 90%;
1632 }
1633 h5.minitoc {
1634 margin-left: 1em;
1635 font-size: 85%;
1636 }
1637 h6.minitoc {
1638 margin-left: 2em;
1639 font-size: 85%;
1640 }
1641 h7.minitoc {
1642 margin-left: 3em;
1643 font-size: 80%;
1644 }
1645 h0.minitoc {
1646 margin-left: 0em;
1647 font-size: 90%;
1648 }
1649
1650 h1.c, h2.c, h3.c, h4.c, h5.c, h6.c, h7.c, p.c {
1651 text-align: center
1652 }
1653 h1.red, h2.red, h3.red, h4.red, h5.red, h6.red, h7.red {
1654 text-align: center;
1655 color: #ff0000;
1656 margin-left: 5mm;
1657 text-indent: 5mm;
1658 margin-top: 30px;
1659 margin-bottom: 20px;
1660 margin-right: 15mm;
1661 }
1662 h1.ruby, h2.ruby, h3.ruby, h4.ruby, h5.ruby, h6.ruby, h7.ruby {
1663 text-align: center;
1664 color: #990000;
1665 margin-left: 5mm;
1666 text-indent: 5mm;
1667 margin-top: 30px;
1668 margin-bottom: 20px;
1669 margin-right: 15mm;
1670 }
1671 WOK
1672 end
1673 def homepage #stylesheet for index, home page
1674 <<WOK
1675 body {color: black; background: #{the_color.white}; margin:10px 10px 0px 10px; padding:0px;}
1676 p { line-height: 1.5 }
1677 a:link {color: #{the_color.blue_ink}; text-decoration: none; }
1678 a:visited {color: #{the_color.blue_ink}; text-decoration: none; }
1679 a:hover {color: #{the_color.black}; text-decoration: underline; background-color: #{the_color.yellow_light};}
1680 a:active {color: #{the_color.blue_ink}; text-decoration: underline;}
1681 #banner {
1682 background:#{the_color.white};
1683 }
1684 #column_left {
1685 width:25%;
1686 float:left;
1687 background:#b9d4dd;
1688 padding-bottom:10px;
1689 }
1690 #column_center {
1691 width:55%;
1692 float:left;
1693 background:#{the_color.white};
1694 padding-bottom:10px;
1695 }
1696 #column_right {
1697 width:20%;
1698 float:left;
1699 background:#b9d4dd;
1700 padding-bottom:10px;
1701 }
1702 p,h1,pre {
1703 font-family: #{the_font.set_fonts};
1704 margin:0px 10px 10px 10px;
1705 }
1706 h1 {
1707 font-size:14px;
1708 padding-top:10px;
1709 }
1710 #column_right p { font-size:12px}
1711 #banner h1 { margin:0px; padding:10px}
1712 WOK
1713 end
1714 def xhtml #stylesheet for xhtml
1715 <<WOK
1716 /* SiSU css xhtml & sax.xml default style */
1717 document {
1718 display: block;
1719 margin-left: 0mm;
1720 margin-right: 0mm;
1721 }
1722 head {
1723 display: block;
1724 margin-bottom: 20px;
1725 background-color: #dddddd;
1726 }
1727 metadata {
1728 display: block;
1729 }
1730 meta {
1731 display: inline;
1732 line-height: 1;
1733 font-size: 10px;
1734 color: #990000;
1735 margin-right: 2mm;
1736 margin-top: 0px;
1737 margin-bottom: 0px;
1738
1739 }
1740 data,md {
1741 display: inline;
1742 line-height: 1;
1743 font-size: 10px;
1744 color: #000099;
1745 margin-top: 0px;
1746 margin-bottom: 0px;
1747 }
1748 source_control {
1749 display: block;
1750 }
1751 dc {
1752 display: block;
1753 font-family: #{the_font.set_fonts};
1754 color: blue;
1755 background-color: #dddddd;
1756 font-weight: normal;
1757 text-align: justify;
1758 font-size: xx-small;
1759 line-height: 120%;
1760 margin-left: 5%;
1761 margin-right: 5mm;
1762 margin-top: 0px;
1763 margin-bottom: 0px;
1764 }
1765 sc {
1766 display: inline;
1767 color: green;
1768 }
1769 keywords,copyright {
1770 display: block;
1771 font-family: #{the_font.set_fonts};
1772 color: red;
1773 background-color: #dddddd;
1774 font-weight: normal;
1775 text-align: justify;
1776 font-size: xx-small;
1777 line-height: 120%;
1778 margin-left: 5%;
1779 margin-right: 5mm;
1780 margin-top: 0px;
1781 margin-bottom: 0px;
1782 }
1783 table {
1784 margin-left: 5%;
1785 display: block;
1786 }
1787 tr {
1788 display: block;
1789 }
1790 th,td {
1791 display: inline;
1792 }
1793 body {
1794 color: black;
1795 background: #ffffff;
1796 }
1797 a:link {
1798 color: #003399;
1799 text-decoration: none;
1800 }
1801 a:visited {
1802 color: #003399;
1803 text-decoration: none;
1804 /* background-color: #e3ecef; */
1805 }
1806 a:hover {
1807 color: #000000;
1808 text-decoration: underline;
1809 background-color: #fff3b6;
1810 }
1811 a:hover IMG {
1812 background-color: #ffffff;
1813 }
1814 a:active {
1815 color: #003399;
1816 text-decoration: underline;
1817 }
1818 object {
1819 display: block;
1820 margin-left: 2mm;
1821 margin-right: 2mm;
1822 margin-top: 4px;
1823 margin-bottom: 8px;
1824 }
1825 text,text[class|="norm"] {
1826 display: block;
1827 font-family: #{the_font.set_fonts};
1828 text-align: justify;
1829 font-weight: normal;
1830 font-size: 100%;
1831 line-height: 150%;
1832 margin-left: 5%;
1833 margin-right: 5%;
1834 margin-top: 2px;
1835 margin-bottom: 0px;
1836 }
1837 text[class|="h1"] {
1838 font-size: 120%;
1839 font-weight: bold;
1840 text-align: left;
1841 line-height: 120%;
1842 margin-top: 20px;
1843 margin-bottom: 10px;
1844 }
1845 text[class|="h2"] {
1846 font-weight: bold;
1847 font-size: 110%;
1848 text-align: left;
1849 margin-top: 20px;
1850 margin-bottom: 10px;
1851 }
1852 text[class|="h3"] {
1853 font-size: 110%;
1854 font-weight: bold;
1855 text-align: left;
1856 }
1857 text[class|="h4"] {
1858 font-size: 110%;
1859 font-weight: bold;
1860 text-align: left;
1861 }
1862 text[class|="h5"] {
1863 font-size: 110%;
1864 font-weight: bold;
1865 text-align: left;
1866 }
1867 text[class|="h6"] {
1868 font-size: 110%;
1869 font-weight: bold;
1870 text-align: left;
1871 }
1872 text[class|="h7"] {
1873 font-size: 110%;
1874 font-weight: bold;
1875 text-align: left;
1876 }
1877 text[class|="indent0"] {
1878 padding-left: 10%;
1879 }
1880 text[class|="indent1"] {
1881 padding-left: 15%;
1882 }
1883 text[class|="indent2"] {
1884 padding-left: 20%;
1885 }
1886 text[class|="indent3"] {
1887 padding-left: 25%;
1888 }
1889 text[class|="indent4"] {
1890 padding-left: 30%;
1891 }
1892 text[class|="indent5"] {
1893 padding-left: 35%;
1894 }
1895 text[class|="indent6"] {
1896 padding-left: 40%;
1897 }
1898 text[class|="indent7"] {
1899 padding-left: 45%;
1900 }
1901 text[class|="indent8"] {
1902 padding-left: 50%;
1903 }
1904 text[class|="indent9"] {
1905 padding-left: 55%;
1906 }
1907
1908 text[class|="hang0_indent0"] {
1909 padding-left: 10%;
1910 text-indent: 0%;
1911 }
1912 text[class|="hang0_indent1"] {
1913 padding-left: 15%;
1914 text-indent: -5%;
1915 }
1916 text[class|="hang0_indent2"] {
1917 padding-left: 20%;
1918 text-indent: -10%;
1919 }
1920 text[class|="hang0_indent3"] {
1921 padding-left: 25%;
1922 text-indent: -15%;
1923 }
1924 text[class|="hang0_indent4"] {
1925 padding-left: 30%;
1926 text-indent: -20%;
1927 }
1928 text[class|="hang0_indent5"] {
1929 padding-left: 35%;
1930 text-indent: -25%;
1931 }
1932 text[class|="hang0_indent6"] {
1933 padding-left: 40%;
1934 text-indent: -30%;
1935 }
1936 text[class|="hang0_indent7"] {
1937 padding-left: 45%;
1938 text-indent: -35%;
1939 }
1940 text[class|="hang0_indent8"] {
1941 padding-left: 50%;
1942 text-indent: -40%;
1943 }
1944 text[class|="hang0_indent9"] {
1945 padding-left: 55%;
1946 text-indent: -45%;
1947 }
1948
1949 text[class|="hang1_indent0"] {
1950 padding-left: 10%;
1951 text-indent: 5%;
1952 }
1953 text[class|="hang1_indent1"] {
1954 padding-left: 15%;
1955 text-indent: 0%;
1956 }
1957 text[class|="hang1_indent2"] {
1958 padding-left: 20%;
1959 text-indent: -5%;
1960 }
1961 text[class|="hang1_indent3"] {
1962 padding-left: 25%;
1963 text-indent: -10%;
1964 }
1965 text[class|="hang1_indent4"] {
1966 padding-left: 30%;
1967 text-indent: -15%;
1968 }
1969 text[class|="hang1_indent5"] {
1970 padding-left: 35%;
1971 text-indent: -20%;
1972 }
1973 text[class|="hang1_indent6"] {
1974 padding-left: 40%;
1975 text-indent: -25%;
1976 }
1977 text[class|="hang1_indent7"] {
1978 padding-left: 45%;
1979 text-indent: -30%;
1980 }
1981 text[class|="hang1_indent8"] {
1982 padding-left: 50%;
1983 text-indent: -35%;
1984 }
1985 text[class|="hang1_indent9"] {
1986 padding-left: 55%;
1987 text-indent: -40%;
1988 }
1989
1990 text[class|="hang2_indent0"] {
1991 padding-left: 10%;
1992 text-indent: 10%;
1993 }
1994 text[class|="hang2_indent1"] {
1995 padding-left: 15%;
1996 text-indent: 5%;
1997 }
1998 text[class|="hang2_indent2"] {
1999 padding-left: 20%;
2000 text-indent: 0%;
2001 }
2002 text[class|="hang2_indent3"] {
2003 padding-left: 25%;
2004 text-indent: -5%;
2005 }
2006 text[class|="hang2_indent4"] {
2007 padding-left: 30%;
2008 text-indent: -10%;
2009 }
2010 text[class|="hang2_indent5"] {
2011 padding-left: 35%;
2012 text-indent: -15%;
2013 }
2014 text[class|="hang2_indent6"] {
2015 padding-left: 40%;
2016 text-indent: -20%;
2017 }
2018 text[class|="hang2_indent7"] {
2019 padding-left: 45%;
2020 text-indent: -25%;
2021 }
2022 text[class|="hang2_indent8"] {
2023 padding-left: 50%;
2024 text-indent: -30%;
2025 }
2026 text[class|="hang2_indent9"] {
2027 padding-left: 55%;
2028 text-indent: -35%;
2029 }
2030
2031 text[class|="hang3_indent0"] {
2032 padding-left: 10%;
2033 text-indent: 15%;
2034 }
2035 text[class|="hang3_indent1"] {
2036 padding-left: 15%;
2037 text-indent: 10%;
2038 }
2039 text[class|="hang3_indent2"] {
2040 padding-left: 20%;
2041 text-indent: 5%;
2042 }
2043 text[class|="hang3_indent3"] {
2044 padding-left: 25%;
2045 text-indent: 0%;
2046 }
2047 text[class|="hang3_indent4"] {
2048 padding-left: 30%;
2049 text-indent: -5%;
2050 }
2051 text[class|="hang3_indent5"] {
2052 padding-left: 35%;
2053 text-indent: -10%;
2054 }
2055 text[class|="hang3_indent6"] {
2056 padding-left: 40%;
2057 text-indent: -15%;
2058 }
2059 text[class|="hang3_indent7"] {
2060 padding-left: 45%;
2061 text-indent: -20%;
2062 }
2063 text[class|="hang3_indent8"] {
2064 padding-left: 50%;
2065 text-indent: -25%;
2066 }
2067 text[class|="hang3_indent9"] {
2068 padding-left: 55%;
2069 text-indent: -30%;
2070 }
2071
2072 text[class|="hang4_indent0"] {
2073 padding-left: 10%;
2074 text-indent: 20%;
2075 }
2076 text[class|="hang4_indent1"] {
2077 padding-left: 15%;
2078 text-indent: 15%;
2079 }
2080 text[class|="hang4_indent2"] {
2081 padding-left: 20%;
2082 text-indent: 10%;
2083 }
2084 text[class|="hang4_indent3"] {
2085 padding-left: 25%;
2086 text-indent: 5%;
2087 }
2088 text[class|="hang4_indent4"] {
2089 padding-left: 30%;
2090 text-indent: 0%;
2091 }
2092 text[class|="hang4_indent5"] {
2093 padding-left: 35%;
2094 text-indent: -5%;
2095 }
2096 text[class|="hang4_indent6"] {
2097 padding-left: 40%;
2098 text-indent: -10%;
2099 }
2100 text[class|="hang4_indent7"] {
2101 padding-left: 45%;
2102 text-indent: -15%;
2103 }
2104 text[class|="hang4_indent8"] {
2105 padding-left: 50%;
2106 text-indent: -20%;
2107 }
2108 text[class|="hang4_indent9"] {
2109 padding-left: 55%;
2110 text-indent: -25%;
2111 }
2112
2113 text[class|="hang5_indent0"] {
2114 padding-left: 10%;
2115 text-indent: 25%;
2116 }
2117 text[class|="hang5_indent1"] {
2118 padding-left: 15%;
2119 text-indent: 20%;
2120 }
2121 text[class|="hang5_indent2"] {
2122 padding-left: 20%;
2123 text-indent: 15%;
2124 }
2125 text[class|="hang5_indent3"] {
2126 padding-left: 25%;
2127 text-indent: 10%;
2128 }
2129 text[class|="hang5_indent4"] {
2130 padding-left: 30%;
2131 text-indent: 5%;
2132 }
2133 text[class|="hang5_indent5"] {
2134 padding-left: 35%;
2135 text-indent: 0%;
2136 }
2137 text[class|="hang5_indent6"] {
2138 padding-left: 40%;
2139 text-indent: -5%;
2140 }
2141 text[class|="hang5_indent7"] {
2142 padding-left: 45%;
2143 text-indent: -10%;
2144 }
2145 text[class|="hang5_indent8"] {
2146 padding-left: 50%;
2147 text-indent: -15%;
2148 }
2149 text[class|="hang5_indent9"] {
2150 padding-left: 55%;
2151 text-indent: -20%;
2152 }
2153
2154 text[class|="hang6_indent0"] {
2155 padding-left: 10%;
2156 text-indent: 30%;
2157 }
2158 text[class|="hang6_indent1"] {
2159 padding-left: 15%;
2160 text-indent: 25%;
2161 }
2162 text[class|="hang6_indent2"] {
2163 padding-left: 20%;
2164 text-indent: 20%;
2165 }
2166 text[class|="hang6_indent3"] {
2167 padding-left: 25%;
2168 text-indent: 15%;
2169 }
2170 text[class|="hang6_indent4"] {
2171 padding-left: 30%;
2172 text-indent: 10%;
2173 }
2174 text[class|="hang6_indent5"] {
2175 padding-left: 35%;
2176 text-indent: 5%;
2177 }
2178 text[class|="hang6_indent6"] {
2179 padding-left: 40%;
2180 text-indent: 0%;
2181 }
2182 text[class|="hang6_indent7"] {
2183 padding-left: 45%;
2184 text-indent: -5%;
2185 }
2186 text[class|="hang6_indent8"] {
2187 padding-left: 50%;
2188 text-indent: -10%;
2189 }
2190 text[class|="hang6_indent9"] {
2191 padding-left: 55%;
2192 text-indent: -15%;
2193 }
2194
2195 text[class|="hang7_indent0"] {
2196 padding-left: 10%;
2197 text-indent: 35%;
2198 }
2199 text[class|="hang7_indent1"] {
2200 padding-left: 15%;
2201 text-indent: 30%;
2202 }
2203 text[class|="hang7_indent2"] {
2204 padding-left: 20%;
2205 text-indent: 25%;
2206 }
2207 text[class|="hang7_indent3"] {
2208 padding-left: 25%;
2209 text-indent: 20%;
2210 }
2211 text[class|="hang7_indent4"] {
2212 padding-left: 30%;
2213 text-indent: 15%;
2214 }
2215 text[class|="hang7_indent5"] {
2216 padding-left: 35%;
2217 text-indent: 10%;
2218 }
2219 text[class|="hang7_indent6"] {
2220 padding-left: 40%;
2221 text-indent: 5%;
2222 }
2223 text[class|="hang7_indent7"] {
2224 padding-left: 45%;
2225 text-indent: 0%;
2226 }
2227 text[class|="hang7_indent8"] {
2228 padding-left: 50%;
2229 text-indent: -5%;
2230 }
2231 text[class|="hang7_indent9"] {
2232 padding-left: 55%;
2233 text-indent: -10%;
2234 }
2235
2236 text[class|="hang8_indent0"] {
2237 padding-left: 10%;
2238 text-indent: 40%;
2239 }
2240 text[class|="hang8_indent1"] {
2241 padding-left: 15%;
2242 text-indent: 35%;
2243 }
2244 text[class|="hang8_indent2"] {
2245 padding-left: 20%;
2246 text-indent: 30%;
2247 }
2248 text[class|="hang8_indent3"] {
2249 padding-left: 25%;
2250 text-indent: 25%;
2251 }
2252 text[class|="hang8_indent4"] {
2253 padding-left: 30%;
2254 text-indent: 20%;
2255 }
2256 text[class|="hang8_indent5"] {
2257 padding-left: 35%;
2258 text-indent: 15%;
2259 }
2260 text[class|="hang8_indent6"] {
2261 padding-left: 40%;
2262 text-indent: 10%;
2263 }
2264 text[class|="hang8_indent7"] {
2265 padding-left: 45%;
2266 text-indent: 5%;
2267 }
2268 text[class|="hang8_indent8"] {
2269 padding-left: 50%;
2270 text-indent: 0%;
2271 }
2272 text[class|="hang8_indent9"] {
2273 padding-left: 55%;
2274 text-indent: -5%;
2275 }
2276
2277 text[class|="hang9_indent0"] {
2278 padding-left: 10%;
2279 text-indent: 45%;
2280 }
2281 text[class|="hang9_indent1"] {
2282 padding-left: 15%;
2283 text-indent: 40%;
2284 }
2285 text[class|="hang9_indent2"] {
2286 padding-left: 20%;
2287 text-indent: 35%;
2288 }
2289 text[class|="hang9_indent3"] {
2290 padding-left: 25%;
2291 text-indent: 30%;
2292 }
2293 text[class|="hang9_indent4"] {
2294 padding-left: 30%;
2295 text-indent: 25%;
2296 }
2297 text[class|="hang9_indent5"] {
2298 padding-left: 35%;
2299 text-indent: 20%;
2300 }
2301 text[class|="hang9_indent6"] {
2302 padding-left: 40%;
2303 text-indent: 15%;
2304 }
2305 text[class|="hang9_indent7"] {
2306 padding-left: 45%;
2307 text-indent: 10%;
2308 }
2309 text[class|="hang9_indent8"] {
2310 padding-left: 50%;
2311 text-indent: 5%;
2312 }
2313 text[class|="hang9_indent9"] {
2314 padding-left: 55%;
2315 text-indent: 0%;
2316 }
2317
2318 text[class|="indent_bullet"] {
2319 text-indent: 0%;
2320 }
2321 text[class|="indent_bullet0"] {
2322 text-indent: 0%;
2323 }
2324 text[class|="indent_bullet1"] {
2325 text-indent: 10%;
2326 }
2327 text[class|="indent_bullet2"] {
2328 text-indent: 15%;
2329 }
2330 text[class|="indent_bullet3"] {
2331 text-indent: 20%;
2332 }
2333 text[class|="indent_bullet4"] {
2334 text-indent: 25%;
2335 }
2336 text[class|="indent_bullet5"] {
2337 text-indent: 30%;
2338 }
2339 text[class|="indent_bullet6"] {
2340 text-indent: 35%;
2341 }
2342 text[class|="indent_bullet7"] {
2343 text-indent: 40%;
2344 }
2345 text[class|="indent_bullet8"] {
2346 text-indent: 45%;
2347 }
2348 text[class|="indent_bullet9"] {
2349 text-indent: 50%;
2350 }
2351 text[class|="verse"], text[class|="block"], text[class|="group"], text[class|="code"] {
2352 text-align: left;
2353 }
2354 ocn {
2355 display: block;
2356 text-align: right;
2357 vertical-align: super;
2358 color: #990000;
2359 font-size: xx-small;
2360 margin-right: 0mm;
2361 margin-top: 0px;
2362 margin-bottom: 0px;
2363 }
2364 named {
2365 display: block;
2366 margin-right: 0mm;
2367 margin-top: 0px;
2368 margin-bottom: 0px;
2369 }
2370 endnote {
2371 display: block;
2372 font-size: small;
2373 font-family: #{the_font.set_fonts};
2374 font-weight: normal;
2375 line-height: 150%;
2376 text-align: justify;
2377 margin-left: 10%;
2378 margin-right: 5%;
2379 margin-top: 4px;
2380 margin-bottom: 0px;
2381 }
2382 endnote_indent {
2383 display: block;
2384 font-size: small;
2385 font-family: #{the_font.set_fonts};
2386 font-weight: normal;
2387 line-height: 150%;
2388 text-align: justify;
2389 margin-left: 15%;
2390 margin-right: 5%;
2391 margin-top: 4px;
2392 margin-bottom: 0px;
2393 }
2394 en {
2395 font-size: xx-small;
2396 vertical-align: super;
2397 }
2398 i { font-style: italic; }
2399 b { font-style: bold; }
2400 u { text-decoration: underline; }
2401 br { display: block; }
2402
2403 text[class|="table"] {
2404 display: table;
2405 /* display: block; */
2406 text-align: left;
2407 }
2408
2409 table {
2410 margin-left: 0%;
2411 display: block;
2412 /* display: table; */
2413 width: 100%;
2414 }
2415 tr {
2416 display: block;
2417 /* display: table-row; */
2418 }
2419 th, td {
2420 display: table-cell;
2421 /* display: inline; */
2422 vertical-align: top;
2423 }
2424 p.left, th.left, td.left {
2425 text-align: left;
2426 }
2427 p.small_left, th.small_left, td.small_left {
2428 text-align: left;
2429 font-size: 80%;
2430 }
2431 p.right, th.right, td.right {
2432 text-align: right;
2433 }
2434
2435 .svg_outer {
2436 display: block;
2437 margin-bottom: 0;
2438 margin-left: 0;
2439 margin-right: 0;
2440 margin-top: 0;
2441 padding-bottom: 0;
2442 padding-left: 0;
2443 padding-right: 0;
2444 padding-top: 0;
2445 text-align: left;
2446 }
2447 .svg_inner {
2448 display: block;
2449 text-align: center;
2450 }
2451 WOK
2452 end
2453 def xml_sax #stylesheet for xml sax
2454 xhtml
2455 end
2456 def xml_dom #sylesheet for xml dom, work on, starts from copy of css_xhtml
2457 <<WOK
2458 /* SiSU css dom.xml default style */
2459 document {
2460 display: block;
2461 margin-left: 0mm;
2462 margin-right: 0mm;
2463 }
2464 head {
2465 display: block;
2466 margin-bottom: 20px;
2467 background-color: #dddddd;
2468 }
2469 header {
2470 display: block;
2471 }
2472 meta {
2473 display: inline;
2474 line-height: 1;
2475 font-size: 10px;
2476 color: #990000;
2477 margin-right: 2mm;
2478 margin-top: 0px;
2479 margin-bottom: 0px;
2480
2481 }
2482 md {
2483 display: inline;
2484 line-height: 1;
2485 font-size: 10px;
2486 color: #000099;
2487 margin-top: 0px;
2488 margin-bottom: 0px;
2489 }
2490 source_control {
2491 display: block;
2492 }
2493 dc {
2494 display: block;
2495 font-family: #{the_font.set_fonts};
2496 color: blue;
2497 background-color: #dddddd;
2498 font-weight: normal;
2499 text-align: justify;
2500 font-size: xx-small;
2501 line-height: 120%;
2502 margin-left: 5%;
2503 margin-right: 5mm;
2504 margin-top: 0px;
2505 margin-bottom: 0px;
2506 }
2507 sc {
2508 display: inline;
2509 color: green;
2510 }
2511 keywords,copyright {
2512 display: block;
2513 font-family: #{the_font.set_fonts};
2514 color: red;
2515 background-color: #dddddd;
2516 font-weight: normal;
2517 text-align: justify;
2518 font-size: xx-small;
2519 line-height: 120%;
2520 margin-left: 5%;
2521 margin-right: 5mm;
2522 margin-top: 0px;
2523 margin-bottom: 0px;
2524 }
2525 body {
2526 color: black;
2527 background: #ffffff;
2528 }
2529 a:link {
2530 color: #003399;
2531 text-decoration: none;
2532 }
2533 a:visited {
2534 color: #003399;
2535 text-decoration: none;
2536 /* background-color: #e3ecef; */
2537 }
2538 a:hover {
2539 color: #000000;
2540 text-decoration: underline;
2541 background-color: #fff3b6;
2542 }
2543 a:hover IMG {
2544 background-color: #ffffff;
2545 }
2546 a:active {
2547 color: #003399;
2548 text-decoration: underline;
2549 }
2550 object {
2551 display: block;
2552 margin-left: 2mm;
2553 margin-right: 2mm;
2554 margin-top: 4px;
2555 margin-bottom: 8px;
2556 }
2557 heading {
2558 font-weight: bold;
2559 }
2560 contents {
2561 font-weight: normal;
2562 }
2563 text {
2564 display: block;
2565 font-family: #{the_font.set_fonts};
2566 text-align: justify;
2567 font-size: 100%;
2568 line-height: 150%;
2569 margin-left: 5%;
2570 margin-right: 5%;
2571 margin-top: 2px;
2572 margin-bottom: 0px;
2573 }
2574 text[class|="norm"] {
2575 font-weight: normal;
2576 }
2577 text[class|="h1"] {
2578 font-size: 120%;
2579 font-weight: bold;
2580 text-align: left;
2581 line-height: 120%;
2582 margin-top: 20px;
2583 margin-bottom: 10px;
2584 }
2585 text[class|="h2"] {
2586 font-weight: bold;
2587 font-size: 110%;
2588 text-align: left;
2589 margin-top: 20px;
2590 margin-bottom: 10px;
2591 }
2592 text[class|="h3"] {
2593 font-size: 110%;
2594 font-weight: bold;
2595 text-align: left;
2596 }
2597 text[class|="h4"] {
2598 font-size: 110%;
2599 font-weight: bold;
2600 text-align: left;
2601 }
2602 text[class|="h5"] {
2603 font-size: 110%;
2604 font-weight: bold;
2605 text-align: left;
2606 }
2607 text[class|="h6"] {
2608 font-size: 110%;
2609 font-weight: bold;
2610 text-align: left;
2611 }
2612 text[class|="h7"] {
2613 font-size: 110%;
2614 font-weight: bold;
2615 text-align: left;
2616 }
2617 text[class|="indent0"] {
2618 padding-left: 10%;
2619 }
2620 text[class|="indent1"] {
2621 padding-left: 15%;
2622 }
2623 text[class|="indent2"] {
2624 padding-left: 20%;
2625 }
2626 text[class|="indent3"] {
2627 padding-left: 25%;
2628 }
2629 text[class|="indent4"] {
2630 padding-left: 30%;
2631 }
2632 text[class|="indent5"] {
2633 padding-left: 35%;
2634 }
2635 text[class|="indent6"] {
2636 padding-left: 40%;
2637 }
2638 text[class|="indent7"] {
2639 padding-left: 45%;
2640 }
2641 text[class|="indent8"] {
2642 padding-left: 50%;
2643 }
2644 text[class|="indent9"] {
2645 padding-left: 55%;
2646 }
2647
2648 text[class|="hang0_indent0"] {
2649 padding-left: 10%;
2650 text-indent: 0%;
2651 }
2652 text[class|="hang0_indent1"] {
2653 padding-left: 15%;
2654 text-indent: -5%;
2655 }
2656 text[class|="hang0_indent2"] {
2657 padding-left: 20%;
2658 text-indent: -10%;
2659 }
2660 text[class|="hang0_indent3"] {
2661 padding-left: 25%;
2662 text-indent: -15%;
2663 }
2664 text[class|="hang0_indent4"] {
2665 padding-left: 30%;
2666 text-indent: -20%;
2667 }
2668 text[class|="hang0_indent5"] {
2669 padding-left: 35%;
2670 text-indent: -25%;
2671 }
2672 text[class|="hang0_indent6"] {
2673 padding-left: 40%;
2674 text-indent: -30%;
2675 }
2676 text[class|="hang0_indent7"] {
2677 padding-left: 45%;
2678 text-indent: -35%;
2679 }
2680 text[class|="hang0_indent8"] {
2681 padding-left: 50%;
2682 text-indent: -40%;
2683 }
2684 text[class|="hang0_indent9"] {
2685 padding-left: 55%;
2686 text-indent: -45%;
2687 }
2688
2689 text[class|="hang1_indent0"] {
2690 padding-left: 10%;
2691 text-indent: 5%;
2692 }
2693 text[class|="hang1_indent1"] {
2694 padding-left: 15%;
2695 text-indent: 0%;
2696 }
2697 text[class|="hang1_indent2"] {
2698 padding-left: 20%;
2699 text-indent: -5%;
2700 }
2701 text[class|="hang1_indent3"] {
2702 padding-left: 25%;
2703 text-indent: -10%;
2704 }
2705 text[class|="hang1_indent4"] {
2706 padding-left: 30%;
2707 text-indent: -15%;
2708 }
2709 text[class|="hang1_indent5"] {
2710 padding-left: 35%;
2711 text-indent: -20%;
2712 }
2713 text[class|="hang1_indent6"] {
2714 padding-left: 40%;
2715 text-indent: -25%;
2716 }
2717 text[class|="hang1_indent7"] {
2718 padding-left: 45%;
2719 text-indent: -30%;
2720 }
2721 text[class|="hang1_indent8"] {
2722 padding-left: 50%;
2723 text-indent: -35%;
2724 }
2725 text[class|="hang1_indent9"] {
2726 padding-left: 55%;
2727 text-indent: -40%;
2728 }
2729
2730 text[class|="hang2_indent0"] {
2731 padding-left: 10%;
2732 text-indent: 10%;
2733 }
2734 text[class|="hang2_indent1"] {
2735 padding-left: 15%;
2736 text-indent: 5%;
2737 }
2738 text[class|="hang2_indent2"] {
2739 padding-left: 20%;
2740 text-indent: 0%;
2741 }
2742 text[class|="hang2_indent3"] {
2743 padding-left: 25%;
2744 text-indent: -5%;
2745 }
2746 text[class|="hang2_indent4"] {
2747 padding-left: 30%;
2748 text-indent: -10%;
2749 }
2750 text[class|="hang2_indent5"] {
2751 padding-left: 35%;
2752 text-indent: -15%;
2753 }
2754 text[class|="hang2_indent6"] {
2755 padding-left: 40%;
2756 text-indent: -20%;
2757 }
2758 text[class|="hang2_indent7"] {
2759 padding-left: 45%;
2760 text-indent: -25%;
2761 }
2762 text[class|="hang2_indent8"] {
2763 padding-left: 50%;
2764 text-indent: -30%;
2765 }
2766 text[class|="hang2_indent9"] {
2767 padding-left: 55%;
2768 text-indent: -35%;
2769 }
2770
2771 text[class|="hang3_indent0"] {
2772 padding-left: 10%;
2773 text-indent: 15%;
2774 }
2775 text[class|="hang3_indent1"] {
2776 padding-left: 15%;
2777 text-indent: 10%;
2778 }
2779 text[class|="hang3_indent2"] {
2780 padding-left: 20%;
2781 text-indent: 5%;
2782 }
2783 text[class|="hang3_indent3"] {
2784 padding-left: 25%;
2785 text-indent: 0%;
2786 }
2787 text[class|="hang3_indent4"] {
2788 padding-left: 30%;
2789 text-indent: -5%;
2790 }
2791 text[class|="hang3_indent5"] {
2792 padding-left: 35%;
2793 text-indent: -10%;
2794 }
2795 text[class|="hang3_indent6"] {
2796 padding-left: 40%;
2797 text-indent: -15%;
2798 }
2799 text[class|="hang3_indent7"] {
2800 padding-left: 45%;
2801 text-indent: -20%;
2802 }
2803 text[class|="hang3_indent8"] {
2804 padding-left: 50%;
2805 text-indent: -25%;
2806 }
2807 text[class|="hang3_indent9"] {
2808 padding-left: 55%;
2809 text-indent: -30%;
2810 }
2811
2812 text[class|="hang4_indent0"] {
2813 padding-left: 10%;
2814 text-indent: 20%;
2815 }
2816 text[class|="hang4_indent1"] {
2817 padding-left: 15%;
2818 text-indent: 15%;
2819 }
2820 text[class|="hang4_indent2"] {
2821 padding-left: 20%;
2822 text-indent: 10%;
2823 }
2824 text[class|="hang4_indent3"] {
2825 padding-left: 25%;
2826 text-indent: 5%;
2827 }
2828 text[class|="hang4_indent4"] {
2829 padding-left: 30%;
2830 text-indent: 0%;
2831 }
2832 text[class|="hang4_indent5"] {
2833 padding-left: 35%;
2834 text-indent: -5%;
2835 }
2836 text[class|="hang4_indent6"] {
2837 padding-left: 40%;
2838 text-indent: -10%;
2839 }
2840 text[class|="hang4_indent7"] {
2841 padding-left: 45%;
2842 text-indent: -15%;
2843 }
2844 text[class|="hang4_indent8"] {
2845 padding-left: 50%;
2846 text-indent: -20%;
2847 }
2848 text[class|="hang4_indent9"] {
2849 padding-left: 55%;
2850 text-indent: -25%;
2851 }
2852
2853 text[class|="hang5_indent0"] {
2854 padding-left: 10%;
2855 text-indent: 25%;
2856 }
2857 text[class|="hang5_indent1"] {
2858 padding-left: 15%;
2859 text-indent: 20%;
2860 }
2861 text[class|="hang5_indent2"] {
2862 padding-left: 20%;
2863 text-indent: 15%;
2864 }
2865 text[class|="hang5_indent3"] {
2866 padding-left: 25%;
2867 text-indent: 10%;
2868 }
2869 text[class|="hang5_indent4"] {
2870 padding-left: 30%;
2871 text-indent: 5%;
2872 }
2873 text[class|="hang5_indent5"] {
2874 padding-left: 35%;
2875 text-indent: 0%;
2876 }
2877 text[class|="hang5_indent6"] {
2878 padding-left: 40%;
2879 text-indent: -5%;
2880 }
2881 text[class|="hang5_indent7"] {
2882 padding-left: 45%;
2883 text-indent: -10%;
2884 }
2885 text[class|="hang5_indent8"] {
2886 padding-left: 50%;
2887 text-indent: -15%;
2888 }
2889 text[class|="hang5_indent9"] {
2890 padding-left: 55%;
2891 text-indent: -20%;
2892 }
2893
2894 text[class|="hang6_indent0"] {
2895 padding-left: 10%;
2896 text-indent: 30%;
2897 }
2898 text[class|="hang6_indent1"] {
2899 padding-left: 15%;
2900 text-indent: 25%;
2901 }
2902 text[class|="hang6_indent2"] {
2903 padding-left: 20%;
2904 text-indent: 20%;
2905 }
2906 text[class|="hang6_indent3"] {
2907 padding-left: 25%;
2908 text-indent: 15%;
2909 }
2910 text[class|="hang6_indent4"] {
2911 padding-left: 30%;
2912 text-indent: 10%;
2913 }
2914 text[class|="hang6_indent5"] {
2915 padding-left: 35%;
2916 text-indent: 5%;
2917 }
2918 text[class|="hang6_indent6"] {
2919 padding-left: 40%;
2920 text-indent: 0%;
2921 }
2922 text[class|="hang6_indent7"] {
2923 padding-left: 45%;
2924 text-indent: -5%;
2925 }
2926 text[class|="hang6_indent8"] {
2927 padding-left: 50%;
2928 text-indent: -10%;
2929 }
2930 text[class|="hang6_indent9"] {
2931 padding-left: 55%;
2932 text-indent: -15%;
2933 }
2934
2935 text[class|="hang7_indent0"] {
2936 padding-left: 10%;
2937 text-indent: 35%;
2938 }
2939 text[class|="hang7_indent1"] {
2940 padding-left: 15%;
2941 text-indent: 30%;
2942 }
2943 text[class|="hang7_indent2"] {
2944 padding-left: 20%;
2945 text-indent: 25%;
2946 }
2947 text[class|="hang7_indent3"] {
2948 padding-left: 25%;
2949 text-indent: 20%;
2950 }
2951 text[class|="hang7_indent4"] {
2952 padding-left: 30%;
2953 text-indent: 15%;
2954 }
2955 text[class|="hang7_indent5"] {
2956 padding-left: 35%;
2957 text-indent: 10%;
2958 }
2959 text[class|="hang7_indent6"] {
2960 padding-left: 40%;
2961 text-indent: 5%;
2962 }
2963 text[class|="hang7_indent7"] {
2964 padding-left: 45%;
2965 text-indent: 0%;
2966 }
2967 text[class|="hang7_indent8"] {
2968 padding-left: 50%;
2969 text-indent: -5%;
2970 }
2971 text[class|="hang7_indent9"] {
2972 padding-left: 55%;
2973 text-indent: -10%;
2974 }
2975
2976 text[class|="hang8_indent0"] {
2977 padding-left: 10%;
2978 text-indent: 40%;
2979 }
2980 text[class|="hang8_indent1"] {
2981 padding-left: 15%;
2982 text-indent: 35%;
2983 }
2984 text[class|="hang8_indent2"] {
2985 padding-left: 20%;
2986 text-indent: 30%;
2987 }
2988 text[class|="hang8_indent3"] {
2989 padding-left: 25%;
2990 text-indent: 25%;
2991 }
2992 text[class|="hang8_indent4"] {
2993 padding-left: 30%;
2994 text-indent: 20%;
2995 }
2996 text[class|="hang8_indent5"] {
2997 padding-left: 35%;
2998 text-indent: 15%;
2999 }
3000 text[class|="hang8_indent6"] {
3001 padding-left: 40%;
3002 text-indent: 10%;
3003 }
3004 text[class|="hang8_indent7"] {
3005 padding-left: 45%;
3006 text-indent: 5%;
3007 }
3008 text[class|="hang8_indent8"] {
3009 padding-left: 50%;
3010 text-indent: 0%;
3011 }
3012 text[class|="hang8_indent9"] {
3013 padding-left: 55%;
3014 text-indent: -5%;
3015 }
3016
3017 text[class|="hang9_indent0"] {
3018 padding-left: 10%;
3019 text-indent: 45%;
3020 }
3021 text[class|="hang9_indent1"] {
3022 padding-left: 15%;
3023 text-indent: 40%;
3024 }
3025 text[class|="hang9_indent2"] {
3026 padding-left: 20%;
3027 text-indent: 35%;
3028 }
3029 text[class|="hang9_indent3"] {
3030 padding-left: 25%;
3031 text-indent: 30%;
3032 }
3033 text[class|="hang9_indent4"] {
3034 padding-left: 30%;
3035 text-indent: 25%;
3036 }
3037 text[class|="hang9_indent5"] {
3038 padding-left: 35%;
3039 text-indent: 20%;
3040 }
3041 text[class|="hang9_indent6"] {
3042 padding-left: 40%;
3043 text-indent: 15%;
3044 }
3045 text[class|="hang9_indent7"] {
3046 padding-left: 45%;
3047 text-indent: 10%;
3048 }
3049 text[class|="hang9_indent8"] {
3050 padding-left: 50%;
3051 text-indent: 5%;
3052 }
3053 text[class|="hang9_indent9"] {
3054 padding-left: 55%;
3055 text-indent: 0%;
3056 }
3057
3058 text[class|="indent_bullet"] {
3059 text-indent: 0%;
3060 }
3061 text[class|="indent_bullet0"] {
3062 text-indent: 0%;
3063 }
3064 text[class|="indent_bullet1"] {
3065 padding-left: 10%;
3066 }
3067 text[class|="indent_bullet2"] {
3068 padding-left: 15%;
3069 }
3070 text[class|="indent_bullet3"] {
3071 padding-left: 20%;
3072 }
3073 text[class|="indent_bullet4"] {
3074 padding-left: 25%;
3075 }
3076 text[class|="indent_bullet5"] {
3077 padding-left: 30%;
3078 }
3079 text[class|="indent_bullet6"] {
3080 padding-left: 35%;
3081 }
3082 text[class|="indent_bullet7"] {
3083 padding-left: 40%;
3084 }
3085 text[class|="indent_bullet8"] {
3086 padding-left: 45%;
3087 }
3088 text[class|="indent_bullet9"] {
3089 padding-left: 50%;
3090 }
3091 text[class|="verse"], text[class|="block"], text[class|="group"], text[class|="code"] {
3092 text-align: left;
3093 }
3094 table {
3095 margin-left: 5%;
3096 display: block;
3097 }
3098 tr {
3099 display: block;
3100 }
3101 th, td {
3102 display: inline;
3103 }
3104 nametag {
3105 display: none;
3106 }
3107 number {
3108 padding-right: 4px;
3109 }
3110 ocn {
3111 font-weight: normal;
3112 display: block;
3113 text-align: right;
3114 vertical-align: super;
3115 color: #990000;
3116 font-size: xx-small;
3117 margin-right: 0mm;
3118 margin-top: 0px;
3119 margin-bottom: 0px;
3120 }
3121 endnote {
3122 display: block;
3123 font-size: small;
3124 font-family: #{the_font.set_fonts};
3125 font-weight: normal;
3126 line-height: 150%;
3127 text-align: justify;
3128 margin-left: 10%;
3129 margin-right: 5%;
3130 margin-top: 4px;
3131 margin-bottom: 0px;
3132 }
3133 endnote_indent {
3134 display: block;
3135 font-size: small;
3136 font-family: #{the_font.set_fonts};
3137 font-weight: normal;
3138 line-height: 150%;
3139 text-align: justify;
3140 margin-left: 15%;
3141 margin-right: 5%;
3142 margin-top: 4px;
3143 margin-bottom: 0px;
3144 }
3145 en {
3146 font-size: xx-small;
3147 vertical-align: super;
3148 }
3149 i { font-style: italic; }
3150 b { font-style: bold; }
3151 u { text-decoration: underline; }
3152 br { display: block; }
3153 WOK
3154 end
3155 def xml_docbook #stylesheet for docbook
3156 <<WOK
3157 /* SiSU css docbook.xml default style */
3158 book {
3159 display: block;
3160 margin-left: 0mm;
3161 margin-right: 0mm;
3162 }
3163 bookinfo {
3164 display: block;
3165 margin-bottom: 20px;
3166 background-color: #dddddd;
3167 }
3168 source_control {
3169 display: block;
3170 }
3171 dc,sc {
3172 display: block;
3173 font-family: #{the_font.set_fonts};
3174 color: blue;
3175 background-color: #dddddd;
3176 font-weight: normal;
3177 text-align: justify;
3178 font-size: xx-small;
3179 line-height: 120%;
3180 margin-left: 5%;
3181 margin-right: 5mm;
3182 margin-top: 0px;
3183 margin-bottom: 0px;
3184 }
3185 sc {
3186 color: green;
3187 }
3188 keywords,copyright {
3189 display: block;
3190 font-family: #{the_font.set_fonts};
3191 color: red;
3192 background-color: #dddddd;
3193 font-weight: normal;
3194 text-align: justify;
3195 font-size: xx-small;
3196 line-height: 120%;
3197 margin-left: 5%;
3198 margin-right: 5mm;
3199 margin-top: 0px;
3200 margin-bottom: 0px;
3201 }
3202 body {
3203 color: black;
3204 background: #ffffff;
3205 }
3206 a:link {
3207 color: #003399;
3208 text-decoration: none;
3209 }
3210 a:visited {
3211 color: #003399;
3212 text-decoration: none;
3213 /* background-color: #e3ecef; */
3214 }
3215 a:hover {
3216 color: #000000;
3217 text-decoration: underline;
3218 background-color: #fff3b6;
3219 }
3220 a:hover IMG {
3221 background-color: #ffffff;
3222 }
3223 a:active {
3224 color: #003399;
3225 text-decoration: underline;
3226 }
3227 object {
3228 display: block;
3229 margin-left: 2mm;
3230 margin-right: 2mm;
3231 margin-top: 4px;
3232 margin-bottom: 8px;
3233 }
3234 part {
3235 display: block;
3236 /* font-weight: bold; */
3237 }
3238 contents {
3239 font-weight: normal;
3240 }
3241 para {
3242 display: block;
3243 font-family: #{the_font.set_fonts};
3244 /* font-weight: normal; */
3245 text-align: justify;
3246 font-size: 100%;
3247 line-height: 150%;
3248 margin-left: 5%;
3249 margin-right: 5%;
3250 margin-top: 2px;
3251 margin-bottom: 0px;
3252 }
3253 para.verse, para.block, para.group, para.code {
3254 text-align: left;
3255 }
3256 para.norm {
3257 font-family: #{the_font.set_fonts};
3258 font-weight: normal;
3259 }
3260 para.h1, title {
3261 display: block;
3262 font-family: #{the_font.set_fonts};
3263 font-size: 120%;
3264 font-weight: bold;
3265 text-align: left;
3266 line-height: 120%;
3267 margin-top: 20px;
3268 margin-bottom: 10px;
3269 }
3270 para.h2 {
3271 font-weight: bold;
3272 font-size: 110%;
3273 text-align: left;
3274 margin-top: 20px;
3275 margin-bottom: 10px;
3276 }
3277 para.h3 {
3278 font-size: 110%;
3279 font-weight: bold;
3280 text-align: left;
3281 }
3282 para.h4 {
3283 font-size: 110%;
3284 font-weight: bold;
3285 text-align: left;
3286 }
3287 para.h5 {
3288 font-size: 110%;
3289 font-weight: bold;
3290 text-align: left;
3291 }
3292 para.h6 {
3293 font-size: 110%;
3294 font-weight: bold;
3295 text-align: left;
3296 }
3297 para.h7 {
3298 font-size: 110%;
3299 font-weight: bold;
3300 text-align: left;
3301 }
3302 table {
3303 margin-left: 5%;
3304 display: block;
3305 }
3306 tr {
3307 display: block;
3308 }
3309 th, td {
3310 display: inline;
3311 }
3312 nametag {
3313 display: none;
3314 }
3315 number {
3316 padding-right: 4px;
3317 }
3318 ocn {
3319 font-weight: normal;
3320 display: block;
3321 text-align: right;
3322 vertical-align: super;
3323 color: #990000;
3324 font-size: xx-small;
3325 margin-right: 0mm;
3326 margin-top: 0px;
3327 margin-bottom: 0px;
3328 }
3329 endnote {
3330 display: block;
3331 font-size: small;
3332 font-family: #{the_font.set_fonts};
3333 font-weight: normal;
3334 line-height: 150%;
3335 text-align: justify;
3336 margin-left: 10%;
3337 margin-right: 5%;
3338 margin-top: 4px;
3339 margin-bottom: 0px;
3340 }
3341 endnote_indent {
3342 display: block;
3343 font-size: small;
3344 font-family: #{the_font.set_fonts};
3345 font-weight: normal;
3346 line-height: 150%;
3347 text-align: justify;
3348 margin-left: 15%;
3349 margin-right: 5%;
3350 margin-top: 4px;
3351 margin-bottom: 0px;
3352 }
3353 en {
3354 font-size: xx-small;
3355 vertical-align: super;
3356 }
3357 i { font-style: italic; }
3358 b { font-style: bold; }
3359 u { text-decoration: underline; }
3360 br { display: block; }
3361 WOK
3362 end
3363 def css_xhtml_p #stylesheet for ...
3364 <<WOK
3365 body {
3366 color: black;
3367 background: #ffffff;
3368 }
3369 a:link {
3370 color: #003399;
3371 text-decoration: none;
3372 }
3373 a:visited {
3374 color: #003399;
3375 text-decoration: none;
3376 /* background-color: #e3ecef; */
3377 }
3378 a:hover {
3379 color: #000000;
3380 text-decoration: underline;
3381 background-color: #fff3b6;
3382 }
3383 a:hover IMG {
3384 background-color: #ffffff;
3385 }
3386 a:active {
3387 color: #003399;
3388 text-decoration: underline;
3389 }
3390 object {
3391 display: block;
3392 margin-top: 3px;
3393 margin-bottom: 3px;
3394 margin-right: 5mm;
3395 }
3396 p {
3397 display: block;
3398 font-family: #{the_font.set_fonts};
3399 font-size: 100%;
3400 font-weight: normal;
3401 line-height: 150%;
3402 text-align: justify;
3403 margin-left: 10mm;
3404 margin-top: 3px;
3405 margin-bottom: 0px;
3406 margin-right: 5mm
3407 }
3408 p.norm { }
3409 p.endnote {
3410 font-size: 100%;
3411 margin-left: 20%;
3412 text-indent: 5%
3413 }
3414 p.endnote_indent {
3415 font-size: 100%;
3416 margin-left: 25%;
3417 text-indent: 5%
3418 }
3419 p.h1 {
3420 font-family: #{the_font.set_fonts};
3421 font-weight: bold;
3422 line-height: 120%;
3423 margin-left: 10mm;
3424 margin-right: 10mm;
3425 text-align: left;
3426 margin-top: 20px;
3427 margin-bottom: 10px;
3428 }
3429 p.h2 {
3430 font-weight: bold;
3431 font-size: 110%;
3432 margin-left: 10mm;
3433 margin-right: 15mm;
3434 text-align: left;
3435 margin-top: 20px;
3436 margin-bottom: 10px;
3437 }
3438 p.h3 {
3439 font-size: 150%;
3440 font-weight: bold;
3441 text-align: left;
3442 }
3443 p.h4 {
3444 font-size: 150%;
3445 font-weight: bold;
3446 text-align: left;
3447 }
3448 p.h5 {
3449 font-size: 150%;
3450 font-weight: bold;
3451 text-align: left;
3452 }
3453 p.h6 {
3454 font-size: 150%;
3455 font-weight: bold;
3456 text-align: left;
3457 }
3458 p.h7 {
3459 font-size: 150%;
3460 font-weight: bold;
3461 text-align: left;
3462 }
3463 ocn {
3464 display: block;
3465 text-align: right;
3466 vertical-align: super;
3467 color: #990000;
3468 font-size: xx-small;
3469 margin-top: 0px;
3470 margin-bottom: 6px;
3471 }
3472 en {
3473 font-size: xx-small;
3474 vertical-align: super;
3475 }
3476 i { font-style: italic; }
3477 b { font-style: bold; }
3478 u { text-decoration: underline; }
3479 br { display: block; }
3480 WOK
3481 end
3482 end
3483 end
3484 __END__