Update CSS and JS

This commit is contained in:
Thomas Dehaeze 2020-11-12 09:29:27 +01:00
parent e801472a72
commit f4b8227506
6 changed files with 114 additions and 51 deletions

49
css/custom.css Normal file
View File

@ -0,0 +1,49 @@
.figure p{
text-align: center;
}
.figure img{
max-width:100%;
display: block;
margin: auto;
}
table {
margin-left: auto;
margin-right: auto;
}
.org-src-container > pre.src:before {
display: inline;
position: absolute;
color: #808080;
background-color: white;
top: -10px;
left: 10px;
padding: 0px 4px;
border: 1px solid #d0d0d0;
font-size: 80%;
}
.org-src-container > pre {
margin-top: 1.5em;
position: relative;
overflow: visible;
}
.org-src-container > pre > code.src:before {
display: inline;
position: absolute;
color: #808080;
background-color: white;
top: -10px;
left: 10px;
padding: 0px 4px;
border: 1px solid #d0d0d0;
font-size: 80%;
}
.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-matlab:before { content: 'Matlab'; }

View File

@ -513,7 +513,7 @@ legend{
padding:0;
white-space:normal}
.fa:before,#content .admonition-title: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,#content .note,#content .attention,#content .caution,#content .danger,#content .error,#content .hint,#content .important,#content .tip,#content .warning,#content .seealso,#content .admonitiontodo,.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{
.fa:before,#content .admonition-title: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,#content .note,#content .attention,#content .caution,#content .danger,#content .error,#content .summary,#content .hint,#content .important,#content .tip,#content .warning,#content .question,#content .seealso,#content .admonitiontodo,.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}
/*!
@ -576,7 +576,7 @@ a .fa,a #content .admonition-title,#content a .admonition-title{
.nav #content .admonition-title,#content .nav .admonition-title,.nav .icon{
display:inline}
.wy-alert,#content .note,#content .attention,#content .caution,#content .danger,#content .error,#content .hint,#content .important,#content .tip,#content .warning,#content .seealso,#content .admonitiontodo{
.wy-alert,#content .note,#content .attention,#content .caution,#content .danger,#content .error,#content .summary,#content .hint,#content .important,#content .tip,#content .warning,#content .question,#content .seealso,#content .admonitiontodo{
padding:12px;
line-height:24px;
margin-bottom:24px;
@ -596,32 +596,45 @@ a .fa,a #content .admonition-title,#content a .admonition-title{
#content .danger,#content .error{
background:#fdf3f2}
.wy-alert.wy-alert-warning,#content .wy-alert-warning.note,#content .attention,#content .caution,#content .wy-alert-warning.danger,#content .wy-alert-warning.error,#content .wy-alert-warning.hint,#content .wy-alert-warning.important,#content .wy-alert-warning.tip,#content .warning,#content .wy-alert-warning.seealso,#content .admonitiontodo{
.wy-alert.wy-alert-warning,#content .wy-alert-warning.note,#content .attention,#content .caution,#content .wy-alert-warning.danger,#content .wy-alert-warning.error,#content .wy-alert-warning.summary,#content .wy-alert-warning.hint,#content .wy-alert-warning.important,#content .wy-alert-warning.tip,#content .warning,#content .wy-alert-warning.seealso,#content .admonitiontodo{
background:#ffedcc}
#content .admonition-title.note:before, #content .admonition-title.seealso:before,
#content .admonition-title.warning:before, #content .admonition-title.caution:before,
#content .admonition-title.warning:before,
#content .admonition-title.caution:before,
#content .admonition-title.attention:before,
#content .admonition-title.tip:before, #content .admonition-title.hint:before,
#content .admonition-title.important:before,
#content .admonition-title.error:before, #content .admonition-title.danger:before{
#content .admonition-title.error:before,
#content .admonition-title.danger:before{
font-family:FontAwesome;
content: "";}
#content .note,#content .seealso{
#content .admonition-title.question:before{
font-family:FontAwesome;
content: "";}
#content .admonition-title.note:before,
#content .admonition-title.seealso:before,
#content .admonition-title.tip:before,
#content .admonition-title.summary:before,
#content .admonition-title.hint:before{
font-family:FontAwesome;
content: "";}
#content .note,#content .question,#content .seealso{
background:#e7f2fa}
.wy-alert p:last-child,#content .note p:last-child,#content .attention p:last-child,#content .caution p:last-child,#content .danger p:last-child,#content .error p:last-child,#content .hint p:last-child,#content .important p:last-child,#content .tip p:last-child,#content .warning p:last-child,#content .seealso p:last-child,#content .admonitiontodo p:last-child{
.wy-alert p:last-child,#content .note p:last-child,#content .attention p:last-child,#content .caution p:last-child,#content .danger p:last-child,#content .error p:last-child,#content .summary p:last-child,#content .hint p:last-child,#content .important p:last-child,#content .tip p:last-child,#content .warning p:last-child,#content .question p:last-child,#content .seealso p:last-child,#content .admonitiontodo p:last-child{
margin-bottom:0}
#content .admonition-title.tip,#content .admonition-title.important,#content .admonition-title.hint{
#content .admonition-title.tip,#content .admonition-title.important,#content .admonition-title.summary,#content .admonition-title.hint{
line-height: 1;
background:#1abc9c}
#content .important,#content .tip,#content .hint{
#content .important,#content .tip,#content .summary,#content .hint{
background:#dbfaf4}
#content .admonition-title.note,#content .admonition-title.seealso{
#content .admonition-title.note,#content .admonition-title.question,#content .admonition-title.seealso{
line-height: 1;
background:#6ab0de}
@ -938,7 +951,7 @@ footer p{
font-style:italic;
}
#content .note .last,#content .attention .last,#content .caution .last,#content .danger .last,#content .error .last,#content .hint .last,#content .important .last,#content .tip .last,#content .warning .last,#content .seealso .last,#content .admonitiontodo .last{
#content .note .last,#content .attention .last,#content .caution .last,#content .danger .last,#content .error .last,#content .hint .summary,#content .hint .last,#content .important .last,#content .tip .last,#content .warning .last,#content .question .last,#content .seealso .last,#content .admonitiontodo .last{
margin-bottom:0}
#content .admonition-title:before{

View File

@ -3,16 +3,16 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-11-10 mar. 12:57 -->
<!-- 2020-11-12 jeu. 09:29 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Research Pages</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Thomas Dehaeze" />
<link rel="stylesheet" type="text/css" href="css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="css/custom.css"/>
<link rel="stylesheet" type="text/css" href="css/readtheorg.css"/>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.stickytableheaders.min.js"></script>
<script src="js/readtheorg.js"></script>
<script>MathJax = {
tex: {
@ -30,12 +30,12 @@
Welcome to my research pages.
</p>
<div id="outline-container-org8bda8c2" class="outline-2">
<h2 id="org8bda8c2"><span class="section-number-2">1</span> Papers</h2>
<div id="outline-container-org4be8a83" class="outline-2">
<h2 id="org4be8a83"><span class="section-number-2">1</span> Papers</h2>
<div class="outline-text-2" id="text-1">
</div>
<div id="outline-container-org6413d15" class="outline-3">
<h3 id="org6413d15"><span class="section-number-3">1.1</span> Conference Papers</h3>
<div id="outline-container-org60ea89b" class="outline-3">
<h3 id="org60ea89b"><span class="section-number-3">1.1</span> Conference Papers</h3>
<div class="outline-text-3" id="text-1-1">
<ul class="org-ul">
<li>Dehaeze, T., Mattenet, M. M., &amp; Collette, C., <b>Sample Stabilization For Tomography Experiments In Presence Of Large Plant Uncertainty</b>, In MEDSI&rsquo;18 (pp. 153157) (2018). Geneva, Switzerland: JACoW Publishing. (<a href="dehaeze18_sampl_stabil_for_tomog_exper/index.html">link</a>)</li>
@ -45,8 +45,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-orgc0e8cc0" class="outline-3">
<h3 id="orgc0e8cc0"><span class="section-number-3">1.2</span> Journal Papers</h3>
<div id="outline-container-org565b8c5" class="outline-3">
<h3 id="org565b8c5"><span class="section-number-3">1.2</span> Journal Papers</h3>
<div class="outline-text-3" id="text-1-2">
<ul class="org-ul">
<li>Verma, M., Dehaeze, T., Zhao, G., Watchi, J., &amp; Collette, C., <b>Virtual sensor fusion for high precision control, Mechanical Systems and Signal Processing</b>, 150, 107241 (2020). <a href="http://dx.doi.org/10.1016/j.ymssp.2020.107241">http://dx.doi.org/10.1016/j.ymssp.2020.107241</a> (<a href="personnal-papers/verma20_virtual_sensor_fusion_high_precis_contr.pdf">pdf</a>)</li>
@ -56,12 +56,12 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-orgc1a53bf" class="outline-2">
<h2 id="orgc1a53bf"><span class="section-number-2">2</span> Useful pages / Tutorials</h2>
<div id="outline-container-org468792b" class="outline-2">
<h2 id="org468792b"><span class="section-number-2">2</span> Useful pages / Tutorials</h2>
<div class="outline-text-2" id="text-2">
</div>
<div id="outline-container-org4644e65" class="outline-3">
<h3 id="org4644e65"><span class="section-number-3">2.1</span> Spectral Analysis</h3>
<div id="outline-container-orgaca3812" class="outline-3">
<h3 id="orgaca3812"><span class="section-number-3">2.1</span> Spectral Analysis</h3>
<div class="outline-text-3" id="text-2-1">
<ul class="org-ul">
<li><a href="spectral-analysis/index.html">Spectral Analsis</a></li>
@ -69,8 +69,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org19ebe16" class="outline-3">
<h3 id="org19ebe16"><span class="section-number-3">2.2</span> Finite Element Models and Simscape&#xa0;&#xa0;&#xa0;<span class="tag"><span class="simscape">simscape</span></span></h3>
<div id="outline-container-org2ba5fa7" class="outline-3">
<h3 id="org2ba5fa7"><span class="section-number-3">2.2</span> Finite Element Models and Simscape&#xa0;&#xa0;&#xa0;<span class="tag"><span class="simscape">simscape</span></span></h3>
<div class="outline-text-3" id="text-2-2">
<ul class="org-ul">
<li><a href="fem-simscape/index.html">Finite Element Models with Simscape</a></li>
@ -78,8 +78,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org92a5ed1" class="outline-3">
<h3 id="org92a5ed1"><span class="section-number-3">2.3</span> Gravity with Simscape&#xa0;&#xa0;&#xa0;<span class="tag"><span class="simscape">simscape</span></span></h3>
<div id="outline-container-org48fb75b" class="outline-3">
<h3 id="org48fb75b"><span class="section-number-3">2.3</span> Gravity with Simscape&#xa0;&#xa0;&#xa0;<span class="tag"><span class="simscape">simscape</span></span></h3>
<div class="outline-text-3" id="text-2-3">
<ul class="org-ul">
<li><a href="simscape-gravity/index.html">Manage Gravity within Simscape</a></li>
@ -87,8 +87,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org2e5df8a" class="outline-3">
<h3 id="org2e5df8a"><span class="section-number-3">2.4</span> Bank of Filters using matlab</h3>
<div id="outline-container-org39e5e82" class="outline-3">
<h3 id="org39e5e82"><span class="section-number-3">2.4</span> Bank of Filters using matlab</h3>
<div class="outline-text-3" id="text-2-4">
<p>
<a href="filters-matlab-bank/index.html">Bank of Filters using matlab</a>
@ -97,12 +97,12 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org6958001" class="outline-2">
<h2 id="org6958001"><span class="section-number-2">3</span> Test Benches / Experiments</h2>
<div id="outline-container-orge4188f2" class="outline-2">
<h2 id="orge4188f2"><span class="section-number-2">3</span> Test Benches / Experiments</h2>
<div class="outline-text-2" id="text-3">
</div>
<div id="outline-container-orgc007eee" class="outline-3">
<h3 id="orgc007eee"><span class="section-number-3">3.1</span> Amplified Piezoelectric Actuator</h3>
<div id="outline-container-org858f03e" class="outline-3">
<h3 id="org858f03e"><span class="section-number-3">3.1</span> Amplified Piezoelectric Actuator</h3>
<div class="outline-text-3" id="text-3-1">
<ul class="org-ul">
<li><a href="test-bench-apa/index.html">Amplified Piezoelectric Actuator</a></li>
@ -110,8 +110,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org4acfc6d" class="outline-3">
<h3 id="org4acfc6d"><span class="section-number-3">3.2</span> Sensor Fusion</h3>
<div id="outline-container-orgf8e09c2" class="outline-3">
<h3 id="orgf8e09c2"><span class="section-number-3">3.2</span> Sensor Fusion</h3>
<div class="outline-text-3" id="text-3-2">
<ul class="org-ul">
<li><a href="sensor-fusion-test-bench/index.html">Sensor Fusion</a></li>
@ -119,8 +119,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org414a91e" class="outline-3">
<h3 id="org414a91e"><span class="section-number-3">3.3</span> Encoder and Interferometer</h3>
<div id="outline-container-org24d7505" class="outline-3">
<h3 id="org24d7505"><span class="section-number-3">3.3</span> Encoder and Interferometer</h3>
<div class="outline-text-3" id="text-3-3">
<ul class="org-ul">
<li><a href="encoder-test-bench/index.html">Encoder and Interferometer</a></li>
@ -128,8 +128,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org02a2c1f" class="outline-3">
<h3 id="org02a2c1f"><span class="section-number-3">3.4</span> Attocube</h3>
<div id="outline-container-org0c78e4a" class="outline-3">
<h3 id="org0c78e4a"><span class="section-number-3">3.4</span> Attocube</h3>
<div class="outline-text-3" id="text-3-4">
<ul class="org-ul">
<li><a href="attocube-test-bench/index.html">Attocube</a></li>
@ -137,8 +137,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org596fa1c" class="outline-3">
<h3 id="org596fa1c"><span class="section-number-3">3.5</span> Voltage Amplifiers for Piezoelectric Actuators</h3>
<div id="outline-container-orge339aef" class="outline-3">
<h3 id="orge339aef"><span class="section-number-3">3.5</span> Voltage Amplifiers for Piezoelectric Actuators</h3>
<div class="outline-text-3" id="text-3-5">
<ul class="org-ul">
<li><a href="test-bench-piezo-amplifiers/index.html">Voltage Amplifiers for Piezoelectric Actuators</a></li>
@ -146,8 +146,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-orga5b9f2e" class="outline-3">
<h3 id="orga5b9f2e"><span class="section-number-3">3.6</span> Metrology Concept 1</h3>
<div id="outline-container-orgfbf1965" class="outline-3">
<h3 id="orgfbf1965"><span class="section-number-3">3.6</span> Metrology Concept 1</h3>
<div class="outline-text-3" id="text-3-6">
<ul class="org-ul">
<li><a href="nass-metrology-test-bench/index.html">Metrology Concept 1</a></li>
@ -155,8 +155,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org1deb31c" class="outline-3">
<h3 id="org1deb31c"><span class="section-number-3">3.7</span> Force Sensor</h3>
<div id="outline-container-org3dd9ec4" class="outline-3">
<h3 id="org3dd9ec4"><span class="section-number-3">3.7</span> Force Sensor</h3>
<div class="outline-text-3" id="text-3-7">
<ul class="org-ul">
<li><a href="test-bench-force-sensor/index.html">Force Sensor</a></li>
@ -165,8 +165,8 @@ Welcome to my research pages.
</div>
</div>
<div id="outline-container-org0bc76ee" class="outline-2">
<h2 id="org0bc76ee"><span class="section-number-2">4</span> Nano Active Stabilization System</h2>
<div id="outline-container-org5c18fe4" class="outline-2">
<h2 id="org5c18fe4"><span class="section-number-2">4</span> Nano Active Stabilization System</h2>
<div class="outline-text-2" id="text-4">
<ul class="org-ul">
<li><a href="nass-report-2020/index.html">NASS - Report 2020</a></li>

View File

@ -4,10 +4,10 @@
#+OPTIONS: html-postamble:nil
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="css/custom.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="css/readtheorg.css"/>
#+HTML_HEAD: <script src="js/jquery.min.js"></script>
#+HTML_HEAD: <script src="js/bootstrap.min.js"></script>
#+HTML_HEAD: <script src="js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script src="js/readtheorg.js"></script>
:END:

View File

@ -1 +0,0 @@
!function(a,b){"use strict";function c(c,g){var h=this;h.$el=a(c),h.el=c,h.id=e++,h.$window=a(b),h.$document=a(document),h.$el.bind("destroyed",a.proxy(h.teardown,h)),h.$clonedHeader=null,h.$originalHeader=null,h.isSticky=!1,h.hasBeenSticky=!1,h.leftOffset=null,h.topOffset=null,h.init=function(){h.$el.each(function(){var b=a(this);b.css("padding",0),h.$originalHeader=a("thead:first",this),h.$clonedHeader=h.$originalHeader.clone(),b.trigger("clonedHeader."+d,[h.$clonedHeader]),h.$clonedHeader.addClass("tableFloatingHeader"),h.$clonedHeader.css("display","none"),h.$originalHeader.addClass("tableFloatingHeaderOriginal"),h.$originalHeader.after(h.$clonedHeader),h.$printStyle=a('<style type="text/css" media="print">.tableFloatingHeader{display:none !important;}.tableFloatingHeaderOriginal{position:static !important;}</style>'),a("head").append(h.$printStyle)}),h.setOptions(g),h.updateWidth(),h.toggleHeaders(),h.bind()},h.destroy=function(){h.$el.unbind("destroyed",h.teardown),h.teardown()},h.teardown=function(){h.isSticky&&h.$originalHeader.css("position","static"),a.removeData(h.el,"plugin_"+d),h.unbind(),h.$clonedHeader.remove(),h.$originalHeader.removeClass("tableFloatingHeaderOriginal"),h.$originalHeader.css("visibility","visible"),h.$printStyle.remove(),h.el=null,h.$el=null},h.bind=function(){h.$scrollableArea.on("scroll."+d,h.toggleHeaders),h.isWindowScrolling||(h.$window.on("scroll."+d+h.id,h.setPositionValues),h.$window.on("resize."+d+h.id,h.toggleHeaders)),h.$scrollableArea.on("resize."+d,h.toggleHeaders),h.$scrollableArea.on("resize."+d,h.updateWidth)},h.unbind=function(){h.$scrollableArea.off("."+d,h.toggleHeaders),h.isWindowScrolling||(h.$window.off("."+d+h.id,h.setPositionValues),h.$window.off("."+d+h.id,h.toggleHeaders)),h.$scrollableArea.off("."+d,h.updateWidth)},h.toggleHeaders=function(){h.$el&&h.$el.each(function(){var b,c=a(this),d=h.isWindowScrolling?isNaN(h.options.fixedOffset)?h.options.fixedOffset.outerHeight():h.options.fixedOffset:h.$scrollableArea.offset().top+(isNaN(h.options.fixedOffset)?0:h.options.fixedOffset),e=c.offset(),f=h.$scrollableArea.scrollTop()+d,g=h.$scrollableArea.scrollLeft(),i=h.isWindowScrolling?f>e.top:d>e.top,j=(h.isWindowScrolling?f:0)<e.top+c.height()-h.$clonedHeader.height()-(h.isWindowScrolling?0:d);i&&j?(b=e.left-g+h.options.leftOffset,h.$originalHeader.css({position:"fixed","margin-top":h.options.marginTop,left:b,"z-index":3}),h.leftOffset=b,h.topOffset=d,h.$clonedHeader.css("display",""),h.isSticky||(h.isSticky=!0,h.updateWidth()),h.setPositionValues()):h.isSticky&&(h.$originalHeader.css("position","static"),h.$clonedHeader.css("display","none"),h.isSticky=!1,h.resetWidth(a("td,th",h.$clonedHeader),a("td,th",h.$originalHeader)))})},h.setPositionValues=function(){var a=h.$window.scrollTop(),b=h.$window.scrollLeft();!h.isSticky||0>a||a+h.$window.height()>h.$document.height()||0>b||b+h.$window.width()>h.$document.width()||h.$originalHeader.css({top:h.topOffset-(h.isWindowScrolling?0:a),left:h.leftOffset-(h.isWindowScrolling?0:b)})},h.updateWidth=function(){if(h.isSticky){h.$originalHeaderCells||(h.$originalHeaderCells=a("th,td",h.$originalHeader)),h.$clonedHeaderCells||(h.$clonedHeaderCells=a("th,td",h.$clonedHeader));var b=h.getWidth(h.$clonedHeaderCells);h.setWidth(b,h.$clonedHeaderCells,h.$originalHeaderCells),h.$originalHeader.css("width",h.$clonedHeader.width())}},h.getWidth=function(c){var d=[];return c.each(function(c){var e,f=a(this);if("border-box"===f.css("box-sizing"))e=f[0].getBoundingClientRect().width;else{var g=a("th",h.$originalHeader);if("collapse"===g.css("border-collapse"))if(b.getComputedStyle)e=parseFloat(b.getComputedStyle(this,null).width);else{var i=parseFloat(f.css("padding-left")),j=parseFloat(f.css("padding-right")),k=parseFloat(f.css("border-width"));e=f.outerWidth()-i-j-k}else e=f.width()}d[c]=e}),d},h.setWidth=function(a,b,c){b.each(function(b){var d=a[b];c.eq(b).css({"min-width":d,"max-width":d})})},h.resetWidth=function(b,c){b.each(function(b){var d=a(this);c.eq(b).css({"min-width":d.css("min-width"),"max-width":d.css("max-width")})})},h.setOptions=function(c){h.options=a.extend({},f,c),h.$scrollableArea=a(h.options.scrollableArea),h.isWindowScrolling=h.$scrollableArea[0]===b},h.updateOptions=function(a){h.setOptions(a),h.unbind(),h.bind(),h.updateWidth(),h.toggleHeaders()},h.init()}var d="stickyTableHeaders",e=0,f={fixedOffset:0,leftOffset:0,marginTop:0,scrollableArea:b};a.fn[d]=function(b){return this.each(function(){var e=a.data(this,"plugin_"+d);e?"string"==typeof b?e[b].apply(e):e.updateOptions(b):"destroy"!==b&&a.data(this,"plugin_"+d,new c(this,b))})}}(jQuery,window);

View File

@ -9,6 +9,8 @@ $(function() {
$('.hint').before("<p class='admonition-title hint'>Hint</p>");
$('.error').before("<p class='admonition-title error'>Error</p>");
$('.danger').before("<p class='admonition-title danger'>Danger</p>");
$('.question').before("<p class='admonition-title question'>Question</p>");
$('.summary').before("<p class='admonition-title hint'>Summary</p>");
});
$( document ).ready(function() {