diff options
author | Andrew Dolgov <[email protected]> | 2017-02-25 11:29:20 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-02-25 11:29:20 +0300 |
commit | f37c9975eeec34562c93f9a0b25ace14294d089f (patch) | |
tree | 24a42e00fa21c15181e88681e2f79aa36d3af9ac | |
parent | d3b110e4eb98515d44826e0ce7d5ce3f85892959 (diff) |
add hires favicon, add support for run-as-app on chrome
-rw-r--r-- | README.md | 13 | ||||
-rw-r--r-- | img/favicon_hires.png | bin | 0 -> 13544 bytes | |||
-rw-r--r-- | index.php | 5 | ||||
-rw-r--r-- | manifest.json | 14 |
4 files changed, 29 insertions, 3 deletions
@@ -5,6 +5,15 @@ responsive web EPUB reader using EPUB.js and Calibre database relies on HTTP Authentication provided by httpd -due to EPUB.js strangeness, some URL rewriting is required (nginx -config included) +due to EPUB.js strangeness, some URL rewriting is required (nginx config included) +Acknowledgements +================ + +1. Hires favicon from Flaticon + +https://www.shareicon.net/school-material-education-tools-and-utensils-reader-open-leisure-open-book-reading-book-803832 + +2. Normal favicon from Silk icon pack + +http://www.famfamfam.com/lab/icons/silk/ diff --git a/img/favicon_hires.png b/img/favicon_hires.png Binary files differnew file mode 100644 index 0000000..cc8db65 --- /dev/null +++ b/img/favicon_hires.png @@ -17,7 +17,10 @@ <script src="lib/holder.min.js"></script> <title>The Epube</title> <link type="text/css" rel="stylesheet" media="screen" href="css/index.css" /> - <link id="favicon" rel="shortcut icon" type="image/png" href="img/favicon.png" /> + <link rel="shortcut icon" type="image/png" href="img/favicon.png" /> + <link rel="shortcut icon" sizes="192x192" href="img/favicon_hires.png"> + <link rel="manifest" href="manifest.json"> + <meta name="mobile-web-app-capable" content="yes"> </head> <body> diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..967c13e --- /dev/null +++ b/manifest.json @@ -0,0 +1,14 @@ +{ + "name": "The Epube", + "icons": [ + { + "src": "img/favicon_hires.png", + "sizes": "192x192", + "type": "image/png", + "density": 4.0 + } + ], + "start_url": "index.php", + "display": "standalone", + "orientation": "portrait" +} |