Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame^] | 1 | |
| 2 | /******** Eigen specific CSS code ************/ |
| 3 | |
| 4 | /**** Styles removing elements ****/ |
| 5 | |
| 6 | /* remove the "modules|classes" link for module pages (they are already in the TOC) */ |
| 7 | div.summary { |
| 8 | display:none; |
| 9 | } |
| 10 | |
| 11 | /* remove */ |
| 12 | div.contents hr { |
| 13 | display:none; |
| 14 | } |
| 15 | |
| 16 | /**** ****/ |
| 17 | |
| 18 | p, dl.warning, dl.attention, dl.note |
| 19 | { |
| 20 | max-width:60em; |
| 21 | text-align:justify; |
| 22 | } |
| 23 | |
| 24 | li { |
| 25 | max-width:55em; |
| 26 | text-align:justify; |
| 27 | } |
| 28 | |
| 29 | img { |
| 30 | border: 0; |
| 31 | } |
| 32 | |
| 33 | div.fragment { |
| 34 | display:table; /* this allows the element to be larger than its parent */ |
| 35 | padding: 0pt; |
| 36 | } |
| 37 | pre.fragment { |
| 38 | border: 1px solid #cccccc; |
| 39 | |
| 40 | margin: 2px 0px 2px 0px; |
| 41 | padding: 3px 5px 3px 5px; |
| 42 | } |
| 43 | |
| 44 | |
| 45 | |
| 46 | /* Common style for all Eigen's tables */ |
| 47 | |
| 48 | table.example, table.manual, table.manual-vl { |
| 49 | max-width:100%; |
| 50 | border-collapse: collapse; |
| 51 | border-style: solid; |
| 52 | border-width: 1px; |
| 53 | border-color: #cccccc; |
| 54 | font-size: 1em; |
| 55 | |
| 56 | box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); |
| 57 | -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); |
| 58 | -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); |
| 59 | } |
| 60 | |
| 61 | table.example th, table.manual th, table.manual-vl th { |
| 62 | padding: 0.5em 0.5em 0.5em 0.5em; |
| 63 | text-align: left; |
| 64 | padding-right: 1em; |
| 65 | color: #555555; |
| 66 | background-color: #F4F4E5; |
| 67 | |
| 68 | background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.3,#FFFFFF), color-stop(0.30,#FFFFFF), color-stop(0.98,#F4F4E5), to(#ECECDE)); |
| 69 | background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 30%, #F4F4E5 98%, #ECECDE); |
| 70 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#F4F4E5'); |
| 71 | } |
| 72 | |
| 73 | table.example td, table.manual td, table.manual-vl td { |
| 74 | vertical-align:top; |
| 75 | border-width: 1px; |
| 76 | border-color: #cccccc; |
| 77 | } |
| 78 | |
| 79 | /* header of headers */ |
| 80 | table th.meta { |
| 81 | text-align:center; |
| 82 | font-size: 1.2em; |
| 83 | background-color:#FFFFFF; |
| 84 | } |
| 85 | |
| 86 | /* intermediate header */ |
| 87 | table th.inter { |
| 88 | text-align:left; |
| 89 | background-color:#FFFFFF; |
| 90 | background-image:none; |
| 91 | border-style:solid solid solid solid; |
| 92 | border-width: 1px; |
| 93 | border-color: #cccccc; |
| 94 | } |
| 95 | |
| 96 | /** class for exemple / output tables **/ |
| 97 | |
| 98 | table.example { |
| 99 | } |
| 100 | |
| 101 | table.example th { |
| 102 | } |
| 103 | |
| 104 | table.example td { |
| 105 | padding: 0.5em 0.5em 0.5em 0.5em; |
| 106 | vertical-align:top; |
| 107 | } |
| 108 | |
| 109 | /* standard class for the manual */ |
| 110 | |
| 111 | table.manual, table.manual-vl { |
| 112 | padding: 0.2em 0em 0.5em 0em; |
| 113 | } |
| 114 | |
| 115 | table.manual th, table.manual-vl th { |
| 116 | margin: 0em 0em 0.3em 0em; |
| 117 | } |
| 118 | |
| 119 | table.manual td, table.manual-vl td { |
| 120 | padding: 0.3em 0.5em 0.3em 0.5em; |
| 121 | vertical-align:top; |
| 122 | border-width: 1px; |
| 123 | } |
| 124 | |
| 125 | table.manual td.alt, table.manual tr.alt, table.manual-vl td.alt, table.manual-vl tr.alt { |
| 126 | background-color: #F4F4E5; |
| 127 | } |
| 128 | |
| 129 | table.manual-vl th, table.manual-vl td, table.manual-vl td.alt { |
| 130 | border-color: #cccccc; |
| 131 | border-width: 1px; |
| 132 | border-style: none solid none solid; |
| 133 | } |
| 134 | |
| 135 | table.manual-vl th.inter { |
| 136 | border-style: solid solid solid solid; |
| 137 | } |
| 138 | |
| 139 | h2 { |
| 140 | margin-top:2em; |
| 141 | border-style: none none solid none; |
| 142 | border-width: 1px; |
| 143 | border-color: #cccccc; |
| 144 | } |
| 145 | |
| 146 | /**** Table of content in the side-nav ****/ |
| 147 | |
| 148 | |
| 149 | div.toc { |
| 150 | margin:0; |
| 151 | padding: 0.3em 0 0 0; |
| 152 | width:100%; |
| 153 | float:none; |
| 154 | position:absolute; |
| 155 | bottom:0; |
| 156 | border-radius:0px; |
| 157 | border-style: solid none none none; |
| 158 | } |
| 159 | |
| 160 | div.toc h3 { |
| 161 | margin-left: 0.5em; |
| 162 | margin-bottom: 0.2em; |
| 163 | } |
| 164 | |
| 165 | div.toc ul { |
| 166 | margin: 0.2em 0 0.4em 0.5em; |
| 167 | } |
| 168 | |
| 169 | /**** old Eigen's styles ****/ |
| 170 | |
| 171 | |
| 172 | table.tutorial_code td { |
| 173 | border-color: transparent; /* required for Firefox */ |
| 174 | padding: 3pt 5pt 3pt 5pt; |
| 175 | vertical-align: top; |
| 176 | } |
| 177 | |
| 178 | |
| 179 | /* Whenever doxygen meets a '\n' or a '<BR/>', it will put |
| 180 | * the text containing the characted into a <p class="starttd">. |
| 181 | * This little hack togehter with table.tutorial_code td.note |
| 182 | * aims at fixing this issue. */ |
| 183 | table.tutorial_code td.note p.starttd { |
| 184 | margin: 0px; |
| 185 | border: none; |
| 186 | padding: 0px; |
| 187 | } |
| 188 | |
| 189 | div.eimainmenu { |
| 190 | text-align: center; |
| 191 | } |
| 192 | |
| 193 | /* center version number on main page */ |
| 194 | h3.version { |
| 195 | text-align: center; |
| 196 | } |
| 197 | |
| 198 | |
| 199 | td.width20em p.endtd { |
| 200 | width: 20em; |
| 201 | } |
| 202 | |
| 203 | .bigwarning { |
| 204 | font-size:2em; |
| 205 | font-weight:bold; |
| 206 | margin:1em; |
| 207 | padding:1em; |
| 208 | color:red; |
| 209 | border:solid; |
| 210 | } |
| 211 | |