Skip to content

Commit

Permalink
fix path join bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CNOCTAVE committed Oct 16, 2024
1 parent a877600 commit 498224b
Show file tree
Hide file tree
Showing 22 changed files with 1,179 additions and 141 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
log.txt

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ NOTICE FOR FILE(S):


MaterialIcons.css
flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2

Copyright 2024 Google

Expand Down
2 changes: 1 addition & 1 deletion MaterialIcons.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
src: url(flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
Expand Down
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
## marked_reader
Development:
$ npm i
$ npm start
# marked_reader
marked_reader is an open source Markdown reader packed by Electron.
# marked_reader Document
Check out document: [marked_reader Document](https://cnoctave.github.io/marked_reader/index.html)
# How to translate marked_reader Document into another language
In ./docs directory, index.html is zh-CN simplified Chinese document.
For example, if you want to translate document into English.
1. Copy index.html as another document with different language code as filename,
for example, en-US.html.
2. Translate en-US.html into English.
3. Add dropdown like the picture below to every *.html.
For example, add dropdown "en-US English".
![the dropdown looking](./docs/pic/translate_dropdown.png)
The code for adding dropdown is like the picture below.
![the dropdown code](./docs/pic/translate_dropdown_code.png)
4. PR to marked_reader.
159 changes: 159 additions & 0 deletions docs/assets/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
body {
border-top: 0px;
}

.container {
display: flex;
justify-content: space-between;
padding: 20px;
}

.main {
flex: 10;
margin: 0 20px;
}

.title1 {
font-size: 30px;
}

.bookpic {
height: 300px;
}

.card:hover {
color: rgb(0, 132, 255);
cursor: pointer;
}

.rainbow-text {
display: inline-block;
background-image: -webkit-linear-gradient(90deg, red, orange, yellow, red, orange);
-webkit-background-clip: text;
color: transparent;
}

.ad-banner {
width: 100%;
height: 200px;
background-color: gray;
color: white;
text-align: center;
}

.ad-side {
/* width: 10%; */
height: 600px;
background-color: gray;
color: white;
text-align: center;
flex: 1;
}

.custom-caption {
text-align: center;
padding: 50px;
color: white;
background-color: rgba(0, 0, 0, .3);
}

.combined-color-1 {
background: radial-gradient(ellipse at top, #e66465, transparent),
radial-gradient(ellipse at bottom, #4d9f0c, transparent),
radial-gradient(ellipse at left, #0fce65, transparent),
radial-gradient(ellipse at right, #f3c809, transparent);
}

.combined-color-2 {
background: radial-gradient(ellipse at top, #a3e664, transparent),
radial-gradient(ellipse at bottom, #0c9f6e, transparent),
radial-gradient(ellipse at left, #0f92ce, transparent),
radial-gradient(ellipse at right, #f309c0, transparent);
}

.combined-color-3 {
background: radial-gradient(ellipse at top, #64d7e6, transparent),
radial-gradient(ellipse at bottom, #9f780c, transparent),
radial-gradient(ellipse at left, #b80fce, transparent),
radial-gradient(ellipse at right, #09f328, transparent);
}

.combined-color-4 {
background: radial-gradient(ellipse at top, #64e6db, transparent),
radial-gradient(ellipse at bottom, #ecdd07, transparent),
radial-gradient(ellipse at left, #ce2c0f, transparent),
radial-gradient(ellipse at right, #9509f3, transparent);
}

.combined-color-5 {
background: radial-gradient(ellipse at top, #e67864, transparent),
radial-gradient(ellipse at bottom, #3cec07, transparent),
radial-gradient(ellipse at left, #0f32ce, transparent),
radial-gradient(ellipse at right, #f30957, transparent);
}

.combined-color-6 {
background: radial-gradient(ellipse at top, #c42bd8, transparent),
radial-gradient(ellipse at bottom, #ec6e07, transparent),
radial-gradient(ellipse at left, #4cce0f, transparent),
radial-gradient(ellipse at right, #0995f3, transparent);
}

.combined-color-7 {
background: radial-gradient(ellipse at top, #d82b2b, transparent),
radial-gradient(ellipse at bottom, #ddec07, transparent),
radial-gradient(ellipse at left, #0fcece, transparent),
radial-gradient(ellipse at right, #2009f3, transparent);
}

.combined-color-8 {
background: radial-gradient(ellipse at top, #2bd85f, transparent),
radial-gradient(ellipse at bottom, #4c07ec, transparent),
radial-gradient(ellipse at left, #1fce0f, transparent),
radial-gradient(ellipse at right, #f30999, transparent);
}

.combined-color-9 {
background: radial-gradient(ellipse at top, #2bbed8, transparent),
radial-gradient(ellipse at bottom, #ec4807, transparent),
radial-gradient(ellipse at left, #ce0fa5, transparent),
radial-gradient(ellipse at right, #86f309, transparent);
}

.combined-color-10 {
background: radial-gradient(ellipse at top, #d82bca, transparent),
radial-gradient(ellipse at bottom, #94ec07, transparent),
radial-gradient(ellipse at left, #0fb8ce, transparent),
radial-gradient(ellipse at right, #dcf309, transparent);
}

.carousel {
display: flex;
overflow: hidden;
width: 100%;
height: 300px;
}

.carousel-track {
display: flex;
transition: transform 0.5s ease;
}

.person {
max-width: 100%;
width: 300px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
}

.person-outline {
width: 340px;
height: 500px;
}

/* .person img {
max-height: 100%;
max-width: 80%;
} */
Binary file added docs/favicon.ico
Binary file not shown.
Loading

0 comments on commit 498224b

Please sign in to comment.