about: 88x31 badges; footer css; myversion filter

This commit is contained in:
dongdigua 2024-03-30 12:11:56 +08:00
parent e051e17cbb
commit a859c52e9a
11 changed files with 32 additions and 12 deletions

3
.gitattributes vendored
View File

@ -3,4 +3,5 @@
*.org linguist-vendored=false
*.org linguist-detectable=true
index.gmi filter=dater
index.gmi filter=myversion
index.html filter=myversion

View File

@ -20,6 +20,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 30
fetch-tags: true
- name: Install Emacs
uses: purcell/setup-emacs@master
@ -32,6 +35,7 @@ jobs:
- name: Build with Org
run: |
make describe
cd org
make clean
make

View File

@ -9,6 +9,10 @@ posts:
gmi:
misc/mdlist2gmi.py > posts.gmi
describe:
git describe --tags HEAD
sed -i "s/\$$v\\$$/\$$v: $$(git describe --tags HEAD)\\$$/g" index.html
clean:
rm posts.html
rm posts.gmi

View File

@ -313,10 +313,12 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
}
#postamble {
font-family: monospace;
text-align: center;
padding: .3em;
margin-bottom: 1em;
/* border: 1px solid gray; */
background-color: #dddaec; /* Gentoo Purple */
background-color: #eaeaea; /* orgmode.org */
}
#show_source {
@ -376,7 +378,7 @@ blockquote {
.figure img {
background: white;
padding: 5px;
/* padding: 5px; */
-moz-box-shadow: 0px 0px 5px #c7c7c7;
-webkit-box-shadow: 0px 0px 5px #c7c7c7;
box-shadow: 0px 0px 5px #c7c7c7;

BIN
images/badges/Arch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

BIN
images/badges/made4.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

2
images/badges/sources Normal file
View File

@ -0,0 +1,2 @@
http://www.grimalkin.org/emacs/made4.gif
https://ayoreis.com/static/Arch.png

View File

@ -20,4 +20,4 @@
=> https://dongdigua.github.io https site mirror
$Date$
$v$

View File

@ -18,9 +18,9 @@
a{color:#83c092;text-decoration:none}
a:visited{color:#a7c080}
a:hover{color:#d699b6}
.home{width:100%;min-height:calc(100vh - 60px);text-align:center}
.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:60px;text-align:center;background:#323d43}
footer{height:50px;text-align:center;background:#323d43}
pre{font-family:inherit;margin:1rem}
#quote{color:#7fbbb3;font-style:italic;text-align:center}
#comment{color:#7a8478;font-style:italic}
@ -41,14 +41,13 @@
(github "<a href=https://github.com/dongdigua>@dongdigua</a>")
(bilibili "<a href=https://space.bilibili.com/489732092>董地瓜</a>")
(payment "<a href=https://dongdigua.github.io/xmr>Monero</a>")
(about "<a href=about.html">about</a>)</pre>
(about "<a href=about.html>about</a>")</pre>
<br>
<pre id="quote"></pre>
</div>
<footer>
© 2022-2024 dongdigua<br>
Gemini: <a href=gemini://shenjack.top>gemini://shenjack.top</a><br>
<a href=https://emacstalk.codeberg.page/post/035-made-with-emacs>Made with Emacs</a>
$v$
</footer>
</body>
<script src="./js/random-quote.js"></script>

View File

@ -1,4 +1,5 @@
#+TITLE: about
#+OPTIONS: \n:nil
- 哺乳纲 灵长目 人科 人属 智人
- I use Arch btw
@ -8,3 +9,10 @@
- 骑公路车的
- Elixir > Rust > Python
- 不是很喜欢扁平化设计
-----
[[https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png]]
[[../images/badges/made4.gif]]
[[../images/badges/Arch.png]]
[[https://www.freebsd.org/gifs/power-button.gif]]

View File

@ -22,10 +22,10 @@
(setq org-html-postamble-format
'(("en"
"
<p>dongdigua(dongdigua.github.io) CC BY-NC-SA, 禁止转载到私域(公众号非自己托管的博客等)</p>
<p>dongdigua CC BY-NC-SA 禁止转载到私域(公众号非自己托管的博客等)</p>
<p class=\"date\">Date: %d Build: %T</p>
<p>Proudly made with Emacs Org mode</p>
<p>If you have any idea, please contact me! I may add your comment</p>
<p>Email me to add comment</p>
")))
(setq org-html-home/up-format "