blob: 225f5d32ebc4fcebefc70dc0daa2bc1628fd927d [file] [log] [blame]
Brian Silverman72890c22015-09-19 14:37:37 -04001
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) */
7div.summary {
8 display:none;
9}
10
11/* remove */
12div.contents hr {
13 display:none;
14}
15
16/**** ****/
17
18p, dl.warning, dl.attention, dl.note
19{
20 max-width:60em;
21 text-align:justify;
22}
23
24li {
25 max-width:55em;
26 text-align:justify;
27}
28
29img {
30 border: 0;
31}
32
33div.fragment {
34 display:table; /* this allows the element to be larger than its parent */
35 padding: 0pt;
36}
37pre.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 Schuh189376f2018-12-20 22:11:15 +110048table.example, table.manual, table.manual-vl, table.manual-hl {
Brian Silverman72890c22015-09-19 14:37:37 -040049 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 Schuh189376f2018-12-20 22:11:15 +110061table.example th, table.manual th, table.manual-vl th, table.manual-hl th {
Brian Silverman72890c22015-09-19 14:37:37 -040062 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 Schuh189376f2018-12-20 22:11:15 +110073table.example td, table.manual td, table.manual-vl td, table.manual-hl td {
Brian Silverman72890c22015-09-19 14:37:37 -040074 vertical-align:top;
75 border-width: 1px;
76 border-color: #cccccc;
77}
78
79/* header of headers */
80table th.meta {
81 text-align:center;
82 font-size: 1.2em;
83 background-color:#FFFFFF;
84}
85
86/* intermediate header */
87table 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
98table.example {
99}
100
101table.example th {
102}
103
104table.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 Schuh189376f2018-12-20 22:11:15 +1100111table.manual, table.manual-vl, table.manual-hl {
Brian Silverman72890c22015-09-19 14:37:37 -0400112 padding: 0.2em 0em 0.5em 0em;
113}
114
Austin Schuh189376f2018-12-20 22:11:15 +1100115table.manual th, table.manual-vl th, table.manual-hl th {
Brian Silverman72890c22015-09-19 14:37:37 -0400116 margin: 0em 0em 0.3em 0em;
117}
118
Austin Schuh189376f2018-12-20 22:11:15 +1100119table.manual td, table.manual-vl td, table.manual-hl td {
Brian Silverman72890c22015-09-19 14:37:37 -0400120 padding: 0.3em 0.5em 0.3em 0.5em;
121 vertical-align:top;
122 border-width: 1px;
123}
124
125table.manual td.alt, table.manual tr.alt, table.manual-vl td.alt, table.manual-vl tr.alt {
126 background-color: #F4F4E5;
127}
128
129table.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
135table.manual-vl th.inter {
136 border-style: solid solid solid solid;
137}
138
Austin Schuh189376f2018-12-20 22:11:15 +1100139table.manual-hl td {
140 border-color: #cccccc;
141 border-width: 1px;
142 border-style: solid none solid none;
143}
144
145table td.code {
146 font-family: monospace;
147}
148
Brian Silverman72890c22015-09-19 14:37:37 -0400149h2 {
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
159div.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 Schuh189376f2018-12-20 22:11:15 +1100168 max-height:50%;
169 overflow-y: scroll;
Brian Silverman72890c22015-09-19 14:37:37 -0400170}
171
172div.toc h3 {
173 margin-left: 0.5em;
174 margin-bottom: 0.2em;
175}
176
177div.toc ul {
178 margin: 0.2em 0 0.4em 0.5em;
179}
180
Austin Schuh189376f2018-12-20 22:11:15 +1100181span.cpp11,span.cpp14,span.cpp17 {
182 color: #119911;
183 font-weight: bold;
184}
185
Brian Silverman72890c22015-09-19 14:37:37 -0400186/**** old Eigen's styles ****/
187
188
189table.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 Schuh189376f2018-12-20 22:11:15 +1100197 * the text containing the character into a <p class="starttd">.
198 * This little hack together with table.tutorial_code td.note
Brian Silverman72890c22015-09-19 14:37:37 -0400199 * aims at fixing this issue. */
200table.tutorial_code td.note p.starttd {
201 margin: 0px;
202 border: none;
203 padding: 0px;
204}
205
206div.eimainmenu {
207 text-align: center;
208}
209
210/* center version number on main page */
211h3.version {
212 text-align: center;
213}
214
215
216td.width20em p.endtd {
217 width: 20em;
218}
219
Austin Schuh189376f2018-12-20 22:11:15 +1100220/* needed for huge screens */
221.ui-resizable-e {
222 background-repeat: repeat-y;
223}