pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject pdfbox-docs git commit: PDFBOX-3330: set consistent font usage; enhance line spacing
Date Wed, 14 Mar 2018 17:06:25 GMT
Repository: pdfbox-docs
Updated Branches:
  refs/heads/master 5b6da7e1a -> 5d4d26100


PDFBOX-3330: set consistent font usage; enhance line spacing


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

Branch: refs/heads/master
Commit: 5d4d26100cd70a3abf0118b86baa30c00f959d4f
Parents: 5b6da7e
Author: Maruan Sahyoun <sahyoun@fileaffairs.de>
Authored: Wed Mar 14 18:04:22 2018 +0100
Committer: Maruan Sahyoun <sahyoun@fileaffairs.de>
Committed: Wed Mar 14 18:04:22 2018 +0100

----------------------------------------------------------------------
 content/_layouts/default.html |  4 ++++
 content/css/site.css          | 20 ++++++++++++++------
 2 files changed, 18 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/5d4d2610/content/_layouts/default.html
----------------------------------------------------------------------
diff --git a/content/_layouts/default.html b/content/_layouts/default.html
index 1354b7e..8e651f1 100644
--- a/content/_layouts/default.html
+++ b/content/_layouts/default.html
@@ -30,6 +30,10 @@
     <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
     <link href="/css/pygments-github.css" rel="stylesheet">
 
+    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
+    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400" rel="stylesheet">

+    <link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700" rel="stylesheet">
+
     <link href="/css/site.css" rel="stylesheet">
 
     {% if headers.atom %}

http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/5d4d2610/content/css/site.css
----------------------------------------------------------------------
diff --git a/content/css/site.css b/content/css/site.css
index c7efbbf..2b544ca 100644
--- a/content/css/site.css
+++ b/content/css/site.css
@@ -22,16 +22,17 @@
  */
 
 body {
-    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto,
"Oxygen", "Ubuntu", "Cantarell", "Open Sans", Arial, sans-serif;
+    font-family: 'Roboto', sans-serif;
     letter-spacing: 0;
-    font-weight: 400;
+    font-weight: 300;
     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;
+    line-height: 1.5;
+    color: rgba(0,0,0,0.8);
 }
 
 body > .container {
@@ -82,8 +83,9 @@ svg.pdfbox-brand-text, svg.pdfbox-brand-toolbox {
 
 /* headings */
 h1, h2, h3, h4, h5 {
-    font-family: "OpenSans", "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif;
-    font-weight: 300;
+  font-family: 'Source Sans Pro', sans-serif;
+  font-weight: 400;
+  color: rgba(0,0,0,0.8);
 }
 
 h1 {
@@ -110,6 +112,12 @@ h4 .open-iconic {
     fill: #0088cc;
 }
 
+code, kbd, pre, samp {
+    font-family: 'Inconsolata',monospace;
+    font-size: 16px;
+    line-height: 1.2
+}
+
 pre.highlight, .highlight > pre {
   background-color: inherit;
     color: darkslategrey;
@@ -122,7 +130,7 @@ pre.highlight, .highlight > pre {
 code {
   padding: 0;
   background-color: inherit;
-  color: #7e7e81;
+  color: rgba(0,0,0);
 }
 
 /*


Mime
View raw message