Skip to content

Commit

Permalink
v1.5.3
Browse files Browse the repository at this point in the history
[+] optimized TOC display
[+] add docker support
  • Loading branch information
henryxrl committed Oct 25, 2024
1 parent e3ccd70 commit 005196d
Show file tree
Hide file tree
Showing 23 changed files with 2,420 additions and 1,253 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM nginx:alpine
WORKDIR /usr/share/nginx/html
COPY . .
RUN echo "server { listen 8866; location / { root /usr/share/nginx/html; index index.html; } }" > /etc/nginx/conf.d/default.conf
EXPOSE 8866
CMD ["nginx", "-g", "daemon off;"]
43 changes: 30 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,35 @@

10. 颜值高,颜值高,颜值高

## 使用

火狐插件:

1. [易笺正常版 (v1.5.3)](https://addons.mozilla.org/zh-CN/firefox/addon/yijian/)

2. [易笺无界面版 (v1.2.9.2)](https://addons.mozilla.org/zh-CN/firefox/addon/yijian_nogui/)

Chrome插件:

1. [易笺正常版 (v1.5.3)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA/dbanahlbopbjpgdkecmclbbonhpohcaf?hl=en&authuser=0)

2. [易笺无界面版 (v1.2.9.2)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA%EF%BC%88%E6%97%A0%E7%95%8C%E9%9D%A2%E7%89%88%EF%BC%89/mifnkjlmnnaamfgmhmjdjiplaaladjlo?hl=en&authuser=0)

Edge插件:

1. [易笺正常版 (v1.5.3)](https://microsoftedge.microsoft.com/addons/detail/%E6%98%93%E7%AC%BA/pabihehbdhldbdliffaddllmjlknmpak)

2. 易笺无界面版 (v1.2.9.2)

Docker:

```
docker run -d --name simpletextreader \
-p 8866:8866 \
--restart unless-stopped \
henryxrl/simpletextreader:latest
```

## 重大更新

### v1.0
Expand Down Expand Up @@ -125,19 +154,7 @@

2. 移除了检测章节标题的字符限制

## 使用

火狐插件:

1. [易笺正常版 (v1.5.2)](https://addons.mozilla.org/zh-CN/firefox/addon/yijian/)

2. [易笺无界面版 (v1.2.9.2)](https://addons.mozilla.org/zh-CN/firefox/addon/yijian_nogui/)

Chrome插件:

1. [易笺正常版 (v1.5.2)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA/dbanahlbopbjpgdkecmclbbonhpohcaf?hl=en&authuser=0)

2. [易笺无界面版 (v1.2.9.2)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA%EF%BC%88%E6%97%A0%E7%95%8C%E9%9D%A2%E7%89%88%EF%BC%89/mifnkjlmnnaamfgmhmjdjiplaaladjlo?hl=en&authuser=0)
3. 更优雅的目录

---

Expand Down
45 changes: 30 additions & 15 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,35 @@ Big thanks to [Manjusaka](https://github.com/Zheaoli) for his amazing help and h

10. Modern-looking UI design

## Usage

Firefox:

1. [Regular (v1.5.3)](https://addons.mozilla.org/en-US/firefox/addon/yijian/)

2. [No-UI (v1.2.9.2)](https://addons.mozilla.org/en-US/firefox/addon/yijian_nogui/)

Chrome:

1. [Regular (v1.5.3)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA/dbanahlbopbjpgdkecmclbbonhpohcaf?hl=en&authuser=0)

2. [No-UI (v1.2.9.2)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA%EF%BC%88%E6%97%A0%E7%95%8C%E9%9D%A2%E7%89%88%EF%BC%89/mifnkjlmnnaamfgmhmjdjiplaaladjlo?hl=en&authuser=0)

Edge:

1. [Regular (v1.5.3)](https://microsoftedge.microsoft.com/addons/detail/%E6%98%93%E7%AC%BA/pabihehbdhldbdliffaddllmjlknmpak)

2. 易笺无界面版 (v1.2.9.2)

Docker:

```
docker run -d --name simpletextreader \
-p 8866:8866 \
--restart unless-stopped \
henryxrl/simpletextreader:latest
```

## Important Updates

### v1.0
Expand Down Expand Up @@ -125,21 +154,7 @@ Support for customized settings such as font size, line height, theme colors and

2. Removed the character limitation for detecting chapter titles.

## Usage

### Download from online stores

Firefox:

1. [Regular (v1.5.2)](https://addons.mozilla.org/en-US/firefox/addon/yijian/)

2. [No-UI (v1.2.9.2)](https://addons.mozilla.org/en-US/firefox/addon/yijian_nogui/)

Chrome:

1. [Regular (v1.5.2)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA/dbanahlbopbjpgdkecmclbbonhpohcaf?hl=en&authuser=0)

2. [No-UI (v1.2.9.2)](https://chrome.google.com/webstore/detail/%E6%98%93%E7%AC%BA%EF%BC%88%E6%97%A0%E7%95%8C%E9%9D%A2%E7%89%88%EF%BC%89/mifnkjlmnnaamfgmhmjdjiplaaladjlo?hl=en&authuser=0)
3. Optimized the table of contents section.

---

Expand Down
6 changes: 3 additions & 3 deletions css/footnotes.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

#footnotediv {
background-color: var(--bgColor);
font-size: 1.0em;
font-size: 1em;
color: var(--mainColor_active);
padding: 5px 12px;
border: 1px solid var(--borderColor);
border-radius: 8px;
box-shadow: 0 0 5px var(--mainColor_inactive);
-webkit-box-shadow: var(--mainColor_inactive) 0 0 5px;
-moz-box-shadow: 0 0 5px var(--mainColor_inactive);
font-family:var(--fontFamily_ui) !important;
font-family: var(--fontFamily_ui) !important;
}

#footnotediv p {
Expand All @@ -39,7 +39,7 @@ a.footnotebacklink img {
text-align: right;
margin: 0;
padding: 0 5px;
font-size: 1.0em;
font-size: 1em;
position: absolute;
float: right;
top: 0;
Expand Down
168 changes: 84 additions & 84 deletions css/reader.css
Original file line number Diff line number Diff line change
@@ -1,121 +1,121 @@
@charset "UTF-8";
body {
margin-top:0%;
margin-bottom:4.5em;
margin-left:0%;
margin-right:0%;
margin-top: 0%;
margin-bottom: 4.5em;
margin-left: 0%;
margin-right: 0%;
}
img {
max-width:100%;
max-height:100%;
margin:auto;
overflow:auto;
max-width: 100%;
max-height: 100%;
margin: auto;
overflow: auto;
}
p {
font-family:var(--fontFamily_body);
font-size:var(--p_fontSize);
color:var(--fontColor);
text-align:justify;
text-indent:2em;
line-height:var(--p_lineHeight);
margin:1em;
font-family: var(--fontFamily_body);
font-size: var(--p_fontSize);
color: var(--fontColor);
text-align: justify;
text-indent: 2em;
line-height: var(--p_lineHeight);
margin: 1em;
}
p.first {
text-indent:0em!important;
text-indent: 0em !important;
}
.cover {
width:100%;
width: 100%;
}
.center {
text-align:center;
margin-left:0%;
margin-right:0%;
text-align: center;
margin-left: 0%;
margin-right: 0%;
}
.left {
text-align:left;
margin-left:0%;
margin-right:0%;
text-align: left;
margin-left: 0%;
margin-right: 0%;
}
.right {
text-align:right;
margin-left:0%;
margin-right:0%;
text-align: right;
margin-left: 0%;
margin-right: 0%;
}
.quote {
margin-top:0%;
margin-bottom:0%;
margin-left:1em;
margin-right:1em;
text-align:justify;
font-family:var(--fontFamily_body);
color:var(--fontColor);
margin-top: 0%;
margin-bottom: 0%;
margin-left: 1em;
margin-right: 1em;
text-align: justify;
font-family: var(--fontFamily_body);
color: var(--fontColor);
}
.stickupCap {
font-size:4em;
font-weight:bold;
font-size: 4em;
font-weight: bold;
margin: 7px 6px 6px -1px;
padding:3px;
text-indent:0em !important;
padding: 3px;
text-indent: 0em !important;
}
.dropCap {
font-size:4em;
font-weight:bold;
float:left !important;
font-size: 4em;
font-weight: bold;
float: left !important;
margin: 7px 6px 6px -1px;
padding:3px;
text-indent:0em !important;
padding: 3px;
text-indent: 0em !important;
}
h1 {
line-height:var(--h1_lineHeight);
text-align:center;
font-weight:bold;
font-size:xxx-large;
font-family:var(--fontFamily_title);
color:var(--mainColor_active);
margin:var(--h1_margin) 0 var(--h1_margin) 0;
line-height: var(--h1_lineHeight);
text-align: center;
font-weight: bold;
font-size: xxx-large;
font-family: var(--fontFamily_title);
color: var(--mainColor_active);
margin: var(--h1_margin) 0 var(--h1_margin) 0;
}
h2 {
line-height:var(--h2_lineHeight);
text-align:center;
font-weight:bold;
font-size:xx-large;
font-family:var(--fontFamily_title);
color:var(--mainColor_active);
margin:var(--h2_margin) 0 var(--h2_margin) 0;
line-height: var(--h2_lineHeight);
text-align: center;
font-weight: bold;
font-size: xx-large;
font-family: var(--fontFamily_title);
color: var(--mainColor_active);
margin: var(--h2_margin) 0 var(--h2_margin) 0;
}
h3 {
line-height:var(--h3_lineHeight);
text-align:center;
font-weight:bold;
font-size:x-large;
font-family:var(--fontFamily_title);
color:var(--mainColor_active);
margin:var(--h3_margin) 0 var(--h3_margin) 0;
line-height: var(--h3_lineHeight);
text-align: center;
font-weight: bold;
font-size: x-large;
font-family: var(--fontFamily_title);
color: var(--mainColor_active);
margin: var(--h3_margin) 0 var(--h3_margin) 0;
}
h4 {
line-height:var(--h4_lineHeight);
text-align:center;
font-weight:bold;
font-size:large;
font-family:var(--fontFamily_title);
color:var(--mainColor_active);
margin:var(--h4_margin) 0 var(--h4_margin) 0;
line-height: var(--h4_lineHeight);
text-align: center;
font-weight: bold;
font-size: large;
font-family: var(--fontFamily_title);
color: var(--mainColor_active);
margin: var(--h4_margin) 0 var(--h4_margin) 0;
}
h5 {
line-height:var(--h5_lineHeight);
text-align:center;
font-weight:bold;
font-size:medium;
font-family:var(--fontFamily_title);
color:var(--mainColor_active);
margin:var(--h5_margin) 0 var(--h5_margin) 0;
line-height: var(--h5_lineHeight);
text-align: center;
font-weight: bold;
font-size: medium;
font-family: var(--fontFamily_title);
color: var(--mainColor_active);
margin: var(--h5_margin) 0 var(--h5_margin) 0;
}
h6 {
line-height:var(--h6_lineHeight);
text-align:center;
font-weight:bold;
font-size:small;
font-family:var(--fontFamily_title);
color:var(--mainColor_active);
margin:var(--h6_margin) 0 var(--h6_margin) 0;
line-height: var(--h6_lineHeight);
text-align: center;
font-weight: bold;
font-size: small;
font-family: var(--fontFamily_title);
color: var(--mainColor_active);
margin: var(--h6_margin) 0 var(--h6_margin) 0;
}
Loading

0 comments on commit 005196d

Please sign in to comment.