research-home-page/css/custom.css

99 lines
1.8 KiB
CSS
Raw Normal View History

2020-11-23 11:47:42 +01:00
/* Figures */
2020-11-12 09:29:27 +01:00
.figure p{
2020-11-12 16:53:54 +01:00
text-align: center;
2020-11-12 09:29:27 +01:00
}
.figure img{
2020-11-12 16:53:54 +01:00
max-width:100%;
display: block;
margin: auto;
2020-11-12 09:29:27 +01:00
}
table {
2020-11-12 16:53:54 +01:00
margin-left: auto;
margin-right: auto;
2020-11-12 09:29:27 +01:00
}
2020-11-23 11:47:42 +01:00
/* Source Blocks */
2020-11-12 09:29:27 +01:00
.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'; }
2020-11-12 16:38:01 +01:00
2020-11-23 11:47:42 +01:00
/* Results blocks */
pre.example {
position: relative;
}
2020-11-23 11:33:43 +01:00
pre.example:before {
2020-11-23 13:09:33 +01:00
content: 'Result';
2020-11-23 11:33:43 +01:00
display: inline;
2020-11-23 11:47:42 +01:00
position: absolute;
2020-11-23 11:33:43 +01:00
color: #808080;
background-color: white;
top: -10px;
left: 10px;
padding: 0px 4px;
border: 1px solid #d0d0d0;
font-size: 80%;
}
2020-11-12 16:38:01 +01:00
2020-11-23 11:47:42 +01:00
/* Navigation Buttons */
2020-11-12 16:38:01 +01:00
#org-div-home-and-up {
2020-11-12 16:53:54 +01:00
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;
}
2020-11-12 16:38:01 +01:00
}
2020-11-17 22:13:18 +01:00
/* Center Youtube Videos */
iframe {
display: block;
margin: auto;
}