index.html everforest, home/up format

This commit is contained in:
dongdigua 2023-06-06 16:07:17 +08:00
parent f6a966f481
commit a680e705e5
2 changed files with 18 additions and 12 deletions

View File

@ -1,8 +1,9 @@
<!-- idea from konfou.xyz -->
<!-- colorscheme: everforest-medium-dark -->
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<title>d0ngd1gua</title>
<title>~dongdigua</title>
<meta name=author content="dongdigua's blog">
<link rel=license href=https://creativecommons.org/licenses/by/4.0/>
<link rel="shortcut icon" href=./images/nuclear.png>
@ -12,16 +13,16 @@
*::-webkit-scrollbar{width:auto}
*::-webkit-scrollbar-track{background:#404040}
*::-webkit-scrollbar-thumb{background:gray}
body{background-color:#3B4252;color:#dcdccc;font-family:Monaco,Lucida Console,courier new,monospace;font-size:16px;padding:5em 0 0;margin:0}
a{color:#efdcbc;text-decoration:none}
a:visited{color:#88C0D0}/*nord-brightcyan*/
a:hover{color:#f8f893}
body{background-color:#2f383e;color:#d3c6aa;font-family:Monaco,Lucida Console,courier new,monospace;font-size:16px;padding:5em 0 0;margin:0}
a{color:#83c092;text-decoration:none}
a:visited{color:#a7c080}
a:hover{color:#d699b6}
.home{position:absolute;width:100%;text-align:center}
.home pre{max-width:80ch;padding:0 1rem;margin-left:auto;margin-right:auto;line-height:1.5em;overflow:auto;display:inline-block;text-align:left}
pre{font-family:inherit;margin:1rem}
#quote{color:#66ccff;font-style:italic;text-align:center}
#comment{color:grey;font-style:italic}
body,#normal{color:#dcdccc}
#quote{color:#7fbbb3;font-style:italic;text-align:center}
#comment{color:#7a8478;font-style:italic}
body,#normal{color:#d3c6aa}
</style>
<body>
<!--
@ -30,11 +31,11 @@
-->
<div class="home p-contact contact h-card vcard">
<pre>
(<font color=#c6a0f6>let</font> ((blog <strong>"<a href=https://dongdigua.github.io/posts>posts/</a>"</strong>)
(<font color=#e67e80>let</font> ((blog <strong>"<a href=https://dongdigua.github.io/posts>posts/</a>"</strong>)
(collections "<a href=https://dongdigua.github.io/internet_collections>MagicalIndex</a>")
(feed "<a href=https://dongdigua.github.io/feed.xml>feed.xml</a>")
(mai1 "dongdigua(砹)outlook(碘)com")
(github "<a href=https://github.com/dongdigua>@dongdigua</a>") <a href=https://github.com/dongdigua/dongdigua.github.io><img src=https://github.com/dongdigua/dongdigua.github.io/actions/workflows/site.yml/badge.svg alt="CI status"></a>
(github "<a href=https://github.com/dongdigua>@dongdigua</a>")
(fedora "<a href=><span title="I'll add a link here whenever I join fedorapeople">dongdigua</span></a>")
(bilibili "<a href=https://space.bilibili.com/489732092>董地瓜</a>")
(payment "<a href=https://dongdigua.github.io/xmr>Monero</a>")
@ -43,8 +44,6 @@
'("computer science" "cyber security"
"<a href=https://www.geogebra.org>GeoGebra</a>"
"Minecraft redstone survival"
"<a id="normal" title="deep dark fantacies" href=https://nethackwiki.com>NetHack</a>"
"anime"
(<a id="normal" href="https://xkcd.com/297">Lost (In (Suspicious (Parentheses)))</a>)))))</pre>
<br>
<pre id="quote"></pre>

View File

@ -34,6 +34,13 @@
<p>If you have any idea, please contact me! I may add your comment</p>
")))
(setq org-html-home/up-format "
<div id=\"org-div-home-and-up\">
<a accesskey=\"h\" href=\"%s\"> ../ </a>
|
<a accesskey=\"H\" href=\"%s\"> ~dongdigua </a>
</div>")
(setq org-publish-project-alist
'(("org-pages"
:base-directory "."