Add results block

This commit is contained in:
Thomas Dehaeze 2020-11-23 11:33:43 +01:00
parent b27de5877a
commit 46125a420c
2 changed files with 24 additions and 0 deletions

View File

@ -48,6 +48,18 @@ table {
.org-src-container > pre.src-python:before { content: 'Python'; } .org-src-container > pre.src-python:before { content: 'Python'; }
.org-src-container > pre.src-matlab:before { content: 'Matlab'; } .org-src-container > pre.src-matlab:before { content: 'Matlab'; }
pre.example:before {
content: 'Results';
display: inline;
position: absolute;
color: #808080;
background-color: white;
top: -10px;
left: 10px;
padding: 0px 4px;
border: 1px solid #d0d0d0;
font-size: 80%;
}
#org-div-home-and-up { #org-div-home-and-up {
text-align: right; text-align: right;

View File

@ -1300,6 +1300,18 @@ table {
.org-src-container > pre.src-python:before { content: 'Python'; } .org-src-container > pre.src-python:before { content: 'Python'; }
.org-src-container > pre.src-matlab:before { content: 'Matlab'; } .org-src-container > pre.src-matlab:before { content: 'Matlab'; }
pre.example:before {
content: 'Results';
display: inline;
position: absolute;
color: #808080;
background-color: white;
top: -10px;
left: 10px;
padding: 0px 4px;
border: 1px solid #d0d0d0;
font-size: 80%;
}
#org-div-home-and-up { #org-div-home-and-up {
text-align: right; text-align: right;