Initial Commit

This commit is contained in:
Thomas Dehaeze 2020-11-25 23:22:07 +01:00
commit 665248da14
27 changed files with 5866 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

4
dist/style.css vendored Normal file

File diff suppressed because one or more lines are too long

239
index.html Normal file
View File

@ -0,0 +1,239 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"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-25 mer. 23:18 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Robust Control - \(\mathcal{H}_\infty\) Synthesis</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<link rel="stylesheet" type="text/css" href="dist/style.css"/>
<script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
<script>MathJax = {
tex: {
tags: 'ams',
macros: {bm: ["\\boldsymbol{#1}",1],}
}
};
</script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="../index.html"> UP </a>
|
<a accesskey="H" href="../index.html"> HOME </a>
</div><div id="content">
<h1 class="title">Robust Control - \(\mathcal{H}_\infty\) Synthesis</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org4447786">1. Normal Markup</a></li>
<li><a href="#org63482e0">2. Lists</a></li>
<li><a href="#org8f37e85">3. Maths</a></li>
<li><a href="#org0a404aa">4. Quote</a></li>
<li><a href="#org78e42ed">5. Blocks</a></li>
<li><a href="#org1700a84">6. Source Blocks</a></li>
<li><a href="#org78e2b8c">7. Images</a></li>
<li><a href="#org7a212c4">8. Tables</a></li>
<li><a href="#org3a24879">9. Videos</a></li>
<li><a href="#orgfd068e3">10. Links</a></li>
</ul>
</div>
</div>
<div id="outline-container-org4447786" class="outline-2">
<h2 id="org4447786"><span class="section-number-2">1</span> Normal Markup</h2>
<div class="outline-text-2" id="text-1">
<p>
<b>block</b>
<span class="underline">underline</span>
<code>inline code</code>
<code>tilde</code>
<i>italic</i>
</p>
</div>
</div>
<div id="outline-container-org63482e0" class="outline-2">
<h2 id="org63482e0"><span class="section-number-2">2</span> Lists</h2>
<div class="outline-text-2" id="text-2">
<ul class="org-ul">
<li>lsdkfjasldfk</li>
<li>asdflkjas
<ul class="org-ul">
<li>asdflkasd</li>
<li>sdlfkjasdf
<ol class="org-ol">
<li>sldfkjsd f</li>
<li>sdlfkjsd</li>
<li>sldfksd
<ul class="org-ul">
<li>sdlfksdjf</li>
</ul></li>
</ol></li>
</ul></li>
<li>fasdlkffsdf</li>
</ul>
</div>
</div>
<div id="outline-container-org8f37e85" class="outline-2">
<h2 id="org8f37e85"><span class="section-number-2">3</span> Maths</h2>
<div class="outline-text-2" id="text-3">
<p>
Here is some inline mathematics: \(z = 2\).
</p>
<p>
\[ F(x) = \int_0^x f(t) dt \]
</p>
\begin{equation}
F(s) = \int_0^\infty f(t) e^{-st} dt \label{eq:numbered}
\end{equation}
</div>
</div>
<div id="outline-container-org0a404aa" class="outline-2">
<h2 id="org0a404aa"><span class="section-number-2">4</span> Quote</h2>
<div class="outline-text-2" id="text-4">
<blockquote>
<p>
This is a quote
</p>
</blockquote>
</div>
</div>
<div id="outline-container-org78e42ed" class="outline-2">
<h2 id="org78e42ed"><span class="section-number-2">5</span> Blocks</h2>
<div class="outline-text-2" id="text-5">
<div class="seealso" id="org0b5aabf">
<p>
<code>seealso</code> block.
</p>
</div>
<div class="hint" id="orgdb05a83">
<p>
<code>hint</code> block.
</p>
</div>
<div class="definition" id="orgb6f14d3">
<p>
<code>definition</code> block.
</p>
</div>
<div class="exampl" id="org6eae294">
<p>
<code>exampl</code> block.
</p>
</div>
<div class="question" id="orgf20ebc6">
<p>
<code>question</code> block.
</p>
</div>
<div class="summary" id="orgc3e9ec1">
<p>
<code>summary</code> block.
</p>
</div>
<div class="important" id="orgb8cab84">
<p>
<code>important</code> block.
</p>
</div>
<div class="caution" id="orgc3b9a3f">
<p>
<code>caution</code> block.
</p>
</div>
<div class="warning" id="org0484458">
<p>
<code>warning</code> block.
</p>
</div>
</div>
</div>
<div id="outline-container-org1700a84" class="outline-2">
<h2 id="org1700a84"><span class="section-number-2">6</span> Source Blocks</h2>
<div class="outline-text-2" id="text-6">
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-type">figure</span>;
plot(t, x);
xlabel(<span class="org-string">'Time [s]'</span>); ylabel(<span class="org-string">'Voltage [V]'</span>);
</pre>
</div>
</div>
</div>
<div id="outline-container-org78e2b8c" class="outline-2">
<h2 id="org78e2b8c"><span class="section-number-2">7</span> Images</h2>
</div>
<div id="outline-container-org7a212c4" class="outline-2">
<h2 id="org7a212c4"><span class="section-number-2">8</span> Tables</h2>
<div class="outline-text-2" id="text-8">
<table id="org43d28a9" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 1:</span> Table caption</caption>
<colgroup>
<col class="org-left" />
<col class="org-left" />
<col class="org-right" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">a</th>
<th scope="col" class="org-left">b</th>
<th scope="col" class="org-right">c</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left">x</td>
<td class="org-left">\(\int_0^\infty f(x) dx\)</td>
<td class="org-right">0</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org3a24879" class="outline-2">
<h2 id="org3a24879"><span class="section-number-2">9</span> Videos</h2>
</div>
<div id="outline-container-orgfd068e3" class="outline-2">
<h2 id="orgfd068e3"><span class="section-number-2">10</span> Links</h2>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-11-25 mer. 23:18</p>
</div>
</body>
</html>

134
index.org Normal file
View File

@ -0,0 +1,134 @@
#+TITLE: Robust Control - $\mathcal{H}_\infty$ Synthesis
:DRAWER:
#+STARTUP: overview
#+LANGUAGE: en
#+EMAIL: dehaeze.thomas@gmail.com
#+AUTHOR: Dehaeze Thomas
#+HTML_LINK_HOME: ../index.html
#+HTML_LINK_UP: ../index.html
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="dist/style.css"/>
#+HTML_HEAD: <script type="text/javascript" src="https://research.tdehaeze.xyz/js/script.js"></script>
#+HTML_MATHJAX: align: center tagside: right font: TeX
#+PROPERTY: header-args:matlab :session *MATLAB*
#+PROPERTY: header-args:matlab+ :comments org
#+PROPERTY: header-args:matlab+ :results none
#+PROPERTY: header-args:matlab+ :exports both
#+PROPERTY: header-args:matlab+ :eval no-export
#+PROPERTY: header-args:matlab+ :output-dir figs
#+PROPERTY: header-args:matlab+ :tangle no
#+PROPERTY: header-args:matlab+ :mkdirp yes
#+PROPERTY: header-args:shell :eval no-export
#+PROPERTY: header-args:latex :headers '("\\usepackage{tikz}" "\\usepackage{import}" "\\import{$HOME/Cloud/tikz/org/}{config.tex}")
#+PROPERTY: header-args:latex+ :imagemagick t :fit yes
#+PROPERTY: header-args:latex+ :iminoptions -scale 100% -density 150
#+PROPERTY: header-args:latex+ :imoutoptions -quality 100
#+PROPERTY: header-args:latex+ :results file raw replace
#+PROPERTY: header-args:latex+ :buffer no
#+PROPERTY: header-args:latex+ :eval no-export
#+PROPERTY: header-args:latex+ :exports results
#+PROPERTY: header-args:latex+ :mkdirp yes
#+PROPERTY: header-args:latex+ :output-dir figs
#+PROPERTY: header-args:latex+ :post pdf2svg(file=*this*, ext="png")
:END:
* Normal Markup
*block*
_underline_
=inline code=
~tilde~
/italic/
* Lists
- lsdkfjasldfk
- asdflkjas
- asdflkasd
- sdlfkjasdf
1. sldfkjsd f
2. sdlfkjsd
3. sldfksd
- sdlfksdjf
- fasdlkffsdf
* Maths
Here is some inline mathematics: $z = 2$.
\[ F(x) = \int_0^x f(t) dt \]
\begin{equation}
F(s) = \int_0^\infty f(t) e^{-st} dt \label{eq:numbered}
\end{equation}
* Quote
#+begin_quote
This is a quote
#+end_quote
* Blocks
#+begin_seealso
=seealso= block.
#+end_seealso
#+begin_hint
=hint= block.
#+end_hint
#+begin_definition
=definition= block.
#+end_definition
#+begin_exampl
=exampl= block.
#+end_exampl
#+begin_question
=question= block.
#+end_question
#+begin_summary
=summary= block.
#+end_summary
#+begin_important
=important= block.
#+end_important
#+begin_caution
=caution= block.
#+end_caution
#+begin_warning
=warning= block.
#+end_warning
* Source Blocks
#+begin_src matlab
figure;
plot(t, x);
xlabel('Time [s]'); ylabel('Voltage [V]');
#+end_src
* Images
* Tables
#+name: tab:table_name
#+caption: Table caption
| a | b | c |
|---+-------------------------+---|
| x | $\int_0^\infty f(x) dx$ | 0 |
* Videos
* Links

7
js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

4
js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
js/jquery.stickytableheaders.min.js vendored Normal file
View File

@ -0,0 +1 @@
!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);

87
js/readtheorg.js Normal file
View File

@ -0,0 +1,87 @@
$( document ).ready(function() {
$('.note').before("<p class='admonition-title note'>Note</p>");
$('.seealso').before("<p class='admonition-title seealso'>See also</p>");
$('.definition').before("<p class='admonition-title definition'>Definition</p>");
$('.exampl').before("<p class='admonition-title exampl'>Example</p>");
$('.question').before("<p class='admonition-title question'>Question</p>");
$('.summary').before("<p class='admonition-title summary'>Summary</p>");
$('.hint').before("<p class='admonition-title hint'>Hint</p>");
$('.important').before("<p class='admonition-title important'>Important</p>");
$('.caution').before("<p class='admonition-title caution'>Caution</p>");
$('.warning').before("<p class='admonition-title warning'>Warning</p>");
});
$( document ).ready(function() {
// Shift nav in mobile when clicking the menu.
$(document).on('click', "[data-toggle='wy-nav-top']", function() {
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
// Close menu when you click a link.
$(document).on('click', ".wy-menu-vertical .current ul li a", function() {
$("[data-toggle='wy-nav-shift']").removeClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
$(document).on('click', "[data-toggle='rst-current-version']", function() {
$("[data-toggle='rst-versions']").toggleClass("shift-up");
});
// Make tables responsive
$("table.docutils:not(.field-list)").wrap("<div class='wy-table-responsive'></div>");
});
$( 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'});
// add sticky table headers
$('table').stickyTableHeaders();
// set the height of tableOfContents
var $postamble = $('#postamble');
var $tableOfContents = $('#table-of-contents');
$tableOfContents.css({paddingBottom: $postamble.outerHeight()});
// add TOC button
var toggleSidebar = $('<div id="toggle-sidebar"><a href="#table-of-contents"><h2>Table of Contents</h2></a></div>');
$('#content').prepend(toggleSidebar);
// add close button when sidebar showed in mobile screen
var closeBtn = $('<a class="close-sidebar" href="#">Close</a>');
var tocTitle = $('#table-of-contents').find('h2');
tocTitle.append(closeBtn);
});
window.SphinxRtdTheme = (function (jquery) {
var stickyNav = (function () {
var navBar,
win,
stickyNavCssClass = 'stickynav',
applyStickNav = function () {
if (navBar.height() <= win.height()) {
navBar.addClass(stickyNavCssClass);
} else {
navBar.removeClass(stickyNavCssClass);
}
},
enable = function () {
applyStickNav();
win.on('resize', applyStickNav);
},
init = function () {
navBar = jquery('nav.wy-nav-side:first');
win = jquery(window);
};
jquery(init);
return {
enable : enable
};
}());
return {
StickyNav : stickyNav
};
}($));

97
js/script.js Normal file

File diff suppressed because one or more lines are too long

3521
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

20
package.json Normal file
View File

@ -0,0 +1,20 @@
{
"name": "org-theme",
"version": "0.0.1",
"description": "Simple Org Theme",
"main": "index.js",
"scripts": {
"scss": "node-sass --output-style compressed -o dist/ scss",
"serve": "browser-sync start --server --files 'dist/*.css, index.html'",
"watch:css": "onchange 'scss' -- npm run scss",
"start": "run-p serve watch:css"
},
"author": "Dehaeze Thomas",
"license": "MIT",
"devDependencies": {
"browser-sync": "^2.26.13",
"node-sass": "^5.0.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0"
}
}

565
scss/partials/_base.scss Normal file
View File

@ -0,0 +1,565 @@
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);
h1,h2,h3,h4,h5,h6,legend{
font-family:"Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
}
h1{
font-size:175%;
margin-bottom: 1em;
font-weight:700;
text-align: center;
.subtitle{
font-size:95%;
font-weight:700;
}
}
h2{
font-size:150%;
margin-bottom: 1em;
font-weight:700;
}
h3{
font-size:125%;
margin-bottom: 0.5em;
}
h4{
font-size:115%;
}
h5{
font-size:110%;
}
h6{
font-size:100%;
}
h4, h5, h6{
color:#2980B9;
font-weight:300;
}
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:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
font-weight:normal;
margin:0;
min-height:100%;
overflow-x:hidden;
}
#content{
background:#fcfcfc;
height:100%;
margin-left:300px;
/* margin:auto; */
max-width:1200px;
min-height:100%;
padding:1.618em 3.236em;
}
p{
font-size:16px;
line-height:24px;
margin:0px 0px 24px 0px;
}
b,strong{
font-weight:bold;
}
blockquote{
background-color: #F0F0F0;
border-left:5px solid #CCCCCC;
font-style:italic;
line-height:24px;
margin:0px 0px 24px 0px;
padding: 6px 20px;
}
ul,ol,dl{
line-height:24px;
list-style-image:none;
margin:0px 0px 24px 0px;
padding:0;
}
td{
vertical-align:top;
}
li{
margin-left: 24px;
}
dd{
margin: 0;
}
/* Inline Code */
code {
background:#fff;
border:solid 1px #e1e4e5;
/* color:#000; for clickable code */
font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;
font-size:75%;
max-width:100%;
overflow-x:auto;
padding:0 5px;
white-space:nowrap;
}
#content .section ul,#content .toctree-wrapper ul,article ul{
list-style:disc;
line-height:24px;
margin-bottom:24px;
}
#content .section ul li,#content .toctree-wrapper ul li,article ul li{
list-style:disc;
margin-left:24px;
}
#content .section ul li p:last-child,#content .toctree-wrapper ul li p:last-child,article ul li p:last-child{
margin-bottom:0;
}
#content .section ul li ul,#content .toctree-wrapper ul li ul,article ul li ul{
margin-bottom:0;
}
#content .section ul li li,#content .toctree-wrapper ul li li,article ul li li{
list-style:circle;
}
#content .section ul li li li,#content .toctree-wrapper ul li li li,article ul li li li{
list-style:square;
}
#content .section ul li ol li,#content .toctree-wrapper ul li ol li,article ul li ol li{
list-style:decimal;
}
#content .section ol,#content ol,article ol{
list-style:decimal;
line-height:24px;
margin-bottom:24px;
}
#content .section ol li,#content ol li,article ol li{
list-style:decimal;
margin-left:24px;
}
#content .section ol li p:last-child,#content ol li p:last-child,article ol li p:last-child{
margin-bottom:0;
}
#content .section ol li ul,#content ol li ul,article ol li ul{
margin-bottom:0;
}
#content .section ol li ul li,#content ol li ul li,article ol li ul li{
list-style:disc;
}
dl dt{
font-weight:bold;
}
dl p,dl table,dl ul,dl ol{
margin-bottom:12px !important;
}
dl dd{
margin:0 0 12px 24px;
}
.rotate-90{
-webkit-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-ms-transform:rotate(90deg);
-o-transform:rotate(90deg);
transform:rotate(90deg);
}
.rotate-270{
-webkit-transform:rotate(270deg);
-moz-transform:rotate(270deg);
-ms-transform:rotate(270deg);
-o-transform:rotate(270deg);
transform:rotate(270deg);
}
*{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
ins{
background:#ff9;
color:#000;
text-decoration:none;
}
mark{
background:#ff0;
color:#000;
font-style:italic;
font-weight:bold;
}
small{
font-size:85%;
}
sub,sup{
font-size:75%;
line-height:0;
position:relative;
vertical-align:baseline;
}
sup{
top:-0.5em;
}
sub{
bottom:-0.25em;
}
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;
}
a{
color:#2980B9;
text-decoration:none;
cursor:pointer;
&:hover{
outline:0;
color:#3091d1;
}
&:visited{
outline:0;
color:#9B59B6;
}
}
.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;
}
footer{
color:#999;
p {
margin-bottom:12px;
}
}
#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 .sidebar{
float:right;
width:40%;
display:block;
margin:0 0 24px 24px;
padding:24px;
background:#f3f6f6;
border:solid 1px #e1e4e5;
p, ul, dl{
font-size:90%;
}
.last{
margin-bottom:0;
}
.sidebar-title{
display:block;
font-family:"Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
font-weight:bold;
background:#e1e4e5;
padding:6px 12px;
margin:-24px;
margin-bottom:24px;
font-size:100%;
}
}
#content .highlighted{
background:#F1C40F;
display:inline-block;
font-weight:bold;
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;
}
#footnotes{
border-top:1px solid #e1e4e5;
padding-top: 36px;
}
h2.footnotes{
display:none;
}
.footnum, .footref{
color: #2980b9;
font-size: 170%;
font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
}
.footnum:before, .footref:before{
content:"[";
}
.footnum:after, .footref:after{
content:"]";
}
.footpara {
color: #999;
font-size: 90%;
font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
padding-bottom: 8px;
padding-left: 16px;
padding-right: 16px;
padding-top: 8px;
line-height: 1.25em;
/* display: inline; */
}
.todo{
background-color: #f29f97;
padding: 0px 4px;
color: #fff;
}
.WAIT, .nilWAIT{
background-color: #6AB097;
}
.done{
background-color: #6ab0de;
padding: 0px 4px;
color: #fff;
}
.tag span {
background-color: #EDEDED;
border: 1px solid #EDEDED;
color: #939393;
cursor: pointer;
display: block;
float: right;
font-size: 80%;
font-weight: normal;
margin: 0 3px;
padding: 1px 2px;
border-radius: 10px;
}
.tag .FLAGGED {
background-color: #DB2D27;
border: 1px solid #DB2D27;
color: white;
font-weight: bold;
}
.timestamp {
font-family: Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;
font-size: 90%;
color: navy;
}
.nav .timestamp {
color: inherit;
}
.inlinetask {
background: #FFF9E3; /* url(dialog-todo.png) no-repeat 10px 8px; */
border: 3px solid #FFEB8E;
/* border-right-style: none; */
/* border-left-style: none; */
/* padding: 10px 20px 10px 60px; */
padding: 9px 12px;
margin-bottom: 24px;
font-family:"Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
}
// Font Awesome
.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;
}
/*!
* Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/@font-face{
font-family:'FontAwesome';
src:url("../fonts/fontawesome-webfont.eot?v=4.1.0");
src:url("../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff?v=4.1.0") format("woff"),url("../fonts/fontawesome-webfont.ttf?v=4.1.0") format("truetype"),url("../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular") format("svg");
font-weight:normal;
font-style:normal;
}
.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;
}

62
scss/partials/_boxes.scss Normal file
View File

@ -0,0 +1,62 @@
$types: (
note: (color: hsl(0, 0%, 94%), title-color: hsl(0, 0%, 64%), icon: ""),
seealso: (color: hsl(0, 0%, 94%), title-color: hsl(0, 0%, 64%), icon: ""),
definition: (color: hsl(360, 61%, 94%), title-color: hsl(360, 61%, 64%), icon: ""),
exampl: (color: hsl(160, 61%, 94%), title-color: hsl(160, 61%, 64%), icon: ""),
question: (color: hsl(55, 61%, 94%), title-color: hsl(55, 61%, 64%), icon: ""),
summary: (color: hsl(204, 61%, 94%), title-color: hsl(204, 61%, 64%), icon: ""),
hint: (color: hsl(0, 0%, 94%), title-color: hsl(0, 0%, 64%), icon: ""),
important: (color: hsl(32, 61%, 94%), title-color: hsl(32, 61%, 64%), icon: ""),
caution: (color: hsl(32, 61%, 94%), title-color: hsl(32, 61%, 64%), icon: ""),
warning: (color: hsl(32, 61%, 94%), title-color: hsl(32, 61%, 64%), icon: "")
);
@each $label, $map in $types {
.#{$label} {
padding:12px;
line-height:24px;
margin-bottom:24px;
-webkit-font-smoothing:antialiased;
background: map-get($map, color);
p:last-child, .last {
margin-bottom:0;
}
&.admonition-title{
line-height: 1;
background: map-get($map, title-color);
margin-bottom: 0px;
&:before{
font-family:FontAwesome;
content: map-get($map, icon);
}
}
}
}
#content .admonition-title{
color:#fff;
font-weight:bold;
display:block;
color:#fff;
padding:6px 12px;
margin-bottom:0px;
font-family:inherit;
-webkit-font-smoothing:antialiased;
&:before{
margin-right:4px;
font-family:"FontAwesome";
display:inline-block;
font-style:normal;
font-weight:normal;
line-height:1;
text-decoration:inherit;
}
}

88
scss/partials/_codes.scss Normal file
View File

@ -0,0 +1,88 @@
.org-src-container {
> pre {
margin-top: 1.5em;
position: relative;
overflow: visible;
border:1px solid #e1e4e5;
background:#fff;
display:block;
font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;
font-size:12px;
line-height:1.5;
margin:1px 0px 24px 0px;
padding:12px;
white-space: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%;
}
&.src-emacs-lisp:before { content: 'Emacs Lisp'; }
&.src-elisp:before { content: 'Emacs Lisp'; }
&.src-sh:before { content: 'shell'; }
&.src-bash:before { content: 'bash'; }
&.src-org:before { content: 'Org mode'; }
&.src-python:before { content: 'Python'; }
&.src-matlab:before { content: 'Matlab'; }
}
}
/* Results blocks */
pre {
&.example {
position: relative;
background:#f3f6f6;
border:1px solid #e1e4e5;
color:#404040;
font-size: 12px;
line-height: 1.5;
margin-bottom:24px;
padding:12px;
&:before {
content: 'Result';
display: inline;
position: absolute;
color: #808080;
background-color: white;
top: -10px;
left: 10px;
padding: 0px 4px;
border: 1px solid #d0d0d0;
font-size: 80%;
}
}
}
.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;
}

View File

@ -0,0 +1,28 @@
#copyright {
position:fixed;
bottom:0;
left:0;
width:300px;
color:#fcfcfc;
background:#1f1d1d;
border-top:solid 10px #343131;
font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
font-size: 90%;
z-index:400;
padding:12px;
a{
color:#2980B9;
text-decoration:none;
}
.rst-current-version{
padding:12px;
background-color:#272525;
display:block;
text-align:right;
font-size:90%;
cursor:pointer;
color:#27AE60;
*zoom:1;
}
}

View File

@ -0,0 +1,28 @@
details {
/* color: #2980B9; */
background: #fbfbfb;
border: 1px solid #c9c9c9;
border-radius: 3px;
padding: 0.25em;
margin-bottom: 1.0em;
pre.src {
border: 0;
background: none;
margin: 0;
}
pre.src-lisp::before { content: ""; }
}
summary {
outline: 0;
color: #c9c9c9;
&::after {
font-size: 0.85em;
color: #c9c9c9;
display: inline-block;
float: right;
content: "Click to fold/unfold";
padding-right: 0.5em;
}
}

View File

@ -0,0 +1,27 @@
/* Figures */
.figure {
margin-bottom:24px;
p {
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
text-align: center;
margin: 0;
}
img {
max-width:100%;
display: block;
margin: auto;
}
.figure-number {
font-weight: bold;
color: #343131;
}
}
figcaption,figure,footer,header,hgroup,nav{
display:block;
}

417
scss/partials/_htmlize.scss Normal file
View File

@ -0,0 +1,417 @@
.org-bold {
font-weight: bold;
}
.org-bold-italic {
font-weight: bold; font-style: italic;
}
.org-buffer-menu-buffer {
font-weight: bold;
}
.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: bold;
}
.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: bold;
}
.org-diary {
color: #ff0000;
}
.org-diff-context {
color: #7f7f7f;
}
.org-diff-file-header {
background-color: #b3b3b3; font-weight: bold;
}
.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: bold;
}
.org-diff-nonexistent {
background-color: #b3b3b3; font-weight: bold;
}
.org-diff-refine-change {
background-color: #d9d9d9;
}
.org-dired-directory {
color: #0000ff;
}
.org-dired-flagged {
color: #ff0000; font-weight: bold;
}
.org-dired-header {
color: #228b22;
}
.org-dired-ignored {
color: #7f7f7f;
}
.org-dired-mark {
color: #008b8b;
}
.org-dired-marked {
color: #ff0000; font-weight: bold;
}
.org-dired-perm-write {
color: #b22222;
}
.org-dired-symlink {
color: #a020f0;
}
.org-dired-warning {
color: #ff0000; font-weight: bold;
}
.org-doc {
color: #8b2252;
}
.org-escape-glyph {
color: #a52a2a;
}
.org-file-name-shadow {
color: #7f7f7f;
}
.org-flyspell-duplicate {
color: #cdad00; font-weight: bold; text-decoration: underline;
}
.org-flyspell-incorrect {
color: #ff4500; font-weight: bold; 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: bold;
}
.org-org-checkbox-statistics-done {
color: #228b22; font-weight: bold;
}
.org-org-checkbox-statistics-todo {
color: #ff0000; font-weight: bold;
}
.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: bold; 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: bold;
}
.org-org-done {
color: #228b22; font-weight: bold;
}
.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: bold;
}
.org-org-target {
text-decoration: underline;
}
.org-org-time-grid {
color: #b8860b;
}
.org-org-todo {
color: #ff0000; font-weight: bold;
}
.org-org-upcoming-deadline {
color: #b22222;
}
.org-org-verbatim {
color: #7f7f7f;
}
.org-org-verse {
color: #7f7f7f;
}
.org-org-warning {
color: #ff0000; font-weight: bold;
}
.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: bold;
}
.org-regexp-grouping-construct {
font-weight: bold;
}
.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: bold;
}
.org-widget-button {
font-weight: bold;
}
.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;
}

111
scss/partials/_media.scss Normal file
View File

@ -0,0 +1,111 @@
@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;
}
img{
width:100%;
height:auto;
}
}
@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;
}
}

View File

@ -0,0 +1,15 @@
#org-div-home-and-up {
text-align: right;
max-width: 1200px;
margin-left: 300px;
@media screen and (max-width: 768px) {
position: fixed;
z-index: 10;
margin: 10px;
right: 0;
> a {
color: black;
}
}
}

View File

@ -0,0 +1,28 @@
#postamble{
position:fixed;
bottom:0;
left:0;
width:300px;
color:#fcfcfc;
background:#1f1d1d;
border-top:solid 10px #343131;
font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
font-size: 90%;
z-index:400;
padding:12px;
.author {
font-size: 100%;
margin-bottom: 0px;
}
.date {
font-size: 90%;
margin-bottom: 0px;
color: #27AE60;
}
.creator, .validation {
display:none;
}
}

70
scss/partials/_print.scss Normal file
View File

@ -0,0 +1,70 @@
@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;;
}
}

35
scss/partials/_reset.scss Normal file
View File

@ -0,0 +1,35 @@
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; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote {
&:before, &:after {
content: '';
content: none; } }
q {
&:before, &:after {
content: '';
content: none; } }
table {
border-collapse: collapse;
border-spacing: 0; }

View File

@ -0,0 +1,43 @@
table {
margin-left: auto;
margin-right: auto;
border-collapse:collapse;
border-spacing:0;
empty-cells:show;
margin-bottom:24px;
border-bottom:1px solid #e1e4e5;
.table-number {
font-weight: bold;
color: #343131;
}
td,th{
font-size:90%;
margin:0;
overflow:visible;
padding:8px 16px;
background-color:white;
border:1px solid #e1e4e5;
}
thead th{
font-weight:bold;
border-top:3px solid #e1e4e5;
border-bottom:1px solid #e1e4e5;
}
caption{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
}
tr:nth-child(2n-1) td{
background-color:#f3f6f6;
}
tr:nth-child(2n) td{
background-color:white;
}
}

204
scss/partials/_toc.scss Normal file
View File

@ -0,0 +1,204 @@
#table-of-contents {
position:fixed;
top:0;
left:0;
width:300px;
overflow-x:hidden;
overflow-y:scroll;
height:100%;
background:#343131;
z-index:200;
scrollbar-base-color: #1F1D1D;
scrollbar-arrow-color: #b3b3b3;
scrollbar-shadow-color: #1F1D1D;
scrollbar-track-color : #343131;
li {
list-style:none;
margin-left: 0px;
&.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;
}
}
.close-sidebar {
display: none;
}
header {
height:32px;
display:inline-block;
line-height:32px;
padding:0 1.618em;
display:block;
font-weight:bold;
text-transform:uppercase;
font-size:80%;
color:#2980B9;
white-space:nowrap;
}
ul {
margin-bottom:0;
}
li ul li a{
padding:0.4045em 2.427em;
}
li ul li ul li a{
padding:0.4045em 3.236em;
}
li.current ul{
display:block;
}
.local-toc li ul{
display:block;
}
li ul li a{
margin-bottom:0;
color:#b3b3b3;
font-weight:normal;
}
a {
display:inline-block;
line-height:18px;
padding:0.4045em 1.618em;
display:block;
position:relative;
font-size:90%;
color:#b3b3b3;
direction: ltr;
&:hover{
background-color:#4e4a4a;
cursor:pointer;
}
}
h2 {
z-index:200;
background-color:#2980B9;
text-align:center;
padding:0.809em;
display:block;
color:#fcfcfc;
font-size: 100%;
margin-bottom:0.809em;
}
}
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;
}

13
scss/partials/_video.scss Normal file
View File

@ -0,0 +1,13 @@
/* Center Youtube Videos */
iframe {
display: block;
margin: auto;
max-width: 100%;
}
/* Video */
video {
max-width: 100%;
}

17
scss/style.scss Normal file
View File

@ -0,0 +1,17 @@
@import 'partials/_reset.scss';
@import 'partials/_base.scss';
@import 'partials/_nagivation.scss';
@import 'partials/_toc.scss';
@import 'partials/_copyright.scss';
@import 'partials/_postamble.scss';
@import 'partials/_print.scss';
@import 'partials/_boxes.scss';
@import 'partials/_codes.scss';
@import 'partials/_figures.scss';
@import 'partials/_tables.scss';
@import 'partials/_video.scss';
@import 'partials/_details.scss';
@import 'partials/_media.scss';