mirror.dongdigua.github.io/index.html

64 lines
2.8 KiB
HTML
Raw Permalink Normal View History

<!-- idea from konfou.xyz -->
2023-06-06 16:07:17 +08:00
<!-- colorscheme: everforest-medium-dark -->
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
2023-06-06 16:07:17 +08:00
<title>~dongdigua</title>
<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>
<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 -->
<style>
*{scrollbar-color:gray #404040}
2022-10-23 13:21:28 +08:00
*::selection{background:#434C5E}
*::-webkit-scrollbar{width:auto}
*::-webkit-scrollbar-track{background:#404040}
*::-webkit-scrollbar-thumb{background:gray}
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}
.home{width:100%;min-height:calc(100vh - 50px);text-align:center}
.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}
footer{height:50px;text-align:center;background:#323d43}
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}
</style>
<body>
2022-10-29 16:44:27 +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
-->
<div class="home">
<pre>
(<font color=#e67e80>let</font> ((blog <strong>"<a href=https://dongdigua.github.io/posts>地瓜先生集</a>"</strong>)
(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>")
(about "<a href=about.html>about</a>")</pre>
<br>
<pre id="quote"></pre>
</div>
<footer>
© 2022-2024 dongdigua<br>
$v$
</footer>
<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>
</body>