Rendering Engine 0.2.0
Modular Graphics Rendering Engine | v0.2.0
Loading...
Searching...
No Matches
theme.css
Go to the documentation of this file.
1body {
2 margin: 0 auto;
3 padding-top: 320px;
4 background-color: #ffffff;
5
6 font-family: Inter, "Segoe UI", Roboto, sans-serif;
7 font-size: 15px;
8 line-height: 1.65;
9 color: #10409b;
10
11 -webkit-font-smoothing: antialiased;
12 -moz-osx-font-smoothing: grayscale;
13}
14
15/* Headings */
16h1, h2, h3, h4 {
17 font-weight: 600;
18 line-height: 1.3;
19 color: #25408b;
20}
21
22h1 {
23 font-size: 28px;
24 margin: 24px 0 16px;
25}
26
27h2 {
28 font-size: 22px;
29 margin: 28px 0 12px;
30}
31
32h3 {
33 font-size: 18px;
34 margin: 24px 0 10px;
35}
36
37/* Inline code */
38code {
39 font-family: "JetBrains Mono", Consolas, monospace;
40
41 font-size: 14px;
42 background: #ffffff;
43 background-color: #ddf1ff; /*Show background of #include files*/
44 padding: 2px 5px;
45 border-radius: 1px;
46}
47
48/* Main documentation text */
49.contents {
50 color: #10409b;
51 background-color: #f9fcff;
52}
53
54/* Code line background */
55div.line {
56 background: #f9fcff;
57}
58
59/* Code blocks */
60pre, div.fragment {
61 font-family: "JetBrains Mono", Consolas, monospace;
62 font-size: 13.5px;
63 color: #7c9bd3;
64 line-height: 1.6;
65
66 background: #f1f9ff;
67 border: 1px solid rgba(206, 233, 255, 0.836);
68 border-radius: 0px;
69 padding: 12px 14px;
70 overflow-x: auto;
71}
72
73div.line {
74background: #f9fcff;
75margin: 0;
76}
77
78/* Header background */
79
80#titlearea {
81 position: absolute;
82 top: 0;
83 left: 0;
84 right: 0;
85
86 background: #ffffff;
87 border-bottom: 0px solid #3cff00;
88 padding: 32px 24px;
89 text-align: center;
90}
91
92#projectlogo {
93 margin: 0 auto;
94}
95
96/* Logo sizing */
97#projectlogo img {
98 max-height: 220px;
99 display: block;
100 margin: 0 auto;
101}
102
103/* Project name — visually suppressed but still present */
104#projectname {
105 font-size: 0; /* hides text */
106 margin: 0;
107}
108
109/* Project brief + version */
110#projectbrief {
111 font-size: 14px;
112 color: #7499bd;
113 margin-top: 12px;
114}
115
116
117/* Break Doxygen header table layout */
118#titlearea table {
119 width: 100%;
120}
121
122#titlearea tr {
123 display: block;
124}
125
126#titlearea td {
127 display: block;
128 width: 100%;
129 text-align: center;
130}
131
132#MSearchBox {
133 background-color: #ffffff;
134 border: 1px solid rgba(98, 161, 255, 0.4);
135
136 margin-top: 30px !important;
137 margin-bottom: 0 !important;
138 display: inline-block;
139 vertical-align: middle;
140}
141
142#side-nav {
143 background: #ffffff;
144 border-right: 0px solid #ffffff;
145}
146
147/* Sidebar items */
148#nav-tree {
149 font-size: 14px;
150 padding: 3px 6px;
151 color: #ffffff;
152 background-color: #ffffff;
153}
154
155#nav-tree .item {
156 font-size: 14px;
157 padding: 3px 6px;
158 color: #79d5ff;
159 background-color: #ffffff;
160}
161
162#nav-tree .selected {
163 background-color: #e0f3ff;
164 border-radius: 4px;
165}
166
167#nav-tree .children_ul {
168 margin-left: 12px;
169}
170
171:root {
172 --nav-bg: #e0f3ff;
173 --nav-text: #597cbd;
174 --nav-hover: #0b57e4;
175 --border-radius: 0px;
176}
177
178/* ***************************** */
179/* Main horizontal navigation bar*/
180/* ***************************** */
181.sm-dox {
182 background: var(--nav-bg);
183 /*Forehead above the nav bar*/
184 border-radius: var(--border-radius);
185 box-shadow: 0 0px 0px rgba(0,0,0,0.25);
186}
187
188.sm-dox a {
189 font-size: 14px;
190 font-weight: bold;
191 color: var(--nav-text);
192 padding: 0.75rem 1.25rem;
193 margin: 0.25rem;
194 border-radius: 0px;
195 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
196}
197
198.sm-dox a:hover {
199 background: var(--nav-hover);
200 font-size: 14px;
201 font-weight: bold;
202 color: #ffffff;
203 padding: 0.75rem 1.25rem;
204 margin: 0.25rem;
205 border-radius: 0px;
206
207 transform: translateX(0px);
208 box-shadow: 0 2px 8px rgba(239, 246, 255, 0.815);
209}
210
211/* Submenu item */
212.sm-dox ul {
213 background: var(--nav-bg);
214}
215
216.sm-dox ul a {
217
218 padding-left: 25px; /* Indent on hover */
219 font-size: 14px;
220 font-weight: bold;
221 color: var(--nav-text);
222 background-color: var(--nav-bg);
223}
224
225.sm-dox ul a:hover {
226 color: #ffffff;
227 background: var(--nav-hover);
228 padding-left: 25px; /* Indent on hover */
229 font-size: 14px;
230 font-weight: bold;
231}
232
233/* Target both up and down arrows */
234.sm-dox .smd-arrow-up,
235.sm-dox .smd-arrow-down,
236.sm-dox .sm-up,
237.sm-dox .sm-down,
238.sm-dox [class*="arrow"],
239.sm-dox [class*="scroll"] {
240 /* Reset any defaults */
241 background: none !important;
242 border: none !important;
243 padding: 0 !important;
244 margin: 0 !important;
245 display: block !important;
246 text-align: center !important;
247 cursor: pointer !important;
248 transition: all 0.3s ease !important;
249}
250
251/* Child menu stays "hovered" when grandchild is open */
252.sm-dox li:has(ul:hover) > a {
253 color: #3498db !important;
254}