summaryrefslogtreecommitdiffstats
path: root/pyload/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app')
-rwxr-xr-xpyload/web/app/fonts/Abel-Regular.ttfbin0 -> 36400 bytes
-rw-r--r--pyload/web/app/fonts/Abel-Regular.woffbin0 -> 16284 bytes
-rw-r--r--pyload/web/app/index.html11
-rw-r--r--pyload/web/app/styles/font.css10
4 files changed, 12 insertions, 9 deletions
diff --git a/pyload/web/app/fonts/Abel-Regular.ttf b/pyload/web/app/fonts/Abel-Regular.ttf
new file mode 100755
index 000000000..e37beb972
--- /dev/null
+++ b/pyload/web/app/fonts/Abel-Regular.ttf
Binary files differ
diff --git a/pyload/web/app/fonts/Abel-Regular.woff b/pyload/web/app/fonts/Abel-Regular.woff
new file mode 100644
index 000000000..ab8954389
--- /dev/null
+++ b/pyload/web/app/fonts/Abel-Regular.woff
Binary files differ
diff --git a/pyload/web/app/index.html b/pyload/web/app/index.html
index 87fd6c612..8e231868f 100644
--- a/pyload/web/app/index.html
+++ b/pyload/web/app/index.html
@@ -8,16 +8,11 @@
<meta name="description" content="pyLoad WebUI">
<meta name="viewport" content="width=device-width">
- <!-- TODO Include this font -->
- <link href="http://fonts.googleapis.com/css?family=Abel" rel="stylesheet" type="text/css"/>
-
<!-- TODO: basepath and templates -->
- <link href="/styles/font.css" rel="stylesheet" type="text/css"/>
- <link href="/styles/default/main.css" rel="stylesheet" type="text/css">
+ <link href="styles/font.css" rel="stylesheet" type="text/css"/>
+ <link href="styles/default/main.css" rel="stylesheet" type="text/css">
+ <link href="vendor/select2.css" rel="stylesheet" type="text/css"/>
- <!-- build:css styles/vendor.css -->
- <link href="components/select2/select2.css" rel="stylesheet" type="text/css"/>
- <!-- endbuild -->
<!-- build:js scripts/default.js -->
<script data-main="scripts/config" src="components/requirejs/require.js"></script>
diff --git a/pyload/web/app/styles/font.css b/pyload/web/app/styles/font.css
index ee117d43b..fa2de514b 100644
--- a/pyload/web/app/styles/font.css
+++ b/pyload/web/app/styles/font.css
@@ -34,4 +34,12 @@
url('../fonts/Sansation_Bold-webfont.svg#SansationBold') format('svg');
font-weight: normal;
font-style: normal;
-} \ No newline at end of file
+}
+
+@font-face {
+ font-family: 'Abel';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Abel'), local('Abel-Regular'), url(../fonts/Abel-Regular.woff) format('woff');
+ src: url(../fonts/Abel-Regular.ttf) format('truetype');
+}