This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 7bb6c29  Localize hack font
7bb6c29 is described below

commit 7bb6c297d45b126511c9c8a59b18bfe03798afe6
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Nov 1 19:07:31 2021 +0100

    Localize hack font
---
 NOTICE                            |  13 +++++++++++++
 webui/admin.html                  |   2 +-
 webui/css/hack.css                |  34 ++++++++++++++++++++++++++++++++++
 webui/fonts/hack-bold.woff        | Bin 0 -> 144868 bytes
 webui/fonts/hack-bold.woff2       | Bin 0 -> 108008 bytes
 webui/fonts/hack-bolditalic.woff  | Bin 0 -> 151048 bytes
 webui/fonts/hack-bolditalic.woff2 | Bin 0 -> 113512 bytes
 webui/fonts/hack-italic.woff      | Bin 0 -> 148532 bytes
 webui/fonts/hack-italic.woff2     | Bin 0 -> 111360 bytes
 webui/fonts/hack-regular.woff     | Bin 0 -> 141132 bytes
 webui/fonts/hack-regular.woff2    | Bin 0 -> 106236 bytes
 webui/index.html                  |   2 +-
 webui/list.html                   |   2 +-
 webui/thread.html                 |   2 +-
 14 files changed, 51 insertions(+), 4 deletions(-)

diff --git a/NOTICE b/NOTICE
index 885bd97..3755150 100644
--- a/NOTICE
+++ b/NOTICE
@@ -31,3 +31,16 @@ For
     http://docs.jquery.com/License
 
     Date: Date: 2016-05-20T17:17Z
+
+For
+  webui/css/hack.css + webui/fonts/hack*.woff*
+
+    Hack Font Suite
+    https://sourcefoundry.org/hack/
+
+    Copyright 2018 Source Foundry Authors
+    Licensed under the MIT license.
+    https://github.com/source-foundry/Hack/blob/master/LICENSE.md
+
+    Date: Date: 2018-01-22T03:11Z
+
diff --git a/webui/admin.html b/webui/admin.html
index 018d5c0..ae3ccf5 100644
--- a/webui/admin.html
+++ b/webui/admin.html
@@ -29,7 +29,7 @@ the License. -->
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
     <link rel="alternate" href="/api/static.lua"/>
-    <link rel="stylesheet" 
href="//cdn.jsdelivr.net/font-hack/2.013/css/hack.min.css">
+    <link rel="stylesheet" href="css/hack.css">
 
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
diff --git a/webui/css/hack.css b/webui/css/hack.css
new file mode 100644
index 0000000..56199f9
--- /dev/null
+++ b/webui/css/hack.css
@@ -0,0 +1,34 @@
+/*!
+ *  Hack typeface https://github.com/source-foundry/Hack
+ *  License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md
+ */
+/* FONT PATHS
+ * -------------------------- */
+@font-face {
+  font-family: 'Hack';
+  src: url('../fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), 
url('../fonts/hack-regular.woff?sha=3114f1256') format('woff');
+  font-weight: 400;
+  font-style: normal;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('../fonts/hack-bold.woff2?sha=3114f1256') format('woff2'), 
url('../fonts/hack-bold.woff?sha=3114f1256') format('woff');
+  font-weight: 700;
+  font-style: normal;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('../fonts/hack-italic.woff2?sha=3114f1256') format('woff2'), 
url('../fonts/hack-italic.woff?sha=3114f1256') format('woff');
+  font-weight: 400;
+  font-style: italic;
+}
+
+@font-face {
+  font-family: 'Hack';
+  src: url('../fonts/hack-bolditalic.woff2?sha=3114f1256') format('woff2'), 
url('../fonts/hack-bolditalic.woff?sha=3114f1256') format('woff');
+  font-weight: 700;
+  font-style: italic;
+}
+
diff --git a/webui/fonts/hack-bold.woff b/webui/fonts/hack-bold.woff
new file mode 100644
index 0000000..368b913
Binary files /dev/null and b/webui/fonts/hack-bold.woff differ
diff --git a/webui/fonts/hack-bold.woff2 b/webui/fonts/hack-bold.woff2
new file mode 100644
index 0000000..1155477
Binary files /dev/null and b/webui/fonts/hack-bold.woff2 differ
diff --git a/webui/fonts/hack-bolditalic.woff b/webui/fonts/hack-bolditalic.woff
new file mode 100644
index 0000000..ce87fe2
Binary files /dev/null and b/webui/fonts/hack-bolditalic.woff differ
diff --git a/webui/fonts/hack-bolditalic.woff2 
b/webui/fonts/hack-bolditalic.woff2
new file mode 100644
index 0000000..46ff1c4
Binary files /dev/null and b/webui/fonts/hack-bolditalic.woff2 differ
diff --git a/webui/fonts/hack-italic.woff b/webui/fonts/hack-italic.woff
new file mode 100644
index 0000000..bd545e4
Binary files /dev/null and b/webui/fonts/hack-italic.woff differ
diff --git a/webui/fonts/hack-italic.woff2 b/webui/fonts/hack-italic.woff2
new file mode 100644
index 0000000..1e7630c
Binary files /dev/null and b/webui/fonts/hack-italic.woff2 differ
diff --git a/webui/fonts/hack-regular.woff b/webui/fonts/hack-regular.woff
new file mode 100644
index 0000000..e835381
Binary files /dev/null and b/webui/fonts/hack-regular.woff differ
diff --git a/webui/fonts/hack-regular.woff2 b/webui/fonts/hack-regular.woff2
new file mode 100644
index 0000000..524465c
Binary files /dev/null and b/webui/fonts/hack-regular.woff2 differ
diff --git a/webui/index.html b/webui/index.html
index be2d7c0..53cf193 100644
--- a/webui/index.html
+++ b/webui/index.html
@@ -28,7 +28,7 @@ the License. -->
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
     <link rel="alternate" href="/api/static.lua"/>
-    <link rel="stylesheet" 
href="//cdn.jsdelivr.net/font-hack/2.013/css/hack.min.css">
+    <link rel="stylesheet" href="css/hack.css">
 
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
diff --git a/webui/list.html b/webui/list.html
index 7036690..9ce95b4 100644
--- a/webui/list.html
+++ b/webui/list.html
@@ -28,7 +28,7 @@ the License. -->
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
     <link rel="alternate" href="/api/static.lua"/>
-    <link rel="stylesheet" 
href="//cdn.jsdelivr.net/font-hack/2.013/css/hack.min.css">
+    <link rel="stylesheet" href="css/hack.css">
 
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
diff --git a/webui/thread.html b/webui/thread.html
index e632faf..2807f28 100644
--- a/webui/thread.html
+++ b/webui/thread.html
@@ -29,7 +29,7 @@ the License. -->
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
     <link rel="alternate" href="/api/static.lua"/>
-    <link rel="stylesheet" 
href="//cdn.jsdelivr.net/font-hack/2.013/css/hack.min.css">
+    <link rel="stylesheet" href="css/hack.css">
 
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

Reply via email to