111 lines
2.0 KiB
CSS
111 lines
2.0 KiB
CSS
/* Figures */
|
|
.figure p {
|
|
text-align: center;
|
|
}
|
|
|
|
.figure img {
|
|
max-width:100%;
|
|
display: block;
|
|
margin: auto;
|
|
}
|
|
|
|
.figure .figure-number {
|
|
font-weight: bold;
|
|
color: #343131;
|
|
}
|
|
|
|
/* Tables */
|
|
|
|
table {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
table .table-number {
|
|
font-weight: bold;
|
|
color: #343131;
|
|
}
|
|
|
|
/* Source Blocks */
|
|
|
|
.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'; }
|
|
|
|
/* Results blocks */
|
|
|
|
pre.example {
|
|
position: relative;
|
|
}
|
|
|
|
pre.example: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%;
|
|
}
|
|
|
|
/* Navigation Buttons */
|
|
|
|
#org-div-home-and-up {
|
|
text-align: right;
|
|
max-width: 1200px;
|
|
margin-left: 300px;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
#org-div-home-and-up {
|
|
position: fixed;
|
|
z-index: 10;
|
|
margin: 10px;
|
|
right: 0;
|
|
}
|
|
#org-div-home-and-up > a {
|
|
color: black;
|
|
}
|
|
}
|
|
|
|
/* Center Youtube Videos */
|
|
|
|
iframe {
|
|
display: block;
|
|
margin: auto;
|
|
}
|