Skip to content

Commit bb1c1d6

Browse files
committed
Update footer menu
1 parent a219bae commit bb1c1d6

File tree

4 files changed

+55
-4
lines changed

4 files changed

+55
-4
lines changed

css/style.css

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,37 @@ footer a:hover {
297297
}
298298

299299
.footer-github {
300-
margin-top: 1.5rem;
300+
margin-top: 0.75rem;
301+
}
302+
303+
.footer-menu {
304+
display: flex;
305+
align-items: center;
306+
justify-content: center;
307+
gap: 0.375rem;
308+
padding-top: 1.5rem;
309+
font-size: 0.8rem;
310+
line-height: 120%;
311+
}
312+
313+
.footer-menu a {
314+
opacity: 0.8;
315+
transition: opacity 0.2s linear;
316+
}
317+
318+
.footer-menu a:not(.footer-current):hover {
319+
opacity: 1;
320+
}
321+
322+
.footer-separator {
323+
opacity: 0.25;
324+
-webkit-user-select: none;
325+
user-select: none;
326+
}
327+
328+
.footer-menu a.footer-current {
329+
opacity: 0.3;
330+
pointer-events: none;
301331
}
302332

303333
@media (max-width: 768px) {

index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,15 @@ <h2 id="success-filename">book.txt</h2>
148148

149149
<footer>
150150
<div class="container">
151-
<p>&copy; <a href="https://github.com/SPACESODA" target="_blank" rel="noopener">SPACESODA</a> / <a href="https://github.com/realanthonyc" target="_blank" rel="noopener">ANTHONYC</a><br>Released under the MIT License.</p>
151+
<p>&copy; <a href="https://github.com/SPACESODA" target="_blank" rel="noopener">SPACESODA</a> / <a href="https://github.com/realanthonyc" target="_blank" rel="noopener">ANTHONYC</a></p>
152152
<p class="footer-github"><a href="https://github.com/SPACESODA/epub2txt" target="_blank" rel="noopener">★ Star on GitHub</a></p>
153+
<nav class="footer-menu" aria-label="Related tools">
154+
<a href="https://spacesoda.github.io/epub2txt/" target="_blank" rel="noopener noreferrer" class="footer-current">EPUB to TXT</a>
155+
<span class="footer-separator">|</span>
156+
<a href="https://spacesoda.github.io/pdf2txt/" target="_blank" rel="noopener noreferrer">PDF to TXT</a>
157+
<span class="footer-separator">|</span>
158+
<a href="https://github.com/SPACESODA/youtube2txt" target="_blank" rel="noopener noreferrer">YouTube to TXT</a>
159+
</nav>
153160
</div>
154161
</footer>
155162

ja/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,15 @@ <h2 id="success-filename">book.txt</h2>
148148

149149
<footer>
150150
<div class="container">
151-
<p>&copy; <a href="https://github.com/SPACESODA" target="_blank" rel="noopener">SPACESODA</a> / <a href="https://github.com/realanthonyc" target="_blank" rel="noopener">ANTHONYC</a><br>Released under the MIT License.</p>
151+
<p>&copy; <a href="https://github.com/SPACESODA" target="_blank" rel="noopener">SPACESODA</a> / <a href="https://github.com/realanthonyc" target="_blank" rel="noopener">ANTHONYC</a></p>
152152
<p class="footer-github"><a href="https://github.com/SPACESODA/epub2txt" target="_blank" rel="noopener">★ GitHubでスターしてね</a></p>
153+
<nav class="footer-menu" aria-label="Related tools">
154+
<a href="https://spacesoda.github.io/epub2txt/" target="_blank" rel="noopener noreferrer" class="footer-current">EPUB to TXT</a>
155+
<span class="footer-separator">|</span>
156+
<a href="https://spacesoda.github.io/pdf2txt/" target="_blank" rel="noopener noreferrer">PDF to TXT</a>
157+
<span class="footer-separator">|</span>
158+
<a href="https://github.com/SPACESODA/youtube2txt" target="_blank" rel="noopener noreferrer">YouTube to TXT</a>
159+
</nav>
153160
</div>
154161
</footer>
155162

zh/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,15 @@ <h2 id="success-filename">book.txt</h2>
148148

149149
<footer>
150150
<div class="container">
151-
<p>&copy; <a href="https://github.com/SPACESODA" target="_blank" rel="noopener">SPACESODA</a> / <a href="https://github.com/realanthonyc" target="_blank" rel="noopener">ANTHONYC</a><br>Released under the MIT License.</p>
151+
<p>&copy; <a href="https://github.com/SPACESODA" target="_blank" rel="noopener">SPACESODA</a> / <a href="https://github.com/realanthonyc" target="_blank" rel="noopener">ANTHONYC</a></p>
152152
<p class="footer-github"><a href="https://github.com/SPACESODA/epub2txt" target="_blank" rel="noopener">★ 在 GitHub 給個星吧</a></p>
153+
<nav class="footer-menu" aria-label="Related tools">
154+
<a href="https://spacesoda.github.io/epub2txt/" target="_blank" rel="noopener noreferrer" class="footer-current">EPUB to TXT</a>
155+
<span class="footer-separator">|</span>
156+
<a href="https://spacesoda.github.io/pdf2txt/" target="_blank" rel="noopener noreferrer">PDF to TXT</a>
157+
<span class="footer-separator">|</span>
158+
<a href="https://github.com/SPACESODA/youtube2txt" target="_blank" rel="noopener noreferrer">YouTube to TXT</a>
159+
</nav>
153160
</div>
154161
</footer>
155162

0 commit comments

Comments
 (0)