You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2018/03/29 21:33:44 UTC

pdfbox-docs git commit: PDFBOX-3330: adjust formatting for code within documentation section; correct indent

Repository: pdfbox-docs
Updated Branches:
  refs/heads/master 37123aa78 -> 8b7df7645


PDFBOX-3330: adjust formatting for code within documentation section; correct indent


Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/8b7df764
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/8b7df764
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/8b7df764

Branch: refs/heads/master
Commit: 8b7df7645367a84dd0ad9f3734543131735cc59e
Parents: 37123aa
Author: Maruan Sahyoun <sa...@fileaffairs.de>
Authored: Thu Mar 29 23:32:35 2018 +0200
Committer: Maruan Sahyoun <sa...@fileaffairs.de>
Committed: Thu Mar 29 23:32:35 2018 +0200

----------------------------------------------------------------------
 content/css/site.css | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/8b7df764/content/css/site.css
----------------------------------------------------------------------
diff --git a/content/css/site.css b/content/css/site.css
index 04e7128..2eacde0 100644
--- a/content/css/site.css
+++ b/content/css/site.css
@@ -152,10 +152,12 @@ code, kbd, pre, samp {
 pre.highlight, .highlight > pre {
   background-color: inherit;
     color: darkslategrey;
-    padding-left: 2rem;
     border: 0;
     border-radius: 0;
-    border-left: 2px solid #0088cc;
+    border-left: 2px solid #5a5c5d;
+    padding-left: 3rem;
+    padding-top: 1.5rem;
+    padding-bottom: 1.5rem;
 }
 
 code {
@@ -298,7 +300,7 @@ table tr:nth-child(even) td, table tr.even td {
 
 .documentation aside {
   min-width: 22rem;
-  max-width: 22rem;  
+  max-width: 22rem;
   padding-left: 2rem;
 }
 
@@ -325,6 +327,11 @@ table tr:nth-child(even) td, table tr.even td {
   display: block;
 }
 
+.documentation div.highlight {
+    background: #f8f8f8;
+    margin: 2rem 0;
+}
+
 
 /*
  * Off Canvas