Skip to content

Commit b701f87

Browse files
committed
evolution of capital markets
1 parent a81a003 commit b701f87

15 files changed

Lines changed: 3278 additions & 878 deletions

book/A.html

Lines changed: 1124 additions & 0 deletions
Large diffs are not rendered by default.

book/Manifesto.html

Lines changed: 86 additions & 177 deletions
Large diffs are not rendered by default.

book/book.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,9 @@ aria-label="Show hidden lines"></button>';
557557
sidebarToggleAnchor.addEventListener('change', function sidebarToggle() {
558558
if (sidebarToggleAnchor.checked) {
559559
const current_width = parseInt(
560-
document.documentElement.style.getPropertyValue('--sidebar-width'), 10);
560+
document.documentElement.style.getPropertyValue('--sidebar-target-width'), 10);
561561
if (current_width < 150) {
562-
document.documentElement.style.setProperty('--sidebar-width', '150px');
562+
document.documentElement.style.setProperty('--sidebar-target-width', '150px');
563563
}
564564
showSidebar();
565565
} else {
@@ -583,7 +583,7 @@ aria-label="Show hidden lines"></button>';
583583
showSidebar();
584584
}
585585
pos = Math.min(pos, window.innerWidth - 100);
586-
document.documentElement.style.setProperty('--sidebar-width', pos + 'px');
586+
document.documentElement.style.setProperty('--sidebar-target-width', pos + 'px');
587587
}
588588
}
589589
//on mouseup remove windows functions mousemove & mouseup

book/css/variables.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/* Globals */
33

44
:root {
5-
--sidebar-width: 300px;
5+
--sidebar-target-width: 300px;
6+
--sidebar-width: min(var(--sidebar-target-width), 80vw);
67
--sidebar-resize-indicator-width: 8px;
78
--sidebar-resize-indicator-space: 2px;
89
--page-padding: 15px;

book/index.html

Lines changed: 86 additions & 177 deletions
Large diffs are not rendered by default.

book/nested/sub-chapter_1.12.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ <h2 id="conclusion"><a class="header" href="#conclusion">Conclusion</a></h2>
167167
<i class="fa fa-angle-left"></i>
168168
</a>
169169

170+
<a rel="next prefetch" href="../A.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
171+
<i class="fa fa-angle-right"></i>
172+
</a>
170173

171174
<div style="clear: both"></div>
172175
</nav>
@@ -178,6 +181,9 @@ <h2 id="conclusion"><a class="header" href="#conclusion">Conclusion</a></h2>
178181
<i class="fa fa-angle-left"></i>
179182
</a>
180183

184+
<a rel="next prefetch" href="../A.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
185+
<i class="fa fa-angle-right"></i>
186+
</a>
181187
</nav>
182188

183189
</div>

book/print.html

Lines changed: 1007 additions & 193 deletions
Large diffs are not rendered by default.

book/searcher.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* global Mark, elasticlunr, path_to_root */
44

55
window.search = window.search || {};
6-
(function search(search) {
6+
(function search() {
77
// Search functionality
88
//
99
// You can use !hasFocus() to prevent keyhandling in your key
@@ -29,7 +29,8 @@ window.search = window.search || {};
2929
searchicon = document.getElementById('search-toggle'),
3030
content = document.getElementById('content'),
3131

32-
mark_exclude = [],
32+
// SVG text elements don't render if inside a <mark> tag.
33+
mark_exclude = ['text'],
3334
marker = new Mark(content),
3435
URL_SEARCH_PARAM = 'search',
3536
URL_MARK_PARAM = 'highlight',
@@ -288,6 +289,9 @@ window.search = window.search || {};
288289

289290
// If reloaded, do the search or mark again, depending on the current url parameters
290291
doSearchOrMarkFromUrl();
292+
293+
// Exported functions
294+
config.hasFocus = hasFocus;
291295
}
292296

293297
function unfocusSearchbar() {
@@ -521,6 +525,4 @@ window.search = window.search || {};
521525

522526
loadScript(path_to_root + 'searchindex.js', 'search-index');
523527

524-
// Exported functions
525-
search.hasFocus = hasFocus;
526528
})(window.search);

book/searchindex.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

book/toc.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)