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 2017/04/28 17:24:12 UTC

[2/2] pdfbox-docs git commit: PDFBOX-3330: use system fonts if available; minor CSSLint fixes

PDFBOX-3330: use system fonts if available; minor CSSLint fixes


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

Branch: refs/heads/master
Commit: 65f943147208211c8d4c10d3d3f727abbde94e97
Parents: 67e614b
Author: Maruan Sahyoun <sa...@fileaffairs.de>
Authored: Fri Apr 28 19:24:03 2017 +0200
Committer: Maruan Sahyoun <sa...@fileaffairs.de>
Committed: Fri Apr 28 19:24:03 2017 +0200

----------------------------------------------------------------------
 content/css/site.css | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/65f94314/content/css/site.css
----------------------------------------------------------------------
diff --git a/content/css/site.css b/content/css/site.css
index b0aee70..c7efbbf 100644
--- a/content/css/site.css
+++ b/content/css/site.css
@@ -22,8 +22,16 @@
  */
 
 body {
-    font-size: 15px;
-    line-height: 1.5;
+    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, "Oxygen", "Ubuntu", "Cantarell", "Open Sans", Arial, sans-serif;
+    letter-spacing: 0;
+    font-weight: 400;
+    font-style: normal;
+    text-rendering: optimizeLegibility;
+    -webkit-font-smoothing: antialiased;
+    -moz-osx-font-smoothing: grayscale;
+    -moz-font-feature-settings: "liga" on;
+    font-size: 16px;
+    line-height: 1.4;
 }
 
 body > .container {
@@ -93,7 +101,7 @@ h4 .oi {
 
 h4 .open-iconic {
     position: relative;
-    top: 0px;
+    top: 0;
     display: inline-block;
     width: 24px;
     height: 24px;
@@ -106,8 +114,8 @@ pre.highlight, .highlight > pre {
   background-color: inherit;
     color: darkslategrey;
     padding-left: 2rem;
-    border: 0pt;
-    border-radius: 0pt;
+    border: 0;
+    border-radius: 0;
     border-left: 2px solid #0088cc;
 }
 
@@ -211,6 +219,7 @@ table tr:nth-child(even) td, table tr.even td {
   .row-offcanvas {
     position: relative;
     -webkit-transition: all .25s ease-out;
+       -moz-transition: all .25s ease-out;
          -o-transition: all .25s ease-out;
             transition: all .25s ease-out;
   }