diff --git a/dist/script.js b/dist/script.js index b3f4ebb..fe2d870 100644 --- a/dist/script.js +++ b/dist/script.js @@ -7,10 +7,6 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o = function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -// var $ = require('jquery'); -// window.$ = $; -// require('bootstrap'); -// // Blocks docReady(function () { var boxesNames = { @@ -105,7 +101,46 @@ function docReady(fn) { } else { document.addEventListener("DOMContentLoaded", fn); } -} // function collapse_toc_elements_on_click (nav_li_a){ +} // Load Jquery + + +var scr = document.createElement('script'), + head = document.head || document.getElementsByTagName('head')[0]; +scr.src = 'https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'; +scr.async = false; // optionally + +head.insertBefore(scr, head.firstChild); // Load Bootstrap.js + +var scr = document.createElement('script'), + head = document.head || document.getElementsByTagName('head')[0]; +scr.src = 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'; +scr.async = false; // optionally + +head.insertBefore(scr, head.firstChild); // After it is loaded + +scr.addEventListener('load', function () { + $(document).ready(function () { + $('#text-table-of-contents ul').first().addClass('nav'); // ScrollSpy also requires that we use + // a Bootstrap nav component. + + $('body').scrollspy({ + target: '#text-table-of-contents' + }); // set the height of tableOfContents + + var $postamble = $('#postamble'); + var $tableOfContents = $('#table-of-contents'); + $tableOfContents.css({ + paddingBottom: $postamble.outerHeight() + }); // add TOC button + + var toggleSidebar = $('

Table of Contents

'); + $('#content').prepend(toggleSidebar); // add close button when sidebar showed in mobile screen + + var closeBtn = $('Close'); + var tocTitle = $('#table-of-contents').find('h2'); + tocTitle.append(closeBtn); + }); +}); // function collapse_toc_elements_on_click (nav_li_a){ // /* // When an `a' element in the TOC is clicked, its parent // `li' element's active attribute is toggled. This causes @@ -145,8 +180,6 @@ function docReady(fn) { // // ScrollSpy also requires that we use // // a Bootstrap nav component. // $('body').scrollspy({target: '#text-table-of-contents'}); -// // DON'T add sticky table headers (Fix issue #69?) -// // $('table').stickyTableHeaders(); // // set the height of tableOfContents // var $postamble = $('#postamble'); // var $tableOfContents = $('#table-of-contents'); diff --git a/dist/style.css b/dist/style.css index 6c1ece9..cdc845d 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1 +1 @@ -@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/fontawesome.min.css");html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}*{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}blockquote,q{quotes:none}blockquote:before,blockquote:after{content:'';content:none}q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@use "sass:color";html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;font-size:100%;height:100%;overflow-x:hidden}body{background:#edf0f2;color:#404040;font-family:Roboto,sans-serif;font-weight:400;margin:0;min-height:100%;overflow-x:hidden}#content{background:#fcfcfc;height:100%;min-height:100%;margin-left:300px;max-width:1200px;padding:1.618em 3.236em}a{color:#6b7adb;text-decoration:none;cursor:pointer}a:hover{outline:0;color:#6b7adb}a:visited{outline:0;color:#6b7adb}p{font-size:16px;line-height:24px;margin:0 0 1.5em 0}b,strong{font-weight:700}i{font-style:italic}.underline{text-decoration:underline}code{background:#fff;border:solid 1px #e1e4e5;font-family:"Source Code Pro",monospace;font-size:75%;max-width:100%;overflow-x:auto;padding:0 5px;white-space:nowrap}blockquote{background-color:#f0f0f0;border-left:5px solid #a3a3a3;font-style:italic;line-height:24px;margin:0px 0px 24px 0px;padding:6px 20px}blockquote>p{margin-bottom:1em}blockquote>p:last-child{margin-bottom:0}sub,sup{font-size:0.6em;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}mark{background:#ff0;color:#000;font-style:italic;font-weight:700}small{font-size:85%}img{-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}label{cursor:pointer;display:block;margin:0 0 0.3125em 0;color:#333;font-size:90%}legend{border:0;margin-left:-7px;padding:0;white-space:normal;display:block;width:100%;padding:0;white-space:normal;margin-bottom:24px;font-size:150%}.nav #content .admonition-title,#content .nav .admonition-title,.nav .icon{display:inline}.left{text-align:left}.center{text-align:center}.right{text-align:right}hr{display:block;height:1px;border:0;border-top:1px solid #e1e4e5;margin:24px 0;padding:0}#content img{max-width:100%}#content .section>img,#content .section>a>img{margin-bottom:24px}.verse{border-left:5px solid #6AB0DE;background-color:#E7F2FA;padding:6px 20px;font-style:italic}#content .section ol p,#content .section ul p{margin-bottom:12px}#content h1 .headerlink,#content h2 .headerlink,#content h3 .headerlink,#content h4 .headerlink,#content h5 .headerlink,#content h6 .headerlink,#content dl dt .headerlink{display:none;visibility:hidden;font-size:14px}#content h1 .headerlink:after,#content h2 .headerlink:after,#content h3 .headerlink:after,#content h4 .headerlink:after,#content h5 .headerlink:after,#content h6 .headerlink:after,#content dl dt .headerlink:after{visibility:visible;content:"";font-family:FontAwesome;display:inline-block}#content h1:hover .headerlink,#content h2:hover .headerlink,#content h3:hover .headerlink,#content h4:hover .headerlink,#content h5:hover .headerlink,#content h6:hover .headerlink,#content dl dt:hover .headerlink{display:inline-block}#content .highlighted{background:#F1C40F;display:inline-block;font-weight:700;padding:0 6px}#content .footnote-reference,#content .citation-reference{vertical-align:super;font-size:90%}span[id*='MathJax-Span']{color:#404040}.math{text-align:center}.fa:before,#content h1 .headerlink:before,#content h2 .headerlink:before,#content h3 .headerlink:before,#content h4 .headerlink:before,#content h5 .headerlink:before,#content h6 .headerlink:before,#content dl dt .headerlink:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-alert,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"],select,textarea,#table-of-contents li.on a,#table-of-contents li.current>a,.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a,.wy-nav-top a{-webkit-font-smoothing:antialiased}.fa,.icon{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:0.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eee;border-radius:.1em}.todo{background-color:#db6b6b;padding:0px 4px;color:#fff}.todo.WAIT{background-color:#dba76b}.done{background-color:#6bdbb6;padding:0px 4px;color:#fff}.priority{color:#eea859;font-family:"Source Code Pro",monospace}.tag span{background-color:#f0f0f0;border:1px solid #a3a3a3;color:#939393;cursor:pointer;display:block;float:right;font-size:70%;font-weight:400;margin:0 3px;padding:5px;border-radius:3px}.timestamp-wrapper{font-size:0.8em;margin-left:2em}.timestamp-wrapper .timestamp{color:#22308c;font-family:"Source Code Pro",monospace}.title{font-size:175%;margin-bottom:1em;font-weight:700;text-align:center}.title .subtitle{font-size:80%}h1,h2,h3,h4,h5,h6{font-family:Roboto,sans-serif}h1{font-size:175%;margin-bottom:1em;font-weight:700;text-align:center}h2{font-size:150%;margin-bottom:1em;font-weight:700}h3{font-size:125%;margin-bottom:0.5em}h4{font-size:115%;margin-bottom:0.5em;color:#2980B9;font-weight:300}h5{font-size:110%;margin-bottom:0.5em;color:#2980B9;font-weight:light}#org-div-home-and-up{position:absolute;right:0;z-index:10;padding:10px}@media all and (min-width: 1500px){#org-div-home-and-up{right:auto;width:1500px;text-align:right}}#table-of-contents{position:fixed;top:0;left:0;width:300px;overflow-x:hidden;overflow-y:scroll;height:100%;background:#333;z-index:200}#table-of-contents h2{color:#fcfcfc;background-color:#6b7adb;text-align:center;padding:0.8em;display:block;font-size:100%;z-index:200}#table-of-contents a{display:block;position:relative;line-height:1.5em;font-size:90%;color:#a6a6a6}#table-of-contents a:hover{background-color:#666;cursor:pointer}#table-of-contents li{list-style:none;margin-left:0px}#table-of-contents ul{margin-bottom:0}#table-of-contents li a{padding:0.4em 1.6em}#table-of-contents li ul li a{padding:0.4em 2.4em}#table-of-contents li ul li ul li a{padding:0.4em 3.0em}#table-of-contents li ul li ul li ul li a{padding:0.4em 3.6em}#table-of-contents .tag{display:none}#copyright{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:Merriweather,Georgia,"Times New Roman",serif;font-size:90%;z-index:400;padding:12px}#copyright a{color:#2980B9;text-decoration:none}#copyright .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}#postamble{position:fixed;bottom:0;left:0;width:300px;padding:12px;color:#fcfcfc;background:#1f1f1f;border-top:solid 10px #343131;font-family:Merriweather,Georgia,"Times New Roman",serif;font-size:0.8em;z-index:400}#postamble .author{font-size:100%;margin-bottom:0px}#postamble .date{font-size:90%;margin-bottom:0px;color:#6bdbb6}#postamble .creator,#postamble .validation{display:none}@media print{html,body,section{background:none !important}*{box-shadow:none !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}a,a:visited{text-decoration:underline}pre.src,blockquote{page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}@media print{#postamble{display:none}#content{margin-left:0}}@media print{#table-of-contents{display:none}@page{size:auto;margin:25mm 25mm 25mm 25mm}body{margin:0px}}sup a.footref,sup a.footnum{color:#2980b9;font-size:12px;font-family:Roboto,sans-serif}sup a.footref:before,sup a.footnum:before{content:"["}sup a.footref:after,sup a.footnum:after{content:"]"}sup a.footref:visited,sup a.footnum:visited{color:#2980b9}#footnotes div.footdef{display:flex}#footnotes div.footdef sup{line-height:1;padding:8px;top:0}#footnotes div.footdef div.footpara{margin:0;padding:0}#footnotes div.footdef div.footpara p{color:#999;font-size:90%;font-family:Roboto,sans-serif;padding:8px;line-height:1.25em;margin:0}.aside{padding-left:1.0em;margin-left:0.5em;border-left:2px solid #a3a3a3}@media (min-width: 1200px){.aside{width:30%;float:right}}.aside>p{margin:0.2em;font-size:80%}div.csl-bib-body .csl-entry{margin-bottom:1em}.org-bold{font-weight:700}.org-bold-italic{font-weight:700;font-style:italic}.org-buffer-menu-buffer{font-weight:700}.org-builtin{color:#7a378b}.org-button{text-decoration:underline}.org-calendar-today{text-decoration:underline}.org-change-log-acknowledgement{color:#b22222}.org-change-log-conditionals{color:#a0522d}.org-change-log-date{color:#8b2252}.org-change-log-email{color:#a0522d}.org-change-log-file{color:#0000ff}.org-change-log-function{color:#a0522d}.org-change-log-list{color:#a020f0}.org-change-log-name{color:#008b8b}.org-comint-highlight-input{font-weight:700}.org-comint-highlight-prompt{color:#00008b}.org-completions-annotations{font-style:italic}.org-completions-common-part{color:#000000;background-color:#ffffff}.org-completions-first-difference{font-weight:700}.org-diary{color:#ff0000}.org-diff-context{color:#7f7f7f}.org-diff-file-header{background-color:#b3b3b3;font-weight:700}.org-diff-function{background-color:#cccccc}.org-diff-header{background-color:#cccccc}.org-diff-hunk-header{background-color:#cccccc}.org-diff-index{background-color:#b3b3b3;font-weight:s 700}.org-diff-nonexistent{background-color:#b3b3b3;font-weight:s 700}.org-diff-refine-change{background-color:#d9d9d9}.org-dired-directory{color:#0000ff}.org-dired-flagged{color:#ff0000;font-weight:s 700}.org-dired-header{color:#228b22}.org-dired-ignored{color:#7f7f7f}.org-dired-mark{color:#008b8b}.org-dired-marked{color:#ff0000;font-weight:s 700}.org-dired-perm-write{color:#b22222}.org-dired-symlink{color:#a020f0}.org-dired-warning{color:#ff0000;font-weight:s 700}.org-doc{color:#8b2252}.org-escape-glyph{color:#a52a2a}.org-file-name-shadow{color:#7f7f7f}.org-flyspell-duplicate{color:#cdad00;font-weight:s 700;text-decoration:underline}.org-flyspell-incorrect{color:#ff4500;font-weight:s 700;text-decoration:underline}.org-fringe{background-color:#f2f2f2}.org-function-name{color:teal}.org-header-line{color:#333333;background-color:#e5e5e5}.org-help-argument-name{font-style:italic}.org-highlight{background-color:#b4eeb4}.org-holiday{background-color:#ffc0cb}.org-isearch{color:#b0e2ff;background-color:#cd00cd}.org-isearch-fail{background-color:#ffc1c1}.org-italic{font-style:italic}.org-keyword{color:#0086b3}.org-lazy-highlight{background-color:#afeeee}.org-link{color:#0000ff;text-decoration:underline}.org-link-visited{color:#8b008b;text-decoration:underline}.org-log-edit-header{color:#a020f0}.org-log-edit-summary{color:#0000ff}.org-log-edit-unknown-header{color:#b22222}.org-match{background-color:#ffff00}.org-next-error{background-color:#eedc82}.org-nobreak-space{color:#a52a2a;text-decoration:underline}.org-org-archived{color:#7f7f7f}.org-org-block{color:#7f7f7f}.org-org-block-begin-line{color:#b22222}.org-org-block-end-line{color:#b22222}.org-org-checkbox{font-weight:s 700}.org-org-checkbox-statistics-done{color:#228b22;font-weight:s 700}.org-org-checkbox-statistics-todo{color:#ff0000;font-weight:s 700}.org-org-clock-overlay{background-color:#ffff00}.org-org-code{color:#7f7f7f}.org-org-column{background-color:#e5e5e5}.org-org-column-title{background-color:#e5e5e5;font-weight:s 700;text-decoration:underline}.org-org-date{color:#a020f0;text-decoration:underline}.org-org-document-info{color:#191970}.org-org-document-info-keyword{color:#7f7f7f}.org-org-document-title{color:#191970;font-size:144%;font-weight:s 700}.org-org-done{color:#228b22;font-weight:s 700}.org-org-drawer{color:#0000ff}.org-org-ellipsis{color:#b8860b;text-decoration:underline}.org-org-footnote{color:#a020f0;text-decoration:underline}.org-org-formula{color:#b22222}.org-org-headline-done{color:#bc8f8f}.org-org-hide{color:#ffffff}.org-org-latex-and-export-specials{color:#8b4513}.org-org-level-1{color:#0000ff}.org-org-level-2{color:#a0522d}.org-org-level-3{color:#a020f0}.org-org-level-4{color:#b22222}.org-org-level-5{color:#228b22}.org-org-level-6{color:#008b8b}.org-org-level-7{color:#7a378b}.org-org-level-8{color:#8b2252}.org-org-link{color:#0000ff;text-decoration:underline}.org-org-meta-line{color:#b22222}.org-org-mode-line-clock{color:#000000;background-color:#bfbfbf}.org-org-mode-line-clock-overrun{color:#000000;background-color:#ff0000}.org-org-quote{color:#7f7f7f}.org-org-scheduled{color:#006400}.org-org-scheduled-previously{color:#b22222}.org-org-scheduled-today{color:#006400}.org-org-sexp-date{color:#a020f0}.org-org-special-keyword{color:#a020f0}.org-org-table{color:#0000ff}.org-org-tag{font-weight:s 700}.org-org-target{text-decoration:underline}.org-org-time-grid{color:#b8860b}.org-org-todo{color:#ff0000;font-weight:s 700}.org-org-upcoming-deadline{color:#b22222}.org-org-verbatim{color:#7f7f7f}.org-org-verse{color:#7f7f7f}.org-org-warning{color:#ff0000;font-weight:s 700}.org-outline-1{color:#0000ff}.org-outline-2{color:#a0522d}.org-outline-3{color:#a020f0}.org-outline-4{color:#b22222}.org-outline-5{color:#228b22}.org-outline-6{color:#008b8b}.org-outline-7{color:#7a378b}.org-outline-8{color:#8b2252}.org-preprocessor{color:#7a378b}.org-query-replace{color:#b0e2ff;background-color:#cd00cd}.org-regexp-grouping-backslash{font-weight:s 700}.org-regexp-grouping-construct{font-weight:s 700}.org-region{background-color:#eedc82}.org-secondary-selection{background-color:#ffff00}.org-shadow{color:#7f7f7f}.org-show-paren-match{background-color:#40e0d0}.org-show-paren-mismatch{color:#ffffff;background-color:#a020f0}.org-tool-bar{color:#000000;background-color:#bfbfbf}.org-tooltip{color:#000000;background-color:#ffffe0}.org-trailing-whitespace{background-color:#ff0000}.org-underline{text-decoration:underline}.org-warning{color:#ff0000;font-weight:s 700}.org-widget-button{font-weight:s 700}.org-widget-button-pressed{color:#ff0000}.org-widget-documentation{color:#006400}.org-widget-field{background-color:#d9d9d9}.org-widget-inactive{color:#7f7f7f}.org-widget-single-line-field{background-color:#d9d9d9}.org-font-latex-sedate{color:#0086b3}.org-font-latex-math{color:#006400}ul{list-style:disc;line-height:24px;margin-bottom:1em}ul li{margin-left:24px}ol{list-style:decimal;line-height:24px;margin-bottom:1em}ol li{margin-left:24px}dl{margin-bottom:1em}dl dt{font-weight:700;vertical-align:top}dl dd{margin:0 0 12px 24px}.seealso{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f0f0f0}.seealso>p:last-child{margin-bottom:0}.seealso.admonition-title{line-height:1;background:#a3a3a3;margin-bottom:0px}.seealso.admonition-title:before{font-family:FontAwesome;content:""}.definition{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9e6e6}.definition>p:last-child{margin-bottom:0}.definition.admonition-title{line-height:1;background:#db6b6b;margin-bottom:0px}.definition.admonition-title:before{font-family:FontAwesome;content:""}.exampl{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#e6f9f3}.exampl>p:last-child{margin-bottom:0}.exampl.admonition-title{line-height:1;background:#6bdbb6;margin-bottom:0px}.exampl.admonition-title:before{font-family:FontAwesome;content:""}.question{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9f7e6}.question>p:last-child{margin-bottom:0}.question.admonition-title{line-height:1;background:#dbd26b;margin-bottom:0px}.question.admonition-title:before{font-family:FontAwesome;content:""}.exercice{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9f7e6}.exercice>p:last-child{margin-bottom:0}.exercice.admonition-title{line-height:1;background:#dbd26b;margin-bottom:0px}.exercice.admonition-title:before{font-family:FontAwesome;content:""}.answer{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f0f0f0}.answer>p:last-child{margin-bottom:0}.answer.admonition-title{line-height:1;background:#6bc7db;margin-bottom:0px}.answer.admonition-title:before{font-family:FontAwesome;content:""}.summary{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#e6e9f9}.summary>p:last-child{margin-bottom:0}.summary.admonition-title{line-height:1;background:#6b7adb;margin-bottom:0px}.summary.admonition-title:before{font-family:FontAwesome;content:""}.hint{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f0f0f0}.hint>p:last-child{margin-bottom:0}.hint.admonition-title{line-height:1;background:#a3a3a3;margin-bottom:0px}.hint.admonition-title:before{font-family:FontAwesome;content:""}.important{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9e6e6}.important>p:last-child{margin-bottom:0}.important.admonition-title{line-height:1;background:#db6b6b;margin-bottom:0px}.important.admonition-title:before{font-family:FontAwesome;content:""}.caution{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9f0e6}.caution>p:last-child{margin-bottom:0}.caution.admonition-title{line-height:1;background:#dba76b;margin-bottom:0px}.caution.admonition-title:before{font-family:FontAwesome;content:""}.warning{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9f0e6}.warning>p:last-child{margin-bottom:0}.warning.admonition-title{line-height:1;background:#dba76b;margin-bottom:0px}.warning.admonition-title:before{font-family:FontAwesome;content:""}#content .admonition-title{color:#fcfcfc;font-weight:700;display:block;padding:6px 12px;margin-bottom:0px}#content .admonition-title:before{margin-right:8px;font-family:FontAwesome;display:inline-block;font-weight:400;line-height:1;text-decoration:inherit}.org-src-container{position:relative;overflow:visible;margin-top:1em}.org-src-container label{text-align:center;cursor:text;font-size:0.85em;font-family:Merriweather,Georgia,"Times New Roman",serif;font-style:italic;color:#404040}.org-src-container label .listing-number{font-weight:700;color:#22308c}.org-src-container div.src-copy{display:inline;position:absolute;color:#a6a6a6;background-color:#fff;padding:0px 4px;border:1px solid #e1e4e5;font-size:10px;top:-9px;z-index:10;font-family:"Source Code Pro",monospace;line-height:1.5;right:10px;cursor:pointer}.org-src-container div.src-copy.src-copied{color:#fcfcfc;background-color:#6b7adb}.org-src-container .linenr{color:#a6a6a6}.org-src-container>pre{position:relative;overflow:visible;border:1px solid #e1e4e5;background:#fff;display:block;font-family:"Source Code Pro",monospace;font-size:12px;line-height:1.5;padding:12px;margin-bottom:24px;white-space:pre-wrap}.org-src-container>pre.src:before{display:inline;position:absolute;color:#a6a6a6;background-color:#fff;padding:0px 4px;border:1px solid #e1e4e5;font-size:10px;top:-9px;z-index:10;font-family:"Source Code Pro",monospace;left:10px}.org-src-container>pre.src-emacs-lisp:before{content:'Emacs Lisp'}.org-src-container>pre.src-elisp:before{content:'Emacs Lisp'}.org-src-container>pre.src-sh:before{content:'shell'}.org-src-container>pre.src-bash:before{content:'bash'}.org-src-container>pre.src-org:before{content:'Org mode'}.org-src-container>pre.src-python:before{content:'Python'}.org-src-container>pre.src-latex:before{content:'LaTeX'}.org-src-container>pre.src-matlab:before{content:'Matlab'}.org-src-container>pre.src-bibtex:before{content:'BibTeX'}pre.example{position:relative;background:#edf0f2;border:1px solid #e1e4e5;color:#404040;font-size:12px;line-height:1.5;margin-bottom:24px;padding:12px;font-family:"Source Code Pro",monospace}pre.example:before{display:inline;position:absolute;color:#a6a6a6;background-color:#fff;padding:0px 4px;border:1px solid #e1e4e5;font-size:10px;top:-9px;z-index:10;font-family:"Source Code Pro",monospace;content:"Results";display:inline;left:10px}.org-type{color:#228b22}.org-comment{color:#999988;font-style:italic}.org-comment-delimiter{color:#999988;font-style:italic}.org-string{color:#dd1144}.org-matlab-cellbreak{text-decoration:underline;text-decoration-color:#999988}.org-constant{color:#008b8b}.org-variable-name{color:teal}.figure{margin-bottom:24px}.figure p{color:#404040;font-size:0.85em;font-family:Merriweather,Georgia,"Times New Roman",serif;font-style:italic;text-align:center;margin:0}.figure img{max-width:100%;display:block;margin:auto;padding-bottom:0.5em}.figure .figure-number{font-weight:700;color:#22308c}figcaption,figure,footer,header,hgroup,nav{display:block}table{margin-left:auto;margin-right:auto;border-collapse:collapse;border-spacing:0;empty-cells:show;margin-bottom:24px;border-bottom:3px solid #e1e4e5}table td,table th{font-size:90%;margin:0;overflow:visible;padding:8px 16px;background-color:#fff;border:1px solid #e1e4e5}table .org-right{margin-left:auto;margin-right:0px;text-align:right}table .org-left{margin-left:0px;margin-right:auto;text-align:left}table .org-center{margin-left:auto;margin-right:auto;text-align:center}table thead th{font-weight:700;border-top:3px solid #e1e4e5;border-bottom:1px solid #e1e4e5}table tbody{border-top:3px solid #e1e4e5}table caption{color:#404040;font-size:0.85em;font-family:Merriweather,Georgia,"Times New Roman",serif;font-style:italic;padding:1em 0}table caption .table-number{font-weight:700;color:#22308c}div.yt{position:relative;padding-bottom:56.25%}div.yt iframe{position:absolute;top:0;left:0;width:100%;height:100%}video{max-width:100%}details{background:#edf0f2;border:1px solid #666;border-radius:3px;margin-bottom:1.0em;padding:12px 12px 0 12px}details pre.src{margin-top:12px;margin-bottom:0}details summary{outline:0;color:#666;padding:0px;margin:0px;margin-bottom:10px;cursor:pointer}details summary::after{font-size:0.85em;color:#666;float:right;padding-right:0.5em;content:"Click to fold/unfold"}@media screen and (max-width: 768px){.tablet-hide{display:none}}@media screen and (max-width: 480px){.mobile-hide{display:none}}@media screen and (max-width: 768px){#content{margin-left:0}#content #content{padding:1.618em}#content.shift{position:fixed;min-width:100%;left:85%;top:0;height:100%;overflow:hidden}}@media screen and (min-width: 1400px){#content{background:rgba(0,0,0,0.05)}#content{background:#fcfcfc}}@media screen and (max-width: 768px){#copyright{width:85%;display:none}#copyright.shift{display:block}}@media screen and (max-width: 480px){#content .sidebar{width:100%}}@media screen and (max-width: 768px){#table-of-contents{display:none;width:60%}#table-of-contents h2 a{display:block}#table-of-contents:target{display:block}#copyright,#postamble{display:none}#toggle-sidebar{display:block;margin-bottom:1.6em;padding:0.6em;text-align:center}#toggle-sidebar h2{background-color:#2980B9;width:100%;height:50px;left:0;top:0;color:white;font-size:100%;line-height:50px;position:fixed;margin:0;padding:0;opacity:0.7}#table-of-contents .close-sidebar{color:rgba(255,255,255,0.3);display:inline-block;margin:0px 10px 0px 45px;padding:10px}} +@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/fontawesome.min.css");html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}*{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}blockquote,q{quotes:none}blockquote:before,blockquote:after{content:'';content:none}q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@use "sass:color";html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;font-size:100%;height:100%;overflow-x:hidden}body{background:#edf0f2;color:#404040;font-family:Roboto,sans-serif;font-weight:400;margin:0;min-height:100%;overflow-x:hidden}#content{background:#fcfcfc;height:100%;min-height:100%;margin-left:300px;max-width:1200px;padding:1.618em 3.236em}a{color:#6b7adb;text-decoration:none;cursor:pointer}a:hover{outline:0;color:#6b7adb}a:visited{outline:0;color:#6b7adb}p{font-size:16px;line-height:24px;margin:0 0 1.5em 0}b,strong{font-weight:700}i{font-style:italic}.underline{text-decoration:underline}code{background:#fff;border:solid 1px #e1e4e5;font-family:"Source Code Pro",monospace;font-size:75%;max-width:100%;overflow-x:auto;padding:0 5px;white-space:nowrap}blockquote{background-color:#f0f0f0;border-left:5px solid #a3a3a3;font-style:italic;line-height:24px;margin:0px 0px 24px 0px;padding:6px 20px}blockquote>p{margin-bottom:1em}blockquote>p:last-child{margin-bottom:0}sub,sup{font-size:0.6em;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}mark{background:#ff0;color:#000;font-style:italic;font-weight:700}small{font-size:85%}img{-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}label{cursor:pointer;display:block;margin:0 0 0.3125em 0;color:#333;font-size:90%}legend{border:0;margin-left:-7px;padding:0;white-space:normal;display:block;width:100%;padding:0;white-space:normal;margin-bottom:24px;font-size:150%}.nav #content .admonition-title,#content .nav .admonition-title,.nav .icon{display:inline}.left{text-align:left}.center{text-align:center}.right{text-align:right}hr{display:block;height:1px;border:0;border-top:1px solid #e1e4e5;margin:24px 0;padding:0}#content img{max-width:100%}#content .section>img,#content .section>a>img{margin-bottom:24px}.verse{border-left:5px solid #6AB0DE;background-color:#E7F2FA;padding:6px 20px;font-style:italic}#content .section ol p,#content .section ul p{margin-bottom:12px}#content h1 .headerlink,#content h2 .headerlink,#content h3 .headerlink,#content h4 .headerlink,#content h5 .headerlink,#content h6 .headerlink,#content dl dt .headerlink{display:none;visibility:hidden;font-size:14px}#content h1 .headerlink:after,#content h2 .headerlink:after,#content h3 .headerlink:after,#content h4 .headerlink:after,#content h5 .headerlink:after,#content h6 .headerlink:after,#content dl dt .headerlink:after{visibility:visible;content:"";font-family:FontAwesome;display:inline-block}#content h1:hover .headerlink,#content h2:hover .headerlink,#content h3:hover .headerlink,#content h4:hover .headerlink,#content h5:hover .headerlink,#content h6:hover .headerlink,#content dl dt:hover .headerlink{display:inline-block}#content .highlighted{background:#F1C40F;display:inline-block;font-weight:700;padding:0 6px}#content .footnote-reference,#content .citation-reference{vertical-align:super;font-size:90%}span[id*='MathJax-Span']{color:#404040}.math{text-align:center}.fa:before,#content h1 .headerlink:before,#content h2 .headerlink:before,#content h3 .headerlink:before,#content h4 .headerlink:before,#content h5 .headerlink:before,#content h6 .headerlink:before,#content dl dt .headerlink:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-alert,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"],select,textarea,#table-of-contents li.on a,#table-of-contents li.current>a,.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a,.wy-nav-top a{-webkit-font-smoothing:antialiased}.fa,.icon{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:0.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eee;border-radius:.1em}.todo{background-color:#db6b6b;padding:0px 4px;color:#fff}.todo.WAIT{background-color:#dba76b}.done{background-color:#6bdbb6;padding:0px 4px;color:#fff}.priority{color:#eea859;font-family:"Source Code Pro",monospace}.tag span{background-color:#f0f0f0;border:1px solid #a3a3a3;color:#939393;cursor:pointer;display:block;float:right;font-size:70%;font-weight:400;margin:0 3px;padding:5px;border-radius:3px}.timestamp-wrapper{font-size:0.8em;margin-left:2em}.timestamp-wrapper .timestamp{color:#22308c;font-family:"Source Code Pro",monospace}.title{font-size:175%;margin-bottom:1em;font-weight:700;text-align:center}.title .subtitle{font-size:80%}h1,h2,h3,h4,h5,h6{font-family:Roboto,sans-serif}h1{font-size:175%;margin-bottom:1em;font-weight:700;text-align:center}h2{font-size:150%;margin-bottom:1em;font-weight:700}h3{font-size:125%;margin-bottom:0.5em}h4{font-size:115%;margin-bottom:0.5em;color:#2980B9;font-weight:300}h5{font-size:110%;margin-bottom:0.5em;color:#2980B9;font-weight:light}#org-div-home-and-up{position:absolute;right:0;z-index:10;padding:10px}@media all and (min-width: 1500px){#org-div-home-and-up{right:auto;width:1500px;text-align:right}}#table-of-contents{position:fixed;top:0;left:0;width:300px;overflow-x:hidden;overflow-y:scroll;height:100%;background:#333;z-index:200}#table-of-contents h2{color:#fcfcfc;background-color:#6b7adb;text-align:center;padding:0.8em;display:block;font-size:100%;z-index:200}#table-of-contents a{display:block;position:relative;line-height:1.5em;font-size:90%;color:#a6a6a6}#table-of-contents a:hover{background-color:#666;cursor:pointer}#table-of-contents .close-sidebar{display:none}#table-of-contents li{list-style:none;margin-left:0px}#table-of-contents ul{margin-bottom:0}#table-of-contents li a{padding:0.4em 1.6em}#table-of-contents li ul li a{padding:0.4em 2.4em}#table-of-contents li ul li ul li a{padding:0.4em 3.0em}#table-of-contents li ul li ul li ul li a{padding:0.4em 3.6em}#table-of-contents .tag{display:none}ul.nav li ul li{display:none}ul.nav li ul li ul li{display:none}ul.nav li.active ul li{display:inline}ul.nav li.active ul li ul li{display:inline}ul.nav li.active ul li a{background-color:#E3E3E3;color:#8099B0;border-right:solid 1px #c9c9c9 !important}ul.nav li.active ul li.active a{background-color:#C9C9C9;color:black !important;font-weight:bold !important}ul.nav li.active ul li.active ul li.active a{color:black !important;font-weight:bold !important;display:block !important}ul.nav li.active ul li.active ul li a{color:#808080 !important;font-weight:normal !important;display:block !important}ul.nav li.active ul li ul li a{display:none !important}ul.nav li ul li ul li ul li{display:none !important}ul.nav li.active>a{border-bottom:solid 1px #c9c9c9 !important;border-right:solid 1px #c9c9c9 !important}ul.nav li.active a{color:gray !important;font-weight:bold;background-color:white;border-right:solid 0px white !important}ul.nav>li.active>a{color:black !important}#toggle-sidebar{display:none}li.divide-top{border-top:solid 1px #404040}li.divide-bottom{border-bottom:solid 1px #404040}li.current{background:#e3e3e3}li.current a{color:gray;border-right:solid 1px #c9c9c9;padding:0.4045em 2.427em}li.current a:hover{background:#d6d6d6}li a{position:relative;border:none;padding-left:1.618em -4px}li.on a:hover{background:#fcfcfc}li.current>a:hover{background:#fcfcfc}li.current ul{display:block}.local-toc li ul{display:block}li ul li a{margin-bottom:0;color:#b3b3b3;font-weight:normal}#copyright{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:Merriweather,Georgia,"Times New Roman",serif;font-size:90%;z-index:400;padding:12px}#copyright a{color:#2980B9;text-decoration:none}#copyright .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}#postamble{position:fixed;bottom:0;left:0;width:300px;padding:12px;color:#fcfcfc;background:#1f1f1f;border-top:solid 10px #343131;font-family:Merriweather,Georgia,"Times New Roman",serif;font-size:0.8em;z-index:400}#postamble .author{font-size:100%;margin-bottom:0px}#postamble .date{font-size:90%;margin-bottom:0px;color:#6bdbb6}#postamble .creator,#postamble .validation{display:none}@media print{html,body,section{background:none !important}*{box-shadow:none !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}a,a:visited{text-decoration:underline}pre.src,blockquote{page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}@media print{#postamble{display:none}#content{margin-left:0}}@media print{#table-of-contents{display:none}@page{size:auto;margin:25mm 25mm 25mm 25mm}body{margin:0px}}sup a.footref,sup a.footnum{color:#2980b9;font-size:12px;font-family:Roboto,sans-serif}sup a.footref:before,sup a.footnum:before{content:"["}sup a.footref:after,sup a.footnum:after{content:"]"}sup a.footref:visited,sup a.footnum:visited{color:#2980b9}#footnotes div.footdef{display:flex}#footnotes div.footdef sup{line-height:1;padding:8px;top:0}#footnotes div.footdef div.footpara{margin:0;padding:0}#footnotes div.footdef div.footpara p{color:#999;font-size:90%;font-family:Roboto,sans-serif;padding:8px;line-height:1.25em;margin:0}.aside{padding-left:1.0em;margin-left:0.5em;border-left:2px solid #a3a3a3}@media (min-width: 1200px){.aside{width:30%;float:right}}.aside>p{margin:0.2em;font-size:80%}div.csl-bib-body .csl-entry{margin-bottom:1em}.org-bold{font-weight:700}.org-bold-italic{font-weight:700;font-style:italic}.org-buffer-menu-buffer{font-weight:700}.org-builtin{color:#7a378b}.org-button{text-decoration:underline}.org-calendar-today{text-decoration:underline}.org-change-log-acknowledgement{color:#b22222}.org-change-log-conditionals{color:#a0522d}.org-change-log-date{color:#8b2252}.org-change-log-email{color:#a0522d}.org-change-log-file{color:#0000ff}.org-change-log-function{color:#a0522d}.org-change-log-list{color:#a020f0}.org-change-log-name{color:#008b8b}.org-comint-highlight-input{font-weight:700}.org-comint-highlight-prompt{color:#00008b}.org-completions-annotations{font-style:italic}.org-completions-common-part{color:#000000;background-color:#ffffff}.org-completions-first-difference{font-weight:700}.org-diary{color:#ff0000}.org-diff-context{color:#7f7f7f}.org-diff-file-header{background-color:#b3b3b3;font-weight:700}.org-diff-function{background-color:#cccccc}.org-diff-header{background-color:#cccccc}.org-diff-hunk-header{background-color:#cccccc}.org-diff-index{background-color:#b3b3b3;font-weight:s 700}.org-diff-nonexistent{background-color:#b3b3b3;font-weight:s 700}.org-diff-refine-change{background-color:#d9d9d9}.org-dired-directory{color:#0000ff}.org-dired-flagged{color:#ff0000;font-weight:s 700}.org-dired-header{color:#228b22}.org-dired-ignored{color:#7f7f7f}.org-dired-mark{color:#008b8b}.org-dired-marked{color:#ff0000;font-weight:s 700}.org-dired-perm-write{color:#b22222}.org-dired-symlink{color:#a020f0}.org-dired-warning{color:#ff0000;font-weight:s 700}.org-doc{color:#8b2252}.org-escape-glyph{color:#a52a2a}.org-file-name-shadow{color:#7f7f7f}.org-flyspell-duplicate{color:#cdad00;font-weight:s 700;text-decoration:underline}.org-flyspell-incorrect{color:#ff4500;font-weight:s 700;text-decoration:underline}.org-fringe{background-color:#f2f2f2}.org-function-name{color:teal}.org-header-line{color:#333333;background-color:#e5e5e5}.org-help-argument-name{font-style:italic}.org-highlight{background-color:#b4eeb4}.org-holiday{background-color:#ffc0cb}.org-isearch{color:#b0e2ff;background-color:#cd00cd}.org-isearch-fail{background-color:#ffc1c1}.org-italic{font-style:italic}.org-keyword{color:#0086b3}.org-lazy-highlight{background-color:#afeeee}.org-link{color:#0000ff;text-decoration:underline}.org-link-visited{color:#8b008b;text-decoration:underline}.org-log-edit-header{color:#a020f0}.org-log-edit-summary{color:#0000ff}.org-log-edit-unknown-header{color:#b22222}.org-match{background-color:#ffff00}.org-next-error{background-color:#eedc82}.org-nobreak-space{color:#a52a2a;text-decoration:underline}.org-org-archived{color:#7f7f7f}.org-org-block{color:#7f7f7f}.org-org-block-begin-line{color:#b22222}.org-org-block-end-line{color:#b22222}.org-org-checkbox{font-weight:s 700}.org-org-checkbox-statistics-done{color:#228b22;font-weight:s 700}.org-org-checkbox-statistics-todo{color:#ff0000;font-weight:s 700}.org-org-clock-overlay{background-color:#ffff00}.org-org-code{color:#7f7f7f}.org-org-column{background-color:#e5e5e5}.org-org-column-title{background-color:#e5e5e5;font-weight:s 700;text-decoration:underline}.org-org-date{color:#a020f0;text-decoration:underline}.org-org-document-info{color:#191970}.org-org-document-info-keyword{color:#7f7f7f}.org-org-document-title{color:#191970;font-size:144%;font-weight:s 700}.org-org-done{color:#228b22;font-weight:s 700}.org-org-drawer{color:#0000ff}.org-org-ellipsis{color:#b8860b;text-decoration:underline}.org-org-footnote{color:#a020f0;text-decoration:underline}.org-org-formula{color:#b22222}.org-org-headline-done{color:#bc8f8f}.org-org-hide{color:#ffffff}.org-org-latex-and-export-specials{color:#8b4513}.org-org-level-1{color:#0000ff}.org-org-level-2{color:#a0522d}.org-org-level-3{color:#a020f0}.org-org-level-4{color:#b22222}.org-org-level-5{color:#228b22}.org-org-level-6{color:#008b8b}.org-org-level-7{color:#7a378b}.org-org-level-8{color:#8b2252}.org-org-link{color:#0000ff;text-decoration:underline}.org-org-meta-line{color:#b22222}.org-org-mode-line-clock{color:#000000;background-color:#bfbfbf}.org-org-mode-line-clock-overrun{color:#000000;background-color:#ff0000}.org-org-quote{color:#7f7f7f}.org-org-scheduled{color:#006400}.org-org-scheduled-previously{color:#b22222}.org-org-scheduled-today{color:#006400}.org-org-sexp-date{color:#a020f0}.org-org-special-keyword{color:#a020f0}.org-org-table{color:#0000ff}.org-org-tag{font-weight:s 700}.org-org-target{text-decoration:underline}.org-org-time-grid{color:#b8860b}.org-org-todo{color:#ff0000;font-weight:s 700}.org-org-upcoming-deadline{color:#b22222}.org-org-verbatim{color:#7f7f7f}.org-org-verse{color:#7f7f7f}.org-org-warning{color:#ff0000;font-weight:s 700}.org-outline-1{color:#0000ff}.org-outline-2{color:#a0522d}.org-outline-3{color:#a020f0}.org-outline-4{color:#b22222}.org-outline-5{color:#228b22}.org-outline-6{color:#008b8b}.org-outline-7{color:#7a378b}.org-outline-8{color:#8b2252}.org-preprocessor{color:#7a378b}.org-query-replace{color:#b0e2ff;background-color:#cd00cd}.org-regexp-grouping-backslash{font-weight:s 700}.org-regexp-grouping-construct{font-weight:s 700}.org-region{background-color:#eedc82}.org-secondary-selection{background-color:#ffff00}.org-shadow{color:#7f7f7f}.org-show-paren-match{background-color:#40e0d0}.org-show-paren-mismatch{color:#ffffff;background-color:#a020f0}.org-tool-bar{color:#000000;background-color:#bfbfbf}.org-tooltip{color:#000000;background-color:#ffffe0}.org-trailing-whitespace{background-color:#ff0000}.org-underline{text-decoration:underline}.org-warning{color:#ff0000;font-weight:s 700}.org-widget-button{font-weight:s 700}.org-widget-button-pressed{color:#ff0000}.org-widget-documentation{color:#006400}.org-widget-field{background-color:#d9d9d9}.org-widget-inactive{color:#7f7f7f}.org-widget-single-line-field{background-color:#d9d9d9}.org-font-latex-sedate{color:#0086b3}.org-font-latex-math{color:#006400}ul{list-style:disc;line-height:24px;margin-bottom:1em}ul li{margin-left:24px}ol{list-style:decimal;line-height:24px;margin-bottom:1em}ol li{margin-left:24px}dl{margin-bottom:1em}dl dt{font-weight:700;vertical-align:top}dl dd{margin:0 0 12px 24px}.seealso{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f0f0f0}.seealso>p:last-child{margin-bottom:0}.seealso.admonition-title{line-height:1;background:#a3a3a3;margin-bottom:0px}.seealso.admonition-title:before{font-family:FontAwesome;content:""}.definition{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9e6e6}.definition>p:last-child{margin-bottom:0}.definition.admonition-title{line-height:1;background:#db6b6b;margin-bottom:0px}.definition.admonition-title:before{font-family:FontAwesome;content:""}.exampl{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#e6f9f3}.exampl>p:last-child{margin-bottom:0}.exampl.admonition-title{line-height:1;background:#6bdbb6;margin-bottom:0px}.exampl.admonition-title:before{font-family:FontAwesome;content:""}.question{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9f7e6}.question>p:last-child{margin-bottom:0}.question.admonition-title{line-height:1;background:#dbd26b;margin-bottom:0px}.question.admonition-title:before{font-family:FontAwesome;content:""}.exercice{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9f7e6}.exercice>p:last-child{margin-bottom:0}.exercice.admonition-title{line-height:1;background:#dbd26b;margin-bottom:0px}.exercice.admonition-title:before{font-family:FontAwesome;content:""}.answer{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f0f0f0}.answer>p:last-child{margin-bottom:0}.answer.admonition-title{line-height:1;background:#6bc7db;margin-bottom:0px}.answer.admonition-title:before{font-family:FontAwesome;content:""}.summary{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#e6e9f9}.summary>p:last-child{margin-bottom:0}.summary.admonition-title{line-height:1;background:#6b7adb;margin-bottom:0px}.summary.admonition-title:before{font-family:FontAwesome;content:""}.hint{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f0f0f0}.hint>p:last-child{margin-bottom:0}.hint.admonition-title{line-height:1;background:#a3a3a3;margin-bottom:0px}.hint.admonition-title:before{font-family:FontAwesome;content:""}.important{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9e6e6}.important>p:last-child{margin-bottom:0}.important.admonition-title{line-height:1;background:#db6b6b;margin-bottom:0px}.important.admonition-title:before{font-family:FontAwesome;content:""}.caution{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9f0e6}.caution>p:last-child{margin-bottom:0}.caution.admonition-title{line-height:1;background:#dba76b;margin-bottom:0px}.caution.admonition-title:before{font-family:FontAwesome;content:""}.warning{padding:12px;line-height:24px;margin-bottom:24px;-webkit-font-smoothing:antialiased;background:#f9f0e6}.warning>p:last-child{margin-bottom:0}.warning.admonition-title{line-height:1;background:#dba76b;margin-bottom:0px}.warning.admonition-title:before{font-family:FontAwesome;content:""}#content .admonition-title{color:#fcfcfc;font-weight:700;display:block;padding:6px 12px;margin-bottom:0px}#content .admonition-title:before{margin-right:8px;font-family:FontAwesome;display:inline-block;font-weight:400;line-height:1;text-decoration:inherit}.org-src-container{position:relative;overflow:visible;margin-top:1em}.org-src-container label{text-align:center;cursor:text;font-size:0.85em;font-family:Merriweather,Georgia,"Times New Roman",serif;font-style:italic;color:#404040}.org-src-container label .listing-number{font-weight:700;color:#22308c}.org-src-container div.src-copy{display:inline;position:absolute;color:#a6a6a6;background-color:#fff;padding:0px 4px;border:1px solid #e1e4e5;font-size:10px;top:-9px;z-index:10;font-family:"Source Code Pro",monospace;line-height:1.5;right:10px;cursor:pointer}.org-src-container div.src-copy.src-copied{color:#fcfcfc;background-color:#6b7adb}.org-src-container .linenr{color:#a6a6a6}.org-src-container>pre{position:relative;overflow:visible;border:1px solid #e1e4e5;background:#fff;display:block;font-family:"Source Code Pro",monospace;font-size:12px;line-height:1.5;padding:12px;margin-bottom:24px;white-space:pre-wrap}.org-src-container>pre.src:before{display:inline;position:absolute;color:#a6a6a6;background-color:#fff;padding:0px 4px;border:1px solid #e1e4e5;font-size:10px;top:-9px;z-index:10;font-family:"Source Code Pro",monospace;left:10px}.org-src-container>pre.src-emacs-lisp:before{content:'Emacs Lisp'}.org-src-container>pre.src-elisp:before{content:'Emacs Lisp'}.org-src-container>pre.src-sh:before{content:'shell'}.org-src-container>pre.src-bash:before{content:'bash'}.org-src-container>pre.src-org:before{content:'Org mode'}.org-src-container>pre.src-python:before{content:'Python'}.org-src-container>pre.src-latex:before{content:'LaTeX'}.org-src-container>pre.src-matlab:before{content:'Matlab'}.org-src-container>pre.src-bibtex:before{content:'BibTeX'}pre.example{position:relative;background:#edf0f2;border:1px solid #e1e4e5;color:#404040;font-size:12px;line-height:1.5;margin-bottom:24px;padding:12px;font-family:"Source Code Pro",monospace}pre.example:before{display:inline;position:absolute;color:#a6a6a6;background-color:#fff;padding:0px 4px;border:1px solid #e1e4e5;font-size:10px;top:-9px;z-index:10;font-family:"Source Code Pro",monospace;content:"Results";display:inline;left:10px}.org-type{color:#228b22}.org-comment{color:#999988;font-style:italic}.org-comment-delimiter{color:#999988;font-style:italic}.org-string{color:#dd1144}.org-matlab-cellbreak{text-decoration:underline;text-decoration-color:#999988}.org-constant{color:#008b8b}.org-variable-name{color:teal}.figure{margin-bottom:24px}.figure p{color:#404040;font-size:0.85em;font-family:Merriweather,Georgia,"Times New Roman",serif;font-style:italic;text-align:center;margin:0}.figure img{max-width:100%;display:block;margin:auto;padding-bottom:0.5em}.figure .figure-number{font-weight:700;color:#22308c}figcaption,figure,footer,header,hgroup,nav{display:block}table{margin-left:auto;margin-right:auto;border-collapse:collapse;border-spacing:0;empty-cells:show;margin-bottom:24px;border-bottom:3px solid #e1e4e5}table td,table th{font-size:90%;margin:0;overflow:visible;padding:8px 16px;background-color:#fff;border:1px solid #e1e4e5}table .org-right{margin-left:auto;margin-right:0px;text-align:right}table .org-left{margin-left:0px;margin-right:auto;text-align:left}table .org-center{margin-left:auto;margin-right:auto;text-align:center}table thead th{font-weight:700;border-top:3px solid #e1e4e5;border-bottom:1px solid #e1e4e5}table tbody{border-top:3px solid #e1e4e5}table caption{color:#404040;font-size:0.85em;font-family:Merriweather,Georgia,"Times New Roman",serif;font-style:italic;padding:1em 0}table caption .table-number{font-weight:700;color:#22308c}div.yt{position:relative;padding-bottom:56.25%}div.yt iframe{position:absolute;top:0;left:0;width:100%;height:100%}video{max-width:100%}details{background:#edf0f2;border:1px solid #666;border-radius:3px;margin-bottom:1.0em;padding:12px 12px 0 12px}details pre.src{margin-top:12px;margin-bottom:0}details summary{outline:0;color:#666;padding:0px;margin:0px;margin-bottom:10px;cursor:pointer}details summary::after{font-size:0.85em;color:#666;float:right;padding-right:0.5em;content:"Click to fold/unfold"}@media screen and (max-width: 768px){.tablet-hide{display:none}}@media screen and (max-width: 480px){.mobile-hide{display:none}}@media screen and (max-width: 768px){#content{margin-left:0}#content #content{padding:1.618em}#content.shift{position:fixed;min-width:100%;left:85%;top:0;height:100%;overflow:hidden}}@media screen and (min-width: 1400px){#content{background:rgba(0,0,0,0.05)}#content{background:#fcfcfc}}@media screen and (max-width: 768px){#copyright{width:85%;display:none}#copyright.shift{display:block}}@media screen and (max-width: 480px){#content .sidebar{width:100%}}@media screen and (max-width: 768px){#table-of-contents{display:none;width:60%}#table-of-contents h2 a{display:block}#table-of-contents:target{display:block}#copyright,#postamble{display:none}#toggle-sidebar{display:block;margin-bottom:1.6em;padding:0.6em;text-align:center}#toggle-sidebar h2{background-color:#2980B9;width:100%;height:50px;left:0;top:0;color:white;font-size:100%;line-height:50px;position:fixed;margin:0;padding:0;opacity:0.7}#table-of-contents .close-sidebar{color:rgba(255,255,255,0.3);display:inline-block;margin:0px 10px 0px 45px;padding:10px}} diff --git a/index.html b/index.html index cc216b2..998b799 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Test File for the Org Mode Theme @@ -33,69 +33,69 @@

Table of Contents

-
-

1 Basics

+
+

1 Basics

-
-

1.1 Normal Markup

+
+

1.1 Normal Markup

You can make words bold, italic, underlined, verbatim and code, and, if you must, strike-through. @@ -103,8 +103,8 @@ You can make words bold, italic, underline

-
-

1.2 Links to Footnotes

+
+

1.2 Links to Footnotes

A link to a footnote1 and to another footnote2. @@ -112,8 +112,8 @@ A link to a footnote1

-
-

1.3 Lists

+
+

1.3 Lists

Unordered List: @@ -190,26 +190,26 @@ maximus lorem quis accumsan vehicula.

-
-

1.4 Links

+
+

1.4 Links

Here is a list of links to:

    -
  • Figure 3
  • -
  • Table 2
  • -
  • Listing 1
  • +
  • Figure 3
  • +
  • Table 2
  • +
  • Listing 1
  • Specific line of code
  • Equation \eqref{eq:numbered}
  • -
  • Section 2
  • +
  • Section 2
  • Bibliographic Reference [1], and [1][3]
-
-

1.5 Maths

+
+

1.5 Maths

Here is some inline mathematics: \(z = 2\). @@ -237,8 +237,8 @@ Using the align environment Equations \eqref{eq:align_1} and \eqref

-
-

1.6 Verse, Quote

+
+

1.6 Verse, Quote

Below is a verse. @@ -270,14 +270,14 @@ Nearly everything is really interesting if you go into it deeply enough.

-
-

1.7 Aside

+
+

1.7 Aside

An aside block can be used as shown below.

-
+

This is a note about the text using the aside environment. This can be as long as wanted @@ -291,8 +291,8 @@ Cras elementum ex vel orci congue porttitor. Vestibulum scelerisque gravida matt

-
-

1.8 Inline Task

+
+

1.8 Inline Task

Some text. @@ -310,24 +310,24 @@ Some text.

-
-

2 Headlines

+
+

2 Headlines

- +

-
-

2.1 Second level Headline with tags   @home @work

+
+

2.1 Second level Headline with tags   @home @work

-
-

2.1.1 Third level Headline

+
+

2.1.1 Third level Headline

-
-
2.1.1.1 Fourth level Headline
+
+
2.1.1.1 Fourth level Headline

Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placerat felis malesuada elementum. Donec tincidunt pharetra tincidunt. Praesent id lectus eget erat porttitor placerat non a magna. Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean sollicitudin nibh enim, sed pulvinar massa iaculis sit amet. Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra sapien fermentum. Donec dictum eleifend velit, vel elementum ex ultrices non. Vivamus mauris ex, ultrices quis sem vel, dapibus lacinia est. Praesent a sapien id diam venenatis finibus non vel justo. Cras sagittis tortor ac rutrum elementum. Maecenas luctus tempor enim, vitae suscipit quam consequat a. Phasellus feugiat congue sapien commodo cursus. Interdum et malesuada fames ac ante ipsum primis in faucibus. @@ -336,12 +336,12 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera

-
-

2.1.2 Third level Headline

+
+

2.1.2 Third level Headline

-
-
2.1.2.1 Fourth level Headline
+
+
2.1.2.1 Fourth level Headline

Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placerat felis malesuada elementum. Donec tincidunt pharetra tincidunt. Praesent id lectus eget erat porttitor placerat non a magna. Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean sollicitudin nibh enim, sed pulvinar massa iaculis sit amet. Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra sapien fermentum. Donec dictum eleifend velit, vel elementum ex ultrices non. Vivamus mauris ex, ultrices quis sem vel, dapibus lacinia est. Praesent a sapien id diam venenatis finibus non vel justo. Cras sagittis tortor ac rutrum elementum. Maecenas luctus tempor enim, vitae suscipit quam consequat a. Phasellus feugiat congue sapien commodo cursus. Interdum et malesuada fames ac ante ipsum primis in faucibus. @@ -351,8 +351,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera

-
-

2.2 TODO Second level Headline with Schedule

+
+

2.2 TODO Second level Headline with Schedule

SCHEDULED: <2020-11-26 jeu.>

@@ -362,8 +362,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera
-
-

2.3 [B] Second level Headline with a priority

+
+

2.3 [B] Second level Headline with a priority

Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placerat felis malesuada elementum. Donec tincidunt pharetra tincidunt. Praesent id lectus eget erat porttitor placerat non a magna. @@ -371,8 +371,8 @@ Aliquam aliquet sagittis lorem in rutrum. Cras pharetra viverra nisi, at placera

-
-

2.4 TODO [C] Second level Headline with TODO State

+
+

2.4 TODO [C] Second level Headline with TODO State

Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra sapien fermentum. Donec dictum eleifend velit, vel elementum ex ultrices non. Vivamus mauris ex, ultrices quis sem vel, dapibus lacinia est. Praesent a sapien id diam venenatis finibus non vel justo. @@ -380,8 +380,8 @@ Vivamus egestas laoreet varius. Sed finibus libero nec quam tempor, eget viverra

-
-

2.5 DONE [A] Second level Headline with DONE State

+
+

2.5 DONE [A] Second level Headline with DONE State

CLOSED: [2020-11-26 jeu. 18:53]

@@ -389,8 +389,8 @@ Cras sagittis tortor ac rutrum elementum. Maecenas luctus tempor enim, vitae sus

-
-

2.5.1 WAIT Third level Headline with DONE State

+
+

2.5.1 WAIT Third level Headline with DONE State

CLOSED: [2020-11-26 jeu. 18:53]

@@ -401,80 +401,80 @@ Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean so

-
-

3 Blocks

+
+

3 Blocks

-
+

seealso block.

-
+

hint block.

-
+

definition block.

-
+

important block.

-
+

exampl block.

-
+

exercice block.

-
+

question block.

-
+

answer block.

-
+

summary block.

-
+

caution block.

-
+

warning block.

@@ -483,12 +483,12 @@ Cras non mauris ex. Morbi ut eros eu tellus egestas dapibus et et est. Aenean so
-
-

4 Source Blocks

+
+

4 Source Blocks

-
-

4.1 Figures

+
+

4.1 Figures

t = 0:0.01:5; % Time [s]
@@ -504,7 +504,7 @@ xlabel('Time [s]'); ylabel(
+

matlab_fig_example.png

Figure 1: Matlab Figure

@@ -512,8 +512,8 @@ xlabel('Time [s]'); ylabel( -

4.2 Table Result

+
+

4.2 Table Result

x = 1:10;
@@ -521,7 +521,7 @@ y = x.^2;
 
- +
@@ -590,8 +590,8 @@ y = x.^2; -
-

4.3 Inline Results

+
+

4.3 Inline Results

Results can be automatically outputed as shown below. @@ -620,35 +620,35 @@ y =

-
-

4.4 Caption and Reference

+
+

4.4 Caption and Reference

Captions can be added to code blocks. -Moreover, we can link to specific bode blocks (Listing 1 or 2). +Moreover, we can link to specific bode blocks (Listing 1 or 2).

-
figure;
+
figure;
 [X,Y,Z] = peaks;
 contour(X,Y,Z,20)
 
-
+

matlab_logo.png

Figure 2: Obtained Contour Plot

-
A = [1 2; 3 4; 5 6; 7 8]
+
A = [1 2; 3 4; 5 6; 7 8]
 [U,S,V] = svd(A)
 
-
+
 A = [1 2; 3 4; 5 6; 7 8]
 A =
      1     2
@@ -673,11 +673,11 @@ V =
 
-
-

4.5 Source Blocks with Line Numbers

+
+

4.5 Source Blocks with Line Numbers

-The Listing 3 has line numbers as the -n option was used. +The Listing 3 has line numbers as the -n option was used.

@@ -686,7 +686,7 @@ For instance, the code used to specify the wanted the vertical label is on line

-
1: figure;
+
1: figure;
 2: plot(t, x)
 3: xlabel('Time [s]');
 4: ylabel('Output [V]');
@@ -707,15 +707,15 @@ Numbering can be continued by using +n option as shown below.
 
-
-

5 Images

+
+

5 Images

-Figure 3 shows the results of the Tikz code of listing 4. +Figure 3 shows the results of the Tikz code of listing 4.

-
\begin{tikzpicture}
+
\begin{tikzpicture}
 
   % Blocs
   \node[block={2.0cm}{2.0cm}] (P) {$P$};
@@ -738,7 +738,7 @@ Figure 3 shows the results of the Tikz code of listing
 
-
+

general_control_names.png

Figure 3: General Control Configuration

@@ -746,14 +746,14 @@ Figure 3 shows the results of the Tikz code of listing
-
-

6 Tables

+
+

6 Tables

-Table 2 shows a table with some mathematics inside. +Table 2 shows a table with some mathematics inside.

-
Table 1: Table caption
+
@@ -809,7 +809,7 @@ Table 2 shows a table with some mathematics inside.
Table 2: A Simple table with included math
- +
@@ -882,7 +882,7 @@ Table 2 shows a table with some mathematics inside.
Table 3: Table without Head
- +
@@ -1016,8 +1016,8 @@ Table 2 shows a table with some mathematics inside. -
-

7 Details

+
+

7 Details

Below is some content hidden until you click the bar. @@ -1028,7 +1028,7 @@ Below is some content hidden until you click the bar. Almost anything can be put here for instance this table below.

-
Table 4: Table with multiples groups
+
@@ -1096,7 +1096,7 @@ It is approximately 12,742 km

-
+

What is the approximate diameter of the earth?

@@ -1111,8 +1111,8 @@ It is approximately 12,742 km
-
-

8 Videos

+
+

8 Videos

@@ -1120,8 +1120,8 @@ It is approximately 12,742 km
-
-

9 Bibliography

+
+

9 Bibliography

@@ -1146,7 +1146,7 @@ It is approximately 12,742 km

1

-A long foot note. Lorem ipsum dolor sit amet, consectetur adipiscing elit. With a reference to Figure 3. +A long foot note. Lorem ipsum dolor sit amet, consectetur adipiscing elit. With a reference to Figure 3.

2

@@ -1158,7 +1158,7 @@ An other footnote.

Author: Dehaeze Thomas

-

Created: 2020-11-27 ven. 23:05

+

Created: 2020-12-01 mar. 17:20

diff --git a/js/script.js b/js/script.js index 9460004..d724f3f 100644 --- a/js/script.js +++ b/js/script.js @@ -1,7 +1,3 @@ -// var $ = require('jquery'); -// window.$ = $; -// require('bootstrap'); -// // Blocks docReady(function() { var boxesNames = { @@ -76,6 +72,51 @@ function docReady(fn) { } } + +// Load Jquery +var scr = document.createElement('script'), + head = document.head || document.getElementsByTagName('head')[0]; +scr.src = 'https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'; +scr.async = false; // optionally + +head.insertBefore(scr, head.firstChild); + + +// Load Bootstrap.js +var scr = document.createElement('script'), + head = document.head || document.getElementsByTagName('head')[0]; +scr.src = 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'; +scr.async = false; // optionally + +head.insertBefore(scr, head.firstChild); + +// After it is loaded +scr.addEventListener('load', () => { + $(document).ready(function() { + $('#text-table-of-contents ul').first().addClass('nav'); + // ScrollSpy also requires that we use + // a Bootstrap nav component. + $('body').scrollspy({target: '#text-table-of-contents'}); + + // set the height of tableOfContents + var $postamble = $('#postamble'); + var $tableOfContents = $('#table-of-contents'); + $tableOfContents.css({paddingBottom: $postamble.outerHeight()}); + + // add TOC button + var toggleSidebar = $(''); + $('#content').prepend(toggleSidebar); + + // add close button when sidebar showed in mobile screen + var closeBtn = $('Close'); + var tocTitle = $('#table-of-contents').find('h2'); + tocTitle.append(closeBtn); + }); +}) + + + + // function collapse_toc_elements_on_click (nav_li_a){ // /* // When an `a' element in the TOC is clicked, its parent @@ -121,9 +162,6 @@ function docReady(fn) { // // a Bootstrap nav component. // $('body').scrollspy({target: '#text-table-of-contents'}); -// // DON'T add sticky table headers (Fix issue #69?) -// // $('table').stickyTableHeaders(); - // // set the height of tableOfContents // var $postamble = $('#postamble'); // var $tableOfContents = $('#table-of-contents'); diff --git a/scss/partials/_toc.scss b/scss/partials/_toc.scss index bdba6f5..c9bfc52 100644 --- a/scss/partials/_toc.scss +++ b/scss/partials/_toc.scss @@ -34,6 +34,10 @@ } } + .close-sidebar { + display: none; + } + // ToC Items li { list-style: none; @@ -70,134 +74,138 @@ -// ul.nav li ul li { -// display: none; -// } - -// ul.nav li ul li ul li { -// display: none; -// } - -// ul.nav li.active ul li { -// display: inline; -// } - -// ul.nav li.active ul li ul li { -// display: inline; -// } - -// ul.nav li.active ul li a { -// background-color: #E3E3E3; -// color: #8099B0; -// border-right:solid 1px #c9c9c9 !important; -// } - -// ul.nav li.active ul li.active a { -// background-color: #C9C9C9; -// color: black !important; -// font-weight: bold !important; -// } - -// ul.nav li.active ul li.active ul li.active a { -// color: black !important; -// font-weight: bold !important; -// display: block !important; -// } - -// ul.nav li.active ul li.active ul li a { -// color: #808080 !important; -// font-weight: normal !important; -// display: block !important; -// } - -// ul.nav li.active ul li ul li a { -// display: none !important; -// } - -// ul.nav li ul li ul li ul li { -// display: none !important; -// } - -// ul.nav li.active > a { -// border-bottom:solid 1px #c9c9c9 !important; -// border-right:solid 1px #c9c9c9 !important; -// } - -// ul.nav li.active a { -// color: gray !important; -// font-weight:bold; -// background-color: white; -// border-right:solid 0px white !important; -// } - -// ul.nav > li.active > a { -// color: black !important; -// } - -// #toggle-sidebar { -// display: none; -// } -// li { -// &.divide-top { -// border-top:solid 1px #404040; -// } +// Additionnal things to order -// &.divide-bottom { -// border-bottom:solid 1px #404040; -// } +ul.nav li ul li { + display: none; +} -// &.current { -// background:#e3e3e3; +ul.nav li ul li ul li { + display: none; +} -// a { -// color: gray; -// border-right: solid 1px #c9c9c9; -// padding: 0.4045em 2.427em; -// &:hover{ -// background: #d6d6d6; -// } -// } -// } +ul.nav li.active ul li { + display: inline; +} -// a { -// // padding:0.4045em 1.618em; -// position:relative; -// border:none; -// padding-left:1.618em -4px; -// } +ul.nav li.active ul li ul li { + display: inline; +} -// &.on a:hover { -// background: #fcfcfc; -// } -// &.current>a:hover{ -// background: #fcfcfc; -// } -// } +ul.nav li.active ul li a { + background-color: #E3E3E3; + color: #8099B0; + border-right:solid 1px #c9c9c9 !important; +} + +ul.nav li.active ul li.active a { + background-color: #C9C9C9; + color: black !important; + font-weight: bold !important; +} + +ul.nav li.active ul li.active ul li.active a { + color: black !important; + font-weight: bold !important; + display: block !important; +} + +ul.nav li.active ul li.active ul li a { + color: #808080 !important; + font-weight: normal !important; + display: block !important; +} + +ul.nav li.active ul li ul li a { + display: none !important; +} + +ul.nav li ul li ul li ul li { + display: none !important; +} + +ul.nav li.active > a { + border-bottom:solid 1px #c9c9c9 !important; + border-right:solid 1px #c9c9c9 !important; +} + +ul.nav li.active a { + color: gray !important; + font-weight:bold; + background-color: white; + border-right:solid 0px white !important; +} + +ul.nav > li.active > a { + color: black !important; +} + +#toggle-sidebar { + display: none; +} -// .close-sidebar { -// display: none; -// } -// li.current ul{ -// display:block; -// } -// .local-toc li ul{ -// display:block; -// } +li { + &.divide-top { + border-top:solid 1px #404040; + } + + &.divide-bottom { + border-bottom:solid 1px #404040; + } + + &.current { + background:#e3e3e3; + + a { + color: gray; + border-right: solid 1px #c9c9c9; + padding: 0.4045em 2.427em; + &:hover{ + background: #d6d6d6; + } + } + } + + a { + // padding:0.4045em 1.618em; + position:relative; + border:none; + padding-left:1.618em -4px; + } + + &.on a:hover { + background: #fcfcfc; + } + &.current>a:hover{ + background: #fcfcfc; + } +} -// li ul li a{ -// margin-bottom:0; -// color:#b3b3b3; -// font-weight:normal; -// } + +li.current ul{ + display:block; +} + + +.local-toc li ul{ + display:block; +} + + +li ul li a{ + margin-bottom:0; + color:#b3b3b3; + font-weight:normal; +}
Table 5: A Simple table with included math