2022-10-21 20:42:10 +08:00
|
|
|
<!-- idea from konfou.xyz -->
|
2023-06-06 16:07:17 +08:00
|
|
|
<!-- colorscheme: everforest-medium-dark -->
|
2022-10-21 20:42:10 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang=en>
|
|
|
|
<meta charset=utf-8>
|
2023-06-06 16:07:17 +08:00
|
|
|
<title>~dongdigua</title>
|
2022-10-21 20:42:10 +08:00
|
|
|
<meta name=author content="dongdigua's blog">
|
|
|
|
<link rel=license href=https://creativecommons.org/licenses/by/4.0/>
|
2023-06-29 11:00:51 +08:00
|
|
|
<link rel=icon href=favicon.ico>
|
2024-04-04 10:10:44 +08:00
|
|
|
<link rel=alternate type=application/rss+xml href=https://dongdigua.github.io/feed.xml>
|
2023-06-29 11:00:51 +08:00
|
|
|
<!-- favicon from my classmate -->
|
2022-10-21 20:42:10 +08:00
|
|
|
<style>
|
|
|
|
*{scrollbar-color:gray #404040}
|
2022-10-23 13:21:28 +08:00
|
|
|
*::selection{background:#434C5E}
|
2022-10-21 20:42:10 +08:00
|
|
|
*::-webkit-scrollbar{width:auto}
|
|
|
|
*::-webkit-scrollbar-track{background:#404040}
|
|
|
|
*::-webkit-scrollbar-thumb{background:gray}
|
2023-06-27 11:35:25 +08:00
|
|
|
body{background-color:#2f383e;color:#d3c6aa;font-family:Monaco,Lucida Console,courier new,monospace;font-size:16px;margin:0}
|
2023-06-06 16:07:17 +08:00
|
|
|
a{color:#83c092;text-decoration:none}
|
|
|
|
a:visited{color:#a7c080}
|
|
|
|
a:hover{color:#d699b6}
|
2024-03-30 12:11:56 +08:00
|
|
|
.home{width:100%;min-height:calc(100vh - 50px);text-align:center}
|
2023-06-27 11:35:25 +08:00
|
|
|
.home pre{max-width:80ch;padding-top:2em;margin-left:auto;margin-right:auto;line-height:1.5em;overflow:auto;display:inline-block;text-align:left}
|
2024-03-30 12:11:56 +08:00
|
|
|
footer{height:50px;text-align:center;background:#323d43}
|
2022-12-14 20:07:24 +08:00
|
|
|
pre{font-family:inherit;margin:1rem}
|
2023-06-06 16:07:17 +08:00
|
|
|
#quote{color:#7fbbb3;font-style:italic;text-align:center}
|
|
|
|
#comment{color:#7a8478;font-style:italic}
|
2023-06-07 08:07:19 +08:00
|
|
|
#normal{color:#d3c6aa}
|
2022-10-21 20:42:10 +08:00
|
|
|
</style>
|
|
|
|
<body>
|
2022-10-29 16:44:27 +08:00
|
|
|
<!--
|
2022-10-21 20:42:10 +08:00
|
|
|
<script src="https://fastly.jsdelivr.net/gh/stevenjoezhang/live2d-widget@latest/autoload.js"></script>
|
|
|
|
<link rel="stylesheet" href="https://fastly.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/css/all.min.css">
|
2022-10-29 16:44:27 +08:00
|
|
|
-->
|
2023-06-27 11:35:25 +08:00
|
|
|
<div class="home">
|
2022-10-21 20:42:10 +08:00
|
|
|
<pre>
|
2024-03-24 20:57:42 +08:00
|
|
|
(<font color=#e67e80>let</font> ((blog <strong>"<a href=https://dongdigua.github.io/posts>地瓜先生集</a>"</strong>)
|
2022-12-18 12:59:59 +08:00
|
|
|
(collections "<a href=https://dongdigua.github.io/internet_collections>MagicalIndex</a>")
|
2024-01-28 15:09:07 +08:00
|
|
|
(rss "<a href=https://dongdigua.github.io/feed.xml>feed.xml</a>")
|
2024-02-14 12:49:09 +08:00
|
|
|
(mai1 "<a>dongdigua砹outlook碘com</a>")
|
2023-06-29 16:02:54 +08:00
|
|
|
(pgp "<a href=https://dongdigua.github.io/pgp.txt><span title="Powered by Canokey">DB55 889E 730F 5B41</span></a>")
|
2023-06-06 16:07:17 +08:00
|
|
|
(github "<a href=https://github.com/dongdigua>@dongdigua</a>")
|
2022-10-29 15:03:53 +08:00
|
|
|
(bilibili "<a href=https://space.bilibili.com/489732092>董地瓜</a>")
|
2022-10-30 14:25:15 +08:00
|
|
|
(payment "<a href=https://dongdigua.github.io/xmr>Monero</a>")
|
2024-03-30 12:11:56 +08:00
|
|
|
(about "<a href=about.html>about</a>")</pre>
|
2022-12-13 17:29:08 +08:00
|
|
|
<br>
|
|
|
|
<pre id="quote"></pre>
|
2022-10-21 20:42:10 +08:00
|
|
|
</div>
|
2023-06-27 11:35:25 +08:00
|
|
|
<footer>
|
2024-03-30 12:11:56 +08:00
|
|
|
© 2022-2024 dongdigua<br>
|
|
|
|
$v$
|
2023-06-27 11:35:25 +08:00
|
|
|
</footer>
|
2024-10-20 12:44:07 +08:00
|
|
|
<script>
|
|
|
|
fetch("/quotes.txt")
|
|
|
|
.then((response) => response.text())
|
|
|
|
.then((text) => {
|
|
|
|
console.log(text)
|
|
|
|
lines = text.split(/\r?\n/).filter(item => item !== "").map(item => item.replace(/\\n/g, '\n'));
|
|
|
|
var index = Math.floor((Math.random() * lines.length));
|
|
|
|
window.document.getElementById("quote").innerHTML = "\"" + lines[index] + "\"";
|
|
|
|
});
|
|
|
|
</script>
|
2022-10-21 20:42:10 +08:00
|
|
|
</body>
|