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 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 48 | table.example, table.manual, table.manual-vl, table.manual-hl { |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 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 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 61 | table.example th, table.manual th, table.manual-vl th, table.manual-hl th { |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 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 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 73 | table.example td, table.manual td, table.manual-vl td, table.manual-hl td { |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 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 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 111 | table.manual, table.manual-vl, table.manual-hl { |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 112 | padding: 0.2em 0em 0.5em 0em; |
| 113 | } |
| 114 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 115 | table.manual th, table.manual-vl th, table.manual-hl th { |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 116 | margin: 0em 0em 0.3em 0em; |
| 117 | } |
| 118 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 119 | table.manual td, table.manual-vl td, table.manual-hl td { |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 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 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 139 | table.manual-hl td { |
| 140 | border-color: #cccccc; |
| 141 | border-width: 1px; |
| 142 | border-style: solid none solid none; |
| 143 | } |
| 144 | |
| 145 | table td.code { |
| 146 | font-family: monospace; |
| 147 | } |
| 148 | |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 149 | h2 { |
| 150 | margin-top:2em; |
| 151 | border-style: none none solid none; |
| 152 | border-width: 1px; |
| 153 | border-color: #cccccc; |
| 154 | } |
| 155 | |
| 156 | /**** Table of content in the side-nav ****/ |
| 157 | |
| 158 | |
| 159 | div.toc { |
| 160 | margin:0; |
| 161 | padding: 0.3em 0 0 0; |
| 162 | width:100%; |
| 163 | float:none; |
| 164 | position:absolute; |
| 165 | bottom:0; |
| 166 | border-radius:0px; |
| 167 | border-style: solid none none none; |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 168 | max-height:50%; |
| 169 | overflow-y: scroll; |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 170 | } |
| 171 | |
| 172 | div.toc h3 { |
| 173 | margin-left: 0.5em; |
| 174 | margin-bottom: 0.2em; |
| 175 | } |
| 176 | |
| 177 | div.toc ul { |
| 178 | margin: 0.2em 0 0.4em 0.5em; |
| 179 | } |
| 180 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 181 | span.cpp11,span.cpp14,span.cpp17 { |
| 182 | color: #119911; |
| 183 | font-weight: bold; |
| 184 | } |
| 185 | |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 186 | /**** old Eigen's styles ****/ |
| 187 | |
| 188 | |
| 189 | table.tutorial_code td { |
| 190 | border-color: transparent; /* required for Firefox */ |
| 191 | padding: 3pt 5pt 3pt 5pt; |
| 192 | vertical-align: top; |
| 193 | } |
| 194 | |
| 195 | |
| 196 | /* Whenever doxygen meets a '\n' or a '<BR/>', it will put |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 197 | * the text containing the character into a <p class="starttd">. |
| 198 | * This little hack together with table.tutorial_code td.note |
Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 199 | * aims at fixing this issue. */ |
| 200 | table.tutorial_code td.note p.starttd { |
| 201 | margin: 0px; |
| 202 | border: none; |
| 203 | padding: 0px; |
| 204 | } |
| 205 | |
| 206 | div.eimainmenu { |
| 207 | text-align: center; |
| 208 | } |
| 209 | |
| 210 | /* center version number on main page */ |
| 211 | h3.version { |
| 212 | text-align: center; |
| 213 | } |
| 214 | |
| 215 | |
| 216 | td.width20em p.endtd { |
| 217 | width: 20em; |
| 218 | } |
| 219 | |
Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 220 | /* needed for huge screens */ |
| 221 | .ui-resizable-e { |
| 222 | background-repeat: repeat-y; |
| 223 | } |