toc.css (1235B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 toc { 6 position:fixed; 7 top:0; 8 left:0; 9 width:12em; 10 height:100%; 11 border-right: 1px solid black; 12 background-color: #CCE6F3; 13 font-family: Arial; 14 overflow:auto; 15 color: darkblue; 16 } 17 18 toc > title { 19 display: block; 20 font-size:12pt; 21 font-weight: bold; 22 background-color: black; 23 color:white; 24 } 25 26 toclink:visited { 27 color: purple; 28 } 29 30 toclink:active { 31 color: red; 32 } 33 34 level1 { 35 display: block; 36 font-weight:bold; 37 font-size:12pt; 38 margin-left: 4px; 39 margin-bottom: 2px; 40 } 41 42 level1 > toclink { 43 list-style-position: inside; 44 text-decoration: none; 45 color: darkblue; 46 } 47 48 level2 { 49 display: block; 50 font-size:11pt; 51 margin-left: 8px; 52 margin-bottom: 2px; 53 } 54 55 level2 > toclink { 56 list-style-position: inside; 57 text-decoration: none; 58 color: darkblue; 59 } 60 61 level3 { 62 display: list-item; 63 font-size: 8pt; 64 margin-left: 12px; 65 margin-bottom: 2px; 66 } 67 68 level3 > toclink { 69 list-style-position: inside; 70 text-decoration: none; 71 color: darkblue; 72 } 73 74 toc img { 75 margin-right: 1em; 76 }