11/**
2- * Any CSS included here will be global. The classic template
3- * bundles Infima by default. Infima is a CSS framework designed to
4- * work well for content-centric websites.
2+ * Global site style sheet.
53 */
64
7- /* You can override the default Infima variables here. */
8-
5+ /* Fonts */
96@font-face {
107 font-family : "Satoshi" ;
118 src : url ("/fonts/Satoshi/Satoshi-Variable.woff2" ) format ("woff2" );
129 font-display : swap;
1310}
1411
12+ /* ============================================================
13+ Tokens (Light)
14+ ============================================================ */
1515: root {
16- /* Colors */
16+ /* Brand palette */
1717 --ifm-color-primary : # e62058 ;
1818 --ifm-color-primary-dark : # d01055 ;
1919 --ifm-color-primary-darker : # c10f45 ;
2222 --ifm-color-primary-lighter : # fd738f ;
2323 --ifm-color-primary-lightest : # f2528b ;
2424
25- /* Infima Variables Overrides */
25+ /* Typography */
2626 --ifm-font-family-base : "Satoshi" ;
2727 --ifm-font-family-heading : "Satoshi" ;
2828 --ifm-heading-font-weight : 450 ;
2929 --ifm-font-weight-bold : 580 ;
3030 --ifm-font-size-base : 16px ;
31+
32+ /* Shape */
3133 --ifm-global-radius : 0.625rem ;
3234 --ifm-global-radius-med : 1.25rem ;
33- --ifm-card-font-weight : 580 ;
35+
36+ /* Surfaces */
3437 --ifm-background-color : # ffffff ;
3538
3639 /* Navbar */
5154 /* Cards */
5255 --ifm-card-background-color : # ffe4e8 ;
5356 --ifm-card-description-color : # 000000 ;
57+ --ifm-card-font-weight : 580 ;
5458
5559 /* Breadcrumbs */
5660 --ifm-breadcrumb-item-background-active : none;
6569 --ifm-table-head-background : transparent;
6670 --ifm-table-stripe-background : transparent;
6771
68- /* Custom Variables */
72+ /* Custom */
6973 --search-local-highlight-color : var (--ifm-color-primary );
7074 --ifm-swagger-heading-light : # e3e3e3 ;
7175 --ifm-swagger-heading-dark : # 1c1e21 ;
7276}
7377
74- /* For readability concerns, you should choose a lighter palette in dark mode. */
78+ /* ============================================================
79+ Tokens (Dark)
80+ ============================================================ */
7581[data-theme = "dark" ] {
76- /* Colors */
82+ /* Brand palette */
7783 --ifm-color-primary : # e62058 ;
7884 --ifm-color-primary-dark : # ec2d6e ;
7985 --ifm-color-primary-darker : # e62058 ;
8288 --ifm-color-primary-lighter : # f375a0 ;
8389 --ifm-color-primary-lightest : # f7a0be ;
8490
85- /* Infima Variables Overrides */
86- --ifm-navbar-background-color : # 000000 ;
87- --ifm-navbar-search-input-icon : url ('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="16px" width="16px"><path d="M6.02945,10.20327a4.17382,4.17382,0,1,1,4.17382-4.17382A4.15609,4.15609,0,0,1,6.02945,10.20327Zm9.69195,4.2199L10.8989,9.59979A5.88021,5.88021,0,0,0,12.058,6.02856,6.00467,6.00467,0,1,0,9.59979,10.8989l4.82338,4.82338a.89729.89729,0,0,0,1.29912,0,.89749.89749,0,0,0-.00087-1.29909Z" /></svg>' );
88- --ifm-footer-background-color : # 000000 ;
89- --ifm-background-color : # 000000 !important ;
91+ /* Surfaces */
92+ --ifm-background-color : # 000000 ;
9093 --ifm-card-background-color : # 1d1d1d ;
94+ --ifm-footer-background-color : # 000000 ;
9195
9296 /* Navbar */
9397 --ifm-navbar-background-color : # 050000 ;
98+ --ifm-navbar-search-input-icon : url ('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="16px" width="16px"><path d="M6.02945,10.20327a4.17382,4.17382,0,1,1,4.17382-4.17382A4.15609,4.15609,0,0,1,6.02945,10.20327Zm9.69195,4.2199L10.8989,9.59979A5.88021,5.88021,0,0,0,12.058,6.02856,6.00467,6.00467,0,1,0,9.59979,10.8989l4.82338,4.82338a.89729.89729,0,0,0,1.29912,0,.89749.89749,0,0,0-.00087-1.29909Z" /></svg>' );
9499
95100 /* Sidebar (Menu) */
96101 --ifm-menu-color-background-active : # 34101c ;
105110 --ifm-table-border-color : rgba (255 , 255 , 255 , 0.1 );
106111 --ifm-table-head-background : var (--ifm-background-color );
107112
108- /* Custom Variables */
113+ /* Custom */
109114 --search-local-highlight-color : var (--ifm-color-primary-lighter );
110115}
111116
112- /* --- GLOBAL ELEMENT STYLES --- */
113-
114- /* Resize headings */
115- h1 ,
117+ /* ============================================================
118+ Content (Markdown)
119+ ============================================================ */
116120.markdown h1 {
117121 font-size : 2.2rem ;
118122}
119123
120- h2 ,
121124.markdown h2 {
122125 font-size : 1.6rem ;
123126}
124127
125- h3 ,
126128.markdown h3 {
127129 font-size : 1.2rem ;
128130}
129131
130- h4 {
132+ . markdown h4 {
131133 font-weight : 575 ;
132- /* Specific weight for h4 */
133134}
134135
135- body {
136+ . markdown body {
136137 font-weight : 450 ;
137- /* Specific weight for body */
138138}
139139
140- [data-theme = "dark" ] p {
140+ html [data-theme = "dark" ] . markdown p {
141141 color : # ababab ;
142- /* Off-white in dark mode */
143142}
144143
145144html [data-theme = "dark" ] .markdown ul li ,
@@ -156,7 +155,7 @@ h2.cardTitle,
156155 font-weight : var (--ifm-card-font-weight );
157156}
158157
159- /* Accessibility helper */
158+ /* Utilities */
160159.visually-hidden {
161160 position : absolute;
162161 width : 1px ;
@@ -169,9 +168,12 @@ h2.cardTitle,
169168 border-width : 0 ;
170169}
171170
172- /* --- LAYOUT & COMPONENTS --- */
171+ /* ============================================================
172+ Theme UI (Navbar / Sidebar / TOC / Breadcrumbs / Footer)
173+ ============================================================ */
173174
174- /* Announcement bar */
175+ /* Announcement bar: stable + hashed fallback */
176+ .announcementBar ,
175177div [class ^= "announcementBar" ] {
176178 font-size : 20px ;
177179 font-weight : 550 ;
@@ -195,14 +197,12 @@ div[class^="announcementBar"] {
195197
196198.navbar-sidebar__back {
197199 display : none;
198- /* Hides the "Back" button on mobile sidebar */
199200}
200201
201202.navbar__items {
202203 color : var (--ifm-navbar-link-color );
203204}
204205
205- /* Navbar toggle */
206206.navbar__toggle {
207207 color : # 1c1b1f ;
208208}
@@ -211,7 +211,7 @@ div[class^="announcementBar"] {
211211 color : # ffffff ;
212212}
213213
214- /* Navbar GitHub Link */
214+ /* Navbar GitHub icon */
215215.header-github-link ::before {
216216 content : "" ;
217217 width : 24px ;
@@ -241,7 +241,7 @@ div[class^="announcementBar"] {
241241 }
242242}
243243
244- /* Navbar Search */
244+ /* Navbar search */
245245.navbar__search-input {
246246 border-radius : var (--ifm-global-radius );
247247 width : 270px ;
@@ -256,24 +256,21 @@ div[class^="announcementBar"] {
256256 outline : solid var (--ifm-global-border-width ) var (--ifm-color-primary );
257257}
258258
259- /* Search Dropdown */
259+ /* Search dropdown */
260+ .searchBar .dropdown-menu ,
260261div [class ^= "searchBar_" ] .dropdown-menu {
261- /* Target dropdown menu more generically */
262262 padding : 0px ;
263263 background-color : var (--ifm-navbar-search-dropdown-bg );
264264 border-radius : var (--ifm-global-radius );
265265 border : 1px solid var (--ifm-toc-border-color );
266- /* Use an existing border color variable */
267266}
268267
269268div [class ^= "searchBar_" ] .dropdown-menu a [class ^= "suggestion_" ] {
270- /* Target suggestion links */
271269 margin : 1px ;
272270 border-radius : 0px ;
273271}
274272
275273div [class ^= "searchBar_" ] div [class *= "hitFooter" ] {
276- /* Target footer, use class contains */
277274 margin-top : 1px ;
278275 text-align : center;
279276 display : flex;
@@ -283,10 +280,8 @@ div[class^="searchBar_"] div[class*="hitFooter"] {
283280 font-size : 16px ;
284281 font-weight : 500 ;
285282 line-height : 1.35 ;
286- /* Use relative line height. Removed !important */
287283 background-color : var (--ifm-navbar-search-dropdown-bg );
288284 border-top : 1px solid var (--ifm-toc-border-color );
289- /* Add separator */
290285}
291286
292287div [class ^= "searchBar_" ] div [class *= "hitFooter" ] a {
@@ -304,7 +299,7 @@ div[class^="searchBar_"] div[class*="hitFooter"] a:hover {
304299 color : var (--ifm-navbar-link-color );
305300}
306301
307- /* Sidebar Menu (Consolidated Styles) */
302+ /* Sidebar menu */
308303.menu {
309304 background-color : var (--ifm-sidebar-background-color );
310305 padding-top : 1.5rem ;
@@ -320,7 +315,6 @@ div[class^="searchBar_"] div[class*="hitFooter"] a:hover {
320315 margin-top : 0.75rem ;
321316}
322317
323- /* Styling for links and collapsible buttons */
324318.menu__link {
325319 padding : 10px 12px ;
326320}
@@ -347,28 +341,22 @@ div[class^="searchBar_"] div[class*="hitFooter"] a:hover {
347341 padding-right : 0.75rem ;
348342}
349343
350- /* Caret icon */
351344.menu__caret : before {
352345 background : var (--ifm-menu-link-sublist-icon ) 50% / 2rem 1.5rem ;
353346}
354347
355- /* Sidebar menu icons. */
356- /* Sidebar Menu Icons (Consolidated) */
348+ /* Sidebar icons */
357349.menu__link [href *= "/ftso/overview" ]::before ,
358350.menu__link [href *= "/fdc/overview" ]::before ,
359351.menu__link [href *= "/fassets/overview" ]::before {
360352 content : " " ;
361353 display : block;
362354 flex-shrink : 0 ;
363- /* Prevent icon shrinking */
364355 background-repeat : no-repeat;
365356 background-position : center;
366357 margin-right : 10px ;
367- /* Consistent margin */
368- /* Specific sizes set below */
369358}
370359
371- /* Specific Icon Styles (Sizes adjusted here) */
372360.menu__link [href *= "/ftso/overview" ]::before {
373361 width : 26px ;
374362 height : 26px ;
@@ -402,7 +390,7 @@ div[class^="searchBar_"] div[class*="hitFooter"] a:hover {
402390 background-image : url ("/img/menu/FASSETS_dark.svg" );
403391}
404392
405- /* Table of Contents ( TOC) */
393+ /* TOC */
406394.table-of-contents__link {
407395 padding : 4px 12px ;
408396 width : fit-content;
@@ -442,55 +430,63 @@ div[class^="searchBar_"] div[class*="hitFooter"] a:hover {
442430 opacity : 1 ;
443431}
444432
445- /* Tables - Basic Reset (Affects ALL tables) */
446- table tr : nth-child (2n) {
433+ /* ============================================================
434+ Tables (Markdown)
435+ ============================================================ */
436+ .markdown table tr : nth-child (2n),
437+ .theme-doc-markdown table tr : nth-child (2n) {
447438 background-color : transparent;
448439}
449440
450- table tr : nth-child (n) {
451- background-color : transparent;
452- }
453-
454- table th : first-child ,
455- td : first-child {
441+ .markdown table th : first-child ,
442+ .markdown table td : first-child ,
443+ .theme-doc-markdown table th : first-child ,
444+ .theme-doc-markdown table td : first-child {
456445 border-left : none;
457446}
458447
459- table th : last-child ,
460- td : last-child {
448+ .markdown table th : last-child ,
449+ .markdown table td : last-child ,
450+ .theme-doc-markdown table th : last-child ,
451+ .theme-doc-markdown table td : last-child {
461452 background-color : transparent;
462453 border-right : none;
463454}
464455
465- table tr : first-child th ,
466- tr : first-child td {
456+ .markdown table tr : first-child th ,
457+ .markdown table tr : first-child td ,
458+ .theme-doc-markdown table tr : first-child th ,
459+ .theme-doc-markdown table tr : first-child td {
467460 border-top : none;
468461}
469462
470- table thead {
463+ .markdown table thead ,
464+ .theme-doc-markdown table thead {
471465 background-color : transparent;
472466}
473467
474- table thead tr {
468+ .markdown table thead tr ,
469+ .theme-doc-markdown table thead tr {
475470 border-top : none;
476471 border-bottom : none;
477472}
478473
479- table tr : last-child th ,
480- tr : last-child td {
474+ .markdown table tr : last-child th ,
475+ .markdown table tr : last-child td ,
476+ .theme-doc-markdown table tr : last-child th ,
477+ .theme-doc-markdown table tr : last-child td {
481478 border-bottom : none;
482479 background-color : transparent;
483480}
484481
485- /* End Basic Table Reset */
486-
487- /* Tippy.js Custom Theme */
482+ /* ============================================================
483+ Tippy.js
484+ ============================================================ */
488485.tippy-box [data-theme = "custom" ] {
489486 background-color : # 333 ;
490487 color : # fff ;
491488 font-size : 14px ;
492489 padding : 8px 12px ;
493- border-radius : 5px ;
494490 max-width : 300px ;
495491 white-space : normal;
496492 border-radius : var (--ifm-global-radius );
0 commit comments