From 6bc3b814011e829db684ec96bb3abd1e4abb29c3 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 8 Aug 2014 00:34:25 -0400 Subject: v5 v6: extend document structure, headings A - D, 1 - 4 * sql db table structure changed (needs to be rebuilt) --- lib/sisu/v5/css.rb | 59 ++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 51 insertions(+), 8 deletions(-) (limited to 'lib/sisu/v5/css.rb') diff --git a/lib/sisu/v5/css.rb b/lib/sisu/v5/css.rb index b99359aa..f1598550 100644 --- a/lib/sisu/v5/css.rb +++ b/lib/sisu/v5/css.rb @@ -236,7 +236,7 @@ WOK margin-bottom: 0px; text-indent: 0mm; } - p, h0, h1, h2, h3, h4, h5, h6 { + p, h0, h1, h2, h3, h4, h5, h6, h7 { display: block; font-family: verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman; font-size: 100%; @@ -447,7 +447,7 @@ WOK padding-left: 0em; text-indent: 0em; } - p, h0, h1, h2, h3, h4, h5, h6 { + p, h0, h1, h2, h3, h4, h5, h6, h7 { display: block; font-family: verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman; font-size: 100%; @@ -1307,18 +1307,18 @@ WOK font-weight: bold; } - h0, h1, h2, h3, h4, h5, h6 { + h0, h1, h2, h3, h4, h5, h6, h7 { font-weight: bold; line-height: 120%; text-align: left; margin-top: 20px; margin-bottom: 10px; } - h4.norm, h5.norm, h6.norm { + h4.norm, h5.norm, h6.norm, h7.norm { margin-top: 10px; margin-bottom: 0px; } - h1.center, h2.center, h3.center, h4.center, h5.center, h6.center { + h1.center, h2.center, h3.center, h4.center, h5.center, h6.center, h7.center { text-align: center; } h1 { font-size: 120%; } @@ -1327,6 +1327,7 @@ WOK h4 { font-size: 105%; } h5 { font-size: 100%; } h6 { font-size: 100%; } + h7 { font-size: 100%; } h0 { font-size: 80%; } h1.i {margin-left: 2em;} @@ -1418,6 +1419,8 @@ WOK } h6.banner { } + h7.banner { + } .toc { font-weight: normal; @@ -1454,6 +1457,11 @@ WOK font-size: 90%; line-height: 110%; } + h7.toc { + margin-left: 7em; + font-size: 85%; + line-height: 100%; + } .microtoc { margin-top: 2px; @@ -1487,6 +1495,11 @@ WOK font-weight: normal; font-size: 90%; } + h7.microtoc { + margin-left: 30mm; + font-weight: normal; + font-size: 85%; + } .subtoc { margin-right: 34%; @@ -1504,6 +1517,12 @@ WOK margin-top: 0px; margin-bottom: 0px; } + h7.subtoc { + margin-left: 4em; + font-size: 70%; + margin-top: 0px; + margin-bottom: 0px; + } div.substance { width: 100%; @@ -1629,15 +1648,19 @@ WOK margin-left: 2em; font-size: 85%; } + h7.minitoc { + margin-left: 3em; + font-size: 80%; + } h0.minitoc { margin-left: 0em; font-size: 90%; } - h1.c, h2.c, h3.c, h4.c, h5.c, h6.c, p.c { + h1.c, h2.c, h3.c, h4.c, h5.c, h6.c, h7.c, p.c { text-align: center } - h1.red, h2.red, h3.red, h4.red, h5.red, h6.red { + h1.red, h2.red, h3.red, h4.red, h5.red, h6.red, h7.red { text-align: center; color: #ff0000; margin-left: 5mm; @@ -1646,7 +1669,7 @@ WOK margin-bottom: 20px; margin-right: 15mm; } - h1.ruby, h2.ruby, h3.ruby, h4.ruby, h5.ruby, h6.ruby { + h1.ruby, h2.ruby, h3.ruby, h4.ruby, h5.ruby, h6.ruby, h7.ruby { text-align: center; color: #990000; margin-left: 5mm; @@ -1856,6 +1879,11 @@ WOK font-weight: bold; text-align: left; } + text[class|="h7"] { + font-size: 110%; + font-weight: bold; + text-align: left; + } text[class|="indent0"] { padding-left: 10%; } @@ -2591,6 +2619,11 @@ WOK font-weight: bold; text-align: left; } + text[class|="h7"] { + font-size: 110%; + font-weight: bold; + text-align: left; + } text[class|="indent0"] { padding-left: 10%; } @@ -3271,6 +3304,11 @@ WOK font-weight: bold; text-align: left; } + para.h7 { + font-size: 110%; + font-weight: bold; + text-align: left; + } table { margin-left: 5%; display: block; @@ -3427,6 +3465,11 @@ WOK font-weight: bold; text-align: left; } + p.h7 { + font-size: 150%; + font-weight: bold; + text-align: left; + } ocn { display: block; text-align: right; -- cgit v1.2.3