From 46125a420c96420034365f8aa92acb3a7f942b45 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Mon, 23 Nov 2020 11:33:43 +0100 Subject: [PATCH] Add results block --- css/custom.css | 12 ++++++++++++ css/style.css | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/css/custom.css b/css/custom.css index 769e36b..552bde9 100644 --- a/css/custom.css +++ b/css/custom.css @@ -48,6 +48,18 @@ table { .org-src-container > pre.src-python:before { content: 'Python'; } .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 { text-align: right; diff --git a/css/style.css b/css/style.css index f91ceb3..6145753 100644 --- a/css/style.css +++ b/css/style.css @@ -1300,6 +1300,18 @@ table { .org-src-container > pre.src-python:before { content: 'Python'; } .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 { text-align: right;