diff --git a/_config.yml b/_config.yml index c419263..3397c9a 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1 @@ -theme: jekyll-theme-cayman \ No newline at end of file +theme: jekyll-theme-architect \ No newline at end of file diff --git a/cGF5IG1lIHNvbWUgbW9uZXJv.txt b/cGF5IG1lIHNvbWUgbW9uZXJv.txt new file mode 100644 index 0000000..a4dfd69 --- /dev/null +++ b/cGF5IG1lIHNvbWUgbW9uZXJv.txt @@ -0,0 +1 @@ +47LjRRyNYWKf1W5NPmfgZXdZGnGXv4QZRjEnZJbrRRJkAbgikXJGecCNJiP2rny6SR3SSizTVYKJKFdhdKEf5scVMc9Zk1R diff --git a/cheatsheet.org b/cheatsheet.org deleted file mode 100644 index f9f452c..0000000 --- a/cheatsheet.org +++ /dev/null @@ -1,51 +0,0 @@ -#+STARTUP: indent -#+TITLE: Editor Cheetsheet - -* VIM -** deletion -| key | usage | -|-------+------------------------| -| x | 删除光标所在处单词 | -| de | 删除到本单词末尾 | -| db | 删除到前一个单词 | -| d$ | 删除光标位置到本行结束 | -| d0 | 删除光标位置到本行开头 | -| u/C-r | 撤销/重做 | -| | | - -** movement -| key | usage | -|---------+----------------------------| -| w | 下一个单词 | -| e | 单词尾 | -| 0/$ | 行首/尾 | -| H/M/L | 当前页面可见顶部/中间/底部 | -| G | 跳转到第几行 | - -** visual -| key | usage | next | -|-----+--------------+------------------------| -| V | 行选择 | | -| C-v | 矩形区域选择 | S-i 插入, esc 批量执行 | -| v | | movement | -| | | | - - -** file/split -| key | usage | -|-------------+--------------| -| :n/:N | 文件之间切换 | -| :b | 切换到文件 | -| C-w h/j/k/l | 切换分屏窗口 | -| ZZ | :wq | - - - -* EMACS -** org-mode -| key | usage | -|-----------+-----------| -| C-c \vbar | 创建表格 | -| C-c C-e | 导出 HTML | -| | | -| | | diff --git a/css/org-css.css b/css/org-css.css new file mode 100644 index 0000000..3918887 --- /dev/null +++ b/css/org-css.css @@ -0,0 +1,165 @@ +body { + line-height:1.2; +} + +body { + font-family:Source Han Serif SC, "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; + font-size: medium; + font-size:20px; +} +p{ +font-size:20px; + } +H1 { + font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif; +} + +H2 { + font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif; + margin-bottom: 60px; + margin-bottom: 40px; + padding: 5px; + border-bottom: 2px LightGrey solid; + width: 90%; + line-height: 150%; + color: DarkGreen; +} + + +H3 { + font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif; + margin-top: 40px; + margin-bottom: 30px; + border-bottom: 1px LightGrey solid; + width: 80%; + line-height: 150%; + color: DarkBlue; +} + + +H4 { + font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif; + margin-top: 40px; + margin-bottom: 30px; + border-bottom: 1px LightGrey solid; + width: 80%; + line-height: 150%; + color: DarkBlue; +} + + +li { + margin-left: 10px; +} + + +blockquote { + font-family: 'Source Sans Pro', Tahoma, Geneva, 'STKaiti', 'KaiTi', '楷体', 'SimKai', 'DFKai-SB', 'NSimSun', serif; + border-left: 4px crimson solid; + color:grey; + padding-left: 5px; + margin-left: 20px; +} + + +/*pre { + font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace; + font-size: 75%; + border: solid 1px lightgrey; + background-color: Ivory; + padding: 5px; + line-height: 130%; + margin-left: 10px; + width: 95%; +}*/ + pre { + border: 1px solid #ccc; + box-shadow: 3px 3px 3px #eee; + padding: 8pt; + font-family: monospace; + overflow: auto; + margin: 1.2em; + } + +/*pre.src{ + white-space: pre-wrap; + white-space: -moz-pre-wrap; + white-space: -pre-wrap; + white-space: -o-pre-wrap; + word-wrap: break-word; +}*/ +code, +kbd, +pre, +samp { + font-family: Consolas, Inconsolata, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace; + font-size: 14px; +} + +/*pre.src { + background-color:#2e3436; color: #eeeeec; +}*/ +pre.src, pre.example { + display: block; + white-space: pre-wrap; + padding: 0.5em; + /*background-color: hsl(0,0%,95%);*/ + background-color: Ivory; + border: solid thin gray; + font-family: "DejaVu Sans Mono",monospace; + box-shadow: 10px 10px 10px #888; +} +/*pre.example { + background-color:rgb(239,239,239); + /* text-align: center; */ +}*/ + +code { + font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace; + font-size: 90%; +} + + +a { + text-decoration: none; + cursor: crosshair; + border-bottom: 1px dashed Red; + padding: 1px; + color: black; +} + + +a:hover { + background-color: LightGrey; +} + + +img { + margin-left: 10px; + display: block; + margin-left: auto; + margin-right: auto; + width: 70%; + margin-top: 30px; + margin-bottom: 30px; +} + + +hr { + color: LightGrey; +} +#content, #tag-cloud-wrapper{ + margin-left: auto; + margin-right: auto; + /*position: relative;*/ + background: rgb(255, 255, 255); + /*margin: 5% 20%;*/ + /*padding-left: 250px;*/ + padding: 100px; + width:1000px; + line-height:1.6; + -moz-box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05); + -webkit-box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05); + box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05); + border-radius: 6px; +} diff --git a/index.md b/index.md index 414ce06..e0c2816 100644 --- a/index.md +++ b/index.md @@ -8,13 +8,12 @@ Minecraft 红石玩家, [B站](https://space.bilibili.com/489732092)
[elixir 写点对点加密聊天软件](p2p_chat)
[博客, YouTube 等收集](internet_collections)
[我对 SciCraft 更新1.19的看法](scicraft_update)
-[我的 gnome 配置](my_gnome_configt)
-[编辑器操作备忘录](cheetsheet)
+[我的 gnome 配置](my_gnome_config)
+[编辑器操作备忘录](org-html/cheatsheet)
--- -*pay me some monero :)*
-*47LjRRyNYWKf1W5NPmfgZXdZGnGXv4QZRjEnZJbrRRJkAbgikXJGecCNJiP2rny6SR3SSizTVYKJKFdhdKEf5scVMc9Zk1R* +*[pay me some monero](cGF5IG1lIHNvbWUgbW9uZXJv.txt)*
diff --git a/org/Makefile b/org/Makefile index 2a85025..0835bff 100644 --- a/org/Makefile +++ b/org/Makefile @@ -9,3 +9,6 @@ html: @$(EMACS) $(EMACS_OPTS) @echo "HTML generation done" +clean: + rm ./../org-html/*.html + rm ~/.org-timestamps/org-pages.cache diff --git a/org/cheatsheet.org b/org/cheatsheet.org index d130147..0bc52a8 100644 --- a/org/cheatsheet.org +++ b/org/cheatsheet.org @@ -1,4 +1,6 @@ #+STARTUP: indent +#+TITLE: Editor Cheatsheet + * VIM ** deletion @@ -17,6 +19,7 @@ |---------+----------------------------| | w | 下一个单词 | | e | 单词尾 | +| b | 单词头 | | 0/$ | 行首/尾 | | H/M/L | 当前页面可见顶部/中间/底部 | | G | 跳转到第几行 | diff --git a/org/publish_config.el b/org/publish_config.el index f20d9a6..49c8b94 100644 --- a/org/publish_config.el +++ b/org/publish_config.el @@ -4,13 +4,17 @@ ;; 能不能有点创新... (require 'org) +(require 'ox) + +(setq org-html-validation-link nil) (setq org-publish-project-alist '(("org-pages" :base-directory "." :base-extension "org" - :publishing-directory "./.." + :publishing-directory "./../org-html/" :recursive t - :publishing-function org-html-export-to-html + :publishing-function org-html-publish-to-html + :html-head "" ; instead of :style ))) (defun myweb-publish ()