/ddoc/candydoc/style.css
CSS | 169 lines | 100 code | 23 blank | 46 comment | 0 complexity | 8667a104cce56d08c3505ea7eaf594af MD5 | raw file
1/* This file is a part of CanDyDOC fileset. 2 File is written by Victor Nakoryakov and placed into the public domain. 3 4 This file is main CSS file of CanDyDOC. You may adjust some part of 5 parameters to control how result documentation would looks like. See 6 further documentation for details. */ 7 8 9 10/* This controls how background would looks like and 11 sets some document-scope defaults. */ 12body 13{ 14 /* These parameters control default font. */ 15 font-family: Verdana, Arial, Helvetica, sans-serif; 16 font-size: 10pt; 17 color: #666666; 18 19 /* These control look of background. Note that you have to use 20 fixed background to keep documentation good-looking in 21 IE6 and earlier. Otherwise whole *explorer* will jerk while 22 scrolling. If you do not want to use background at all use 23 some invalid url, e.g. url(foo). */ 24 background-color: #e6fcea; 25 background: url(img/bg.gif) fixed; 26 27 /* Don't touch. Necessary for IE6 and earlier. */ 28 height: 100%; 29} 30 31 32 33/* Style applied to all tables. Actualy there are two: one table is 34 that contains contant and footer with CanDyDOC logo, and others 35 are that contains functions' parameters description. */ 36table 37{ 38 font-family: Verdana, Arial, Helvetica, sans-serif; 39 font-size: 10pt; 40 color: #666666; 41 text-align: justify; 42} 43 44 45/* Style used for all hyperlinks. */ 46a:link { color: #009900; text-decoration: none } 47a:visited { color: #009999; text-decoration: none } 48a:hover { color: #0033cc; text-decoration: none } 49a:active { color: #0033cc; text-decoration: none } 50 51/* 52table.matrix 53{ 54 border-left: double 3px #666666; 55 border-right: double 3px #666666; 56 margin-left: 3em; 57} 58*/ 59 60/* Style appled to declarations. E.g. 'void foo(int a, float b);' */ 61span.decl { font-size: 10pt; font-weight: bold; color: #000000; text-align: left } 62/* Style appled to current declaration's symbol. E.g. 'foo' in 'void foo(int a, float b);' */ 63span.currsymbol { font-size: 12pt; color: #009900 } 64/* Style appled to function's parameters. E.g. 'a' and 'b' in 'void foo(int a, float b);' */ 65span.funcparam { font-style: italic; font-weight: normal; color: #331200 } 66 67/* Style for div that actualy contains documenation. */ 68#content 69{ 70 padding-right: 8px; 71 position: absolute; 72 left: 245px; 73 top: 8px; 74 text-align: justify; 75} 76 77/* Style for table that is inside div considered above. Contains documentaton 78 itself and footer with CanDyDOC logo. */ 79table.content 80{ 81 margin-bottom: 8px; 82 border-spacing: 0px; 83 border-collapse: collapse; 84 background-color: #ffffff; 85} 86 87/* Style for cell of above considered table that contains documentation itself. */ 88#docbody 89{ 90 padding: 8px 20px 8px 20px; 91 border: solid 1px #009900; 92} 93 94/* Style for cell that contains CanDyDOC logo. */ 95#docfooter 96{ 97 height: 16px; 98 background-color: #ddeedd; 99 padding: 0px 8px 0px 8px; 100 border: solid 1px #009900; 101} 102 103/* Style applied to currently active tab of explorer window. */ 104span.activetab 105{ 106 background-color: #0033cc; 107 border-top: solid 2px #009900; 108 color: #ffffff; 109 font-weight: bold; 110 padding-left: 4px; 111 padding-right: 4px; 112 padding-top: 1px; 113 margin-right: 1px; 114} 115 116/* Style applied to currently inactive tab of explorer window. */ 117span.inactivetab 118{ 119 background-color: #000066; 120 color: #cccccc; 121 font-weight: normal; 122 padding-left: 4px; 123 padding-right: 4px; 124 padding-top: 0px; 125 margin-right: 1px; 126} 127 128/* Style applied to div that contains tabs of explorer. Note that if 129 you want to change it's position you have to change position of 130 #explorerclient, #content and corresponding values in ie56hack.css */ 131#tabarea 132{ 133 position: fixed; 134 top: 8px; 135 width: 205px; 136 height: 16px; 137 cursor: default; 138} 139 140 141/* Style applied to div that contains tree in explorer. Note that if 142 you want to change it's position you have to change position of 143 #tabarea, #content and corresponding values in ie56hack.css */ 144#explorerclient 145{ 146 position: fixed; 147 top: 24px; 148 bottom: 8px; 149 width: 205px; 150 overflow: auto; 151 background-color: #fcfffc; 152 border: solid 2px #0033cc; 153 padding: 4px; 154 cursor: default; 155 color: Black; 156} 157 158/* Following 3 styles control appearance of marker that appears 159 if you click some entity in outline window. */ 160div.markertop { border-left: solid 2px #0033cc;} 161div.markermiddle{ border-left: dotted 2px #0033cc;} 162div.markerbottom{ border-left: dotted 2px #66cc66;} 163 164/* Style applied to preformated text used to show examples. */ 165pre.d_code 166{ 167 border: dotted 1px #9c9; 168 background-color: #eeffee; 169}