Compare commits
36 Commits
Author | SHA1 | Date |
---|---|---|
|
b60ebdd143 | 3 years ago |
|
d7495fa874 | 4 years ago |
|
a0d2306a29 | 4 years ago |
|
b71677b31a | 4 years ago |
|
49b70126e6 | 4 years ago |
|
73301a5c50 | 4 years ago |
|
6c029f98b8 | 4 years ago |
|
e8ebd6db27 | 4 years ago |
|
c361a989c5 | 4 years ago |
|
3b2737b38e | 4 years ago |
|
e5adef5f51 | 4 years ago |
|
42b3ae6602 | 4 years ago |
|
18214bcf10 | 4 years ago |
|
fe9efa7128 | 4 years ago |
|
78f4b96430 | 4 years ago |
|
741b12261b | 4 years ago |
|
d5922b785e | 4 years ago |
|
dc75dd168a | 4 years ago |
|
2d399de16d | 4 years ago |
|
db4037dd07 | 4 years ago |
|
16cac55ec0 | 4 years ago |
|
d4aa9d6e64 | 4 years ago |
|
2de1868c05 | 4 years ago |
|
9e2ece9d48 | 4 years ago |
|
0eca3d003f | 4 years ago |
|
45d054571d | 5 years ago |
|
2a0ca26c8c | 5 years ago |
|
e69dcf99fb | 5 years ago |
|
7ddb740cb8 | 5 years ago |
|
6903112af5 | 5 years ago |
|
eb0dc1fdf2 | 5 years ago |
|
802d8d8c08 | 5 years ago |
|
715290696c | 5 years ago |
|
ce977a8d3a | 5 years ago |
|
1ba299c7a8 | 5 years ago |
|
481fa28274 | 5 years ago |
@ -1,38 +0,0 @@ |
||||
--- |
||||
name: Bug report |
||||
about: Create a report to help us improve |
||||
title: '' |
||||
labels: '' |
||||
assignees: '' |
||||
|
||||
--- |
||||
|
||||
**Describe the bug** |
||||
A clear and concise description of what the bug is. |
||||
|
||||
**To Reproduce** |
||||
Steps to reproduce the behavior: |
||||
1. Go to '...' |
||||
2. Click on '....' |
||||
3. Scroll down to '....' |
||||
4. See error |
||||
|
||||
**Expected behavior** |
||||
A clear and concise description of what you expected to happen. |
||||
|
||||
**Screenshots** |
||||
If applicable, add screenshots to help explain your problem. |
||||
|
||||
**Desktop (please complete the following information):** |
||||
- OS: [e.g. iOS] |
||||
- Browser [e.g. chrome, safari] |
||||
- Version [e.g. 22] |
||||
|
||||
**Smartphone (please complete the following information):** |
||||
- Device: [e.g. iPhone6] |
||||
- OS: [e.g. iOS8.1] |
||||
- Browser [e.g. stock browser, safari] |
||||
- Version [e.g. 22] |
||||
|
||||
**Additional context** |
||||
Add any other context about the problem here. |
@ -1,20 +0,0 @@ |
||||
--- |
||||
name: Feature request |
||||
about: Suggest an idea for this project |
||||
title: '' |
||||
labels: '' |
||||
assignees: '' |
||||
|
||||
--- |
||||
|
||||
**Is your feature request related to a problem? Please describe.** |
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] |
||||
|
||||
**Describe the solution you'd like** |
||||
A clear and concise description of what you want to happen. |
||||
|
||||
**Describe alternatives you've considered** |
||||
A clear and concise description of any alternative solutions or features you've considered. |
||||
|
||||
**Additional context** |
||||
Add any other context or screenshots about the feature request here. |
@ -1,18 +0,0 @@ |
||||
# Please write in this format |
||||
# <Type> : <Title> |
||||
|
||||
################ |
||||
# Write body |
||||
|
||||
################ |
||||
# Write footer or issue number |
||||
|
||||
################ |
||||
# feature : New feature |
||||
# fix : Fix bug |
||||
# docs : Fix docs |
||||
# test : Mofiy test code |
||||
# refactor : Refactoring code |
||||
# style : Changes that don't affect code semantics |
||||
# chore : Build parts or package manager modifications |
||||
################ |
@ -1,31 +0,0 @@ |
||||
# Contributing to React-Epub_Viewer |
||||
|
||||
🎈 First off, thanks for taking the time to contribute! 🎈 |
||||
|
||||
The following is a set of guidelines for contributing to `React-Epub_Viewer`, which are hosted by NB. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request. |
||||
|
||||
First open an issue and let us know what you're contributing to! |
||||
|
||||
--- |
||||
|
||||
**Table Of Contents** |
||||
|
||||
[Code Commit](#Code-Commit) |
||||
|
||||
|
||||
|
||||
--- |
||||
|
||||
# Code Commit |
||||
|
||||
1. Please create a branch in this format, **`<Issue Number>-<Some name>`** |
||||
2. Open a terminal and navigate to your project path. And enter this. |
||||
**`git config --global commit.template .gitmessage.txt`** |
||||
3. You can use the template, with `git commit` through vi. **Not** `git commit -m` |
||||
4. If you want to merge your work, please pull request to the `dev` branch |
||||
5. Enjoy contributing! |
||||
|
||||
|
||||
--- |
||||
|
||||
If you have any other opinions, please feel free to suggest! 😀 |
@ -0,0 +1,48 @@ |
||||
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap"); |
||||
|
||||
html, |
||||
body { |
||||
scroll-behavior: auto; |
||||
-webkit-overflow-scrolling: touch; |
||||
font-size: 16px; |
||||
height: 100%; |
||||
} |
||||
|
||||
body { |
||||
padding: 0; |
||||
margin: 0; |
||||
} |
||||
|
||||
button { |
||||
background: none; |
||||
border: none; |
||||
cursor: pointer; |
||||
} |
||||
|
||||
a { |
||||
text-decoration: none; |
||||
} |
||||
|
||||
|
||||
|
||||
* { |
||||
-webkit-font-smoothing: antialiased; |
||||
-moz-osx-font-smoothing: auto; |
||||
font-weight: 400; |
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); |
||||
font-size: 1rem; |
||||
color: #009aa8; |
||||
} |
||||
|
||||
#root { |
||||
height: 100%; |
||||
} |
||||
|
||||
.epub-container { |
||||
overflow-x: hidden !important; |
||||
} |
||||
|
||||
.epub-container::-webkit-scrollbar { |
||||
width: 0px; |
||||
background: transparent; |
||||
} |
@ -1,14 +0,0 @@ |
||||
html, |
||||
body { |
||||
padding: 0; |
||||
margin: 0; |
||||
width: 100vw; |
||||
height: 100vh; |
||||
} |
||||
|
||||
#root { |
||||
height: 100%; |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
} |
After Width: | Height: | Size: 475 B |
After Width: | Height: | Size: 981 B |
After Width: | Height: | Size: 1.8 KiB |
@ -0,0 +1,6 @@ |
||||
<?xml version='1.0' encoding='utf-8'?> |
||||
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0"> |
||||
<rootfiles> |
||||
<rootfile full-path="content.opf" media-type="application/oebps-package+xml"/> |
||||
</rootfiles> |
||||
</container> |
@ -0,0 +1,153 @@ |
||||
<?xml version='1.0' encoding='utf-8'?> |
||||
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0"> |
||||
<metadata xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
||||
<dc:title>جنگ و صلح</dc:title> |
||||
<dc:creator opf:role="aut" opf:file-as="Zare, Sajjad">Sajjad Zare</dc:creator> |
||||
<dc:identifier id="uuid_id" opf:scheme="uuid">3a1a915b-ed6e-4916-8a47-bce9deeb7c85</dc:identifier> |
||||
<dc:date>0101-01-01T00:00:00+00:00</dc:date> |
||||
<dc:contributor opf:role="bkp">calibre (3.21.0) [https://calibre-ebook.com]</dc:contributor> |
||||
<dc:language>fa</dc:language> |
||||
<dc:identifier opf:scheme="calibre">3a1a915b-ed6e-4916-8a47-bce9deeb7c85</dc:identifier> |
||||
<meta name="calibre:timestamp" content="2021-07-31T11:53:39.697000+00:00"/> |
||||
<meta name="calibre:title_sort" content="جنگ و صلح"/> |
||||
<meta name="calibre:author_link_map" content="{"Sajjad Zare": ""}"/> |
||||
</metadata> |
||||
<manifest> |
||||
<item href="index_split_000.html" id="id265" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_001.html" id="id264" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_002.html" id="id263" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_003.html" id="id262" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_004.html" id="id261" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_005.html" id="id260" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_006.html" id="id259" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_007.html" id="id258" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_008.html" id="id257" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_009.html" id="id256" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_010.html" id="id255" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_011.html" id="id254" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_012.html" id="id253" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_013.html" id="id252" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_014.html" id="id251" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_015.html" id="id250" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_016.html" id="id249" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_017.html" id="id248" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_018.html" id="id247" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_019.html" id="id246" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_020.html" id="id245" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_021.html" id="id244" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_022.html" id="id243" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_023.html" id="id242" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_024.html" id="id241" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_025.html" id="id240" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_026.html" id="id239" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_027.html" id="id238" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_028.html" id="id237" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_029.html" id="id236" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_030.html" id="id235" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_031.html" id="id234" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_032.html" id="id233" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_033.html" id="id232" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_034.html" id="id231" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_035.html" id="id230" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_036.html" id="id229" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_037.html" id="id228" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_038.html" id="id227" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_039.html" id="id226" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_040.html" id="id225" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_041.html" id="id224" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_042.html" id="id223" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_043.html" id="id222" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_044.html" id="id221" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_045.html" id="id220" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_046.html" id="id219" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_047.html" id="id218" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_048.html" id="id217" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_049.html" id="id216" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_050.html" id="id215" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_051.html" id="id214" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_052.html" id="id213" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_053.html" id="id212" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_054.html" id="id211" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_055.html" id="id210" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_056.html" id="id29" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_057.html" id="id28" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_058.html" id="id27" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_059.html" id="id26" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_060.html" id="id25" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_061.html" id="id24" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_062.html" id="id23" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_063.html" id="id22" media-type="application/xhtml+xml"/> |
||||
<item href="index_split_064.html" id="id21" media-type="application/xhtml+xml"/> |
||||
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/> |
||||
<item href="page_styles.css" id="page_css" media-type="text/css"/> |
||||
<item href="stylesheet.css" id="css" media-type="text/css"/> |
||||
</manifest> |
||||
<spine toc="ncx" page-progression-direction="rtl"> |
||||
<itemref idref="id265"/> |
||||
<itemref idref="id264"/> |
||||
<itemref idref="id263"/> |
||||
<itemref idref="id262"/> |
||||
<itemref idref="id261"/> |
||||
<itemref idref="id260"/> |
||||
<itemref idref="id259"/> |
||||
<itemref idref="id258"/> |
||||
<itemref idref="id257"/> |
||||
<itemref idref="id256"/> |
||||
<itemref idref="id255"/> |
||||
<itemref idref="id254"/> |
||||
<itemref idref="id253"/> |
||||
<itemref idref="id252"/> |
||||
<itemref idref="id251"/> |
||||
<itemref idref="id250"/> |
||||
<itemref idref="id249"/> |
||||
<itemref idref="id248"/> |
||||
<itemref idref="id247"/> |
||||
<itemref idref="id246"/> |
||||
<itemref idref="id245"/> |
||||
<itemref idref="id244"/> |
||||
<itemref idref="id243"/> |
||||
<itemref idref="id242"/> |
||||
<itemref idref="id241"/> |
||||
<itemref idref="id240"/> |
||||
<itemref idref="id239"/> |
||||
<itemref idref="id238"/> |
||||
<itemref idref="id237"/> |
||||
<itemref idref="id236"/> |
||||
<itemref idref="id235"/> |
||||
<itemref idref="id234"/> |
||||
<itemref idref="id233"/> |
||||
<itemref idref="id232"/> |
||||
<itemref idref="id231"/> |
||||
<itemref idref="id230"/> |
||||
<itemref idref="id229"/> |
||||
<itemref idref="id228"/> |
||||
<itemref idref="id227"/> |
||||
<itemref idref="id226"/> |
||||
<itemref idref="id225"/> |
||||
<itemref idref="id224"/> |
||||
<itemref idref="id223"/> |
||||
<itemref idref="id222"/> |
||||
<itemref idref="id221"/> |
||||
<itemref idref="id220"/> |
||||
<itemref idref="id219"/> |
||||
<itemref idref="id218"/> |
||||
<itemref idref="id217"/> |
||||
<itemref idref="id216"/> |
||||
<itemref idref="id215"/> |
||||
<itemref idref="id214"/> |
||||
<itemref idref="id213"/> |
||||
<itemref idref="id212"/> |
||||
<itemref idref="id211"/> |
||||
<itemref idref="id210"/> |
||||
<itemref idref="id29"/> |
||||
<itemref idref="id28"/> |
||||
<itemref idref="id27"/> |
||||
<itemref idref="id26"/> |
||||
<itemref idref="id25"/> |
||||
<itemref idref="id24"/> |
||||
<itemref idref="id23"/> |
||||
<itemref idref="id22"/> |
||||
<itemref idref="id21"/> |
||||
</spine> |
||||
<guide/> |
||||
</package> |
@ -0,0 +1 @@ |
||||
application/epub+zip |
@ -0,0 +1,12 @@ |
||||
@page { |
||||
margin-bottom: 5pt; |
||||
margin-top: 5pt; |
||||
} |
||||
@font-face { |
||||
font-family: "Nazanin"; |
||||
src: url(/react-epub-viewer/css/Nazanin.woff); |
||||
} |
||||
@font-face { |
||||
font-family: "Sans"; |
||||
src: url(/react-epub-viewer/css/IRANSansWebFaNum.woff); |
||||
} |
@ -0,0 +1,56 @@ |
||||
.block_ { |
||||
text-align: center; |
||||
} |
||||
.block_1 { |
||||
font-weight: bold; |
||||
text-align: center; |
||||
} |
||||
.block_2 { |
||||
font-weight: bold; |
||||
page-break-after: avoid; |
||||
page-break-inside: avoid; |
||||
text-align: center; |
||||
} |
||||
.block_3 { |
||||
text-align: right; |
||||
} |
||||
.block_4 { |
||||
font-weight: bold; |
||||
text-align: left; |
||||
} |
||||
.block_5 { |
||||
text-align: left; |
||||
} |
||||
.block_6 { |
||||
text-align: right; |
||||
} |
||||
.block_7 { |
||||
font-weight: bold; |
||||
page-break-after: avoid; |
||||
page-break-inside: avoid; |
||||
text-align: center; |
||||
} |
||||
.block_8 { |
||||
font-weight: bold; |
||||
text-align: right; |
||||
} |
||||
.block_9 { |
||||
font-weight: bold; |
||||
text-align: right; |
||||
} |
||||
.block_10 { |
||||
font-weight: normal; |
||||
page-break-after: avoid; |
||||
page-break-inside: avoid; |
||||
text-align: center; |
||||
} |
||||
.calibre { |
||||
direction: rtl; |
||||
text-align: right; |
||||
} |
||||
.calibre2 { |
||||
font-style: italic; |
||||
} |
||||
.text_ { |
||||
font-weight: bold; |
||||
} |
After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 351 B |
@ -1,17 +1,40 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<title>React Epub Viewer</title> |
||||
<meta |
||||
name="description" |
||||
content="React Epub Viewer powered by Epub.js" |
||||
/> |
||||
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%/css/index.css"> |
||||
</head> |
||||
<body> |
||||
<div id="root"></div> |
||||
</body> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<title>Book reader</title> |
||||
<meta name="description" content="React-Epub-Viewer Demo Page" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
||||
<meta name="theme-color" content="#000000" /> |
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> |
||||
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%/css/global.css" /> |
||||
<style> |
||||
@font-face { |
||||
font-family: "Nazanin"; |
||||
src: url(%PUBLIC_URL%/css/Nazanin.woff); |
||||
} |
||||
|
||||
@font-face { |
||||
font-family: "Sans"; |
||||
src: url(%PUBLIC_URL%/css/IRANSansWeb.woff); |
||||
} |
||||
|
||||
@font-face { |
||||
font-family: "SansNum"; |
||||
src: url(%PUBLIC_URL%/css/IRANSansWebFaNum.woff); |
||||
} |
||||
*, |
||||
body { |
||||
font-family: Sans, Nazanin; |
||||
} |
||||
|
||||
.nav-footer-item > div > span { |
||||
font-family: "SansNum" !important; |
||||
color: #000 !important; |
||||
} |
||||
</style> |
||||
</head> |
||||
<body> |
||||
<div id="root"></div> |
||||
</body> |
||||
</html> |