templates/sidebox.css in masterview_generator-0.2.5 vs templates/sidebox.css in masterview_generator-0.3.0

- old
+ new

@@ -13,20 +13,33 @@ margin-right: 2.5mm; float: right; clear: right; } +.content { + text-align: justify; + line-height: 1.5em; + margin-top: 0; + margin-right: 2em; /* IE layout broke in small windows, so reduced from 14em to 2em */ + margin-bottom: 0; + margin-left: 14em; + padding: 0 1em 1ex 1em; +} + /* For Mozilla-based (CSS2-fully complaint) browsers only: */ [class~="LHS"] { margin-left: 5mm; } [class~="RHS"] { margin-right: 5mm; } +[class~="content"] { + margin-right: 14em; /* allows one to use RHS sidebar too */ +} /* ###### Body Text ###### */ body { background-color: white; @@ -48,36 +61,29 @@ border-bottom-style: solid; border-bottom-width: 1px; padding-bottom: 0.5ex; } -h2 { +h2 { font-size: 120%; } img { border: none; } -.content { - text-align: justify; - line-height: 1.5em; - margin: 0 14em 0 14em; - padding: 0 1em 1ex 1em; -} - .content p { padding-bottom: 2ex; } .content a { font-weight: bold; font-size: 90%; } -.record { +.record { clear: none; } table,td,th{ border-width: 1px; @@ -90,15 +96,15 @@ td,th{ padding:.2em .5em; vertical-align:top; } -a { +a { text-decoration: none; } -a:hover { +a:hover { text-decoration: underline; } /* ###### Header ###### */ @@ -121,12 +127,12 @@ div.sidebar { border-style: solid none solid none; border-width: 2px 0 2px 0; width: 12em; - margin-top: 0; - margin-bottom: 1.25ex; + margin-top: 0; + margin-bottom: 1.25ex; } .sidebar h2 { font-size: 95%; font-weight: bold; @@ -140,21 +146,25 @@ text-decoration: none; display: block; padding: 0.35ex 0.35em 0.35ex 0.35em; } -.sidebar a:hover { +.sidebar a:hover { text-decoration: underline; display: block; padding: 0.35ex 0.35em 0.35ex 0.35em; } -.sidebar ul { +.sidebar ul { font-size: 85%; line-height: 80%; position: relative; left: -2em; list-style-type: none; +} + +.sidebar ul li.subsection_start { + margin-top: 6px; padding-top: 4px; border-top: 1px dashed; } /* ###### Footer ###### */ #footer { \ No newline at end of file