diff --git a/css/custom.css b/css/custom.css index c21912c..7e4adc8 100644 --- a/css/custom.css +++ b/css/custom.css @@ -1,3 +1,4 @@ +/* Figures */ .figure p{ text-align: center; } @@ -13,6 +14,8 @@ table { margin-right: auto; } +/* Source Blocks */ + .org-src-container > pre.src:before { display: inline; position: absolute; @@ -48,10 +51,16 @@ table { .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: 'Results'; display: inline; - position: relative; + position: absolute; color: #808080; background-color: white; top: -10px; @@ -61,6 +70,8 @@ pre.example:before { font-size: 80%; } +/* Navigation Buttons */ + #org-div-home-and-up { text-align: right; max-width: 1200px; diff --git a/css/style.css b/css/style.css index 73377d5..21a76df 100644 --- a/css/style.css +++ b/css/style.css @@ -1250,6 +1250,7 @@ h2.footnotes{ .org-widget-field { /* widget-field */ background-color: #d9d9d9; } .org-widget-inactive { /* widget-inactive */ color: #7f7f7f; } .org-widget-single-line-field { /* widget-single-line-field */ background-color: #d9d9d9; } +/* Figures */ .figure p{ text-align: center; } @@ -1265,6 +1266,8 @@ table { margin-right: auto; } +/* Source Blocks */ + .org-src-container > pre.src:before { display: inline; position: absolute; @@ -1300,10 +1303,16 @@ table { .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: 'Results'; display: inline; - position: relative; + position: absolute; color: #808080; background-color: white; top: -10px; @@ -1313,6 +1322,8 @@ pre.example:before { font-size: 80%; } +/* Navigation Buttons */ + #org-div-home-and-up { text-align: right; max-width: 1200px;