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