changed ccs

This commit is contained in:
dongdigua 2022-09-09 16:08:21 +08:00
parent e4b2ea3e4b
commit acc90ab39d
5 changed files with 1064 additions and 170 deletions

1058
css/main.css Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,165 +0,0 @@
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;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 846 KiB

After

Width:  |  Height:  |  Size: 166 KiB

View File

@ -9,6 +9,7 @@
#+TITLE: Internet Collections
* 一些(个人)博客收集
** [[http://www.paulgraham.com/todo.html][Paul Graham]]
** [[http://www.qiusir.com/][qiusir]] :rssub:
** [[http://www.yinwang.org/][王垠]]
** [[http://ruanyifeng.com/blog/][阮一峰]] :rssub:
@ -129,7 +130,6 @@ legacy
Rust Graphics
*** [[https://www.youtube.com/playlist?list=PLSiFUSQSRYAOFwfP-aMzXJlWKVyIuWfPU][stack-based virtual machine(6 episode)]]
and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]]
*** [[https://youtu.be/_uAMo-bXI5g][register virtual machine in rust, with memory visualization]]
*** [[https://www.youtube.com/playlist?list=PLpM-Dvs8t0VY73ytTCQqgvgCWttV3m8LM][tsoding virtual machine in C]] , [[https://dongdigua.github.io/tsoding_bm][some notes]]
*** [[https://youtu.be/Fq9chEBQMFE][what if I try to malloc too much memory]]
*** [[https://youtu.be/qF7dkrce-mQ][fireship bitcoin]]
@ -143,7 +143,6 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]]
but ocaml itself is not ideal, you have to take ocaml and throw O away, and that's perfect
1:03 to be fair p___hub is more interesting than this, that's for sure, so let's use Makefile (instead of dune)
1:50 sexplib?
2:00 build own irc lib
2:14 "how many american server you have already hacked" - "I don't count them I'm sorry"
*** [[https://youtube.be/TLa2VqcGGEQ][CVE-2021-3156 sudo]]
*** [[https://youtu.be/x_R1DeZxGc0][Discover Vulnerabilities in Intel CPUs!]]
@ -158,8 +157,6 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]]
*** [[https://youtu.be/S4E4yAktjug?t=998][How To Become Invisible Online # level 3]]
*** [[https://youtu.be/QxNsyrftJ8I][The Biggest Linux Security Mistakes]]
"Security is a journey, not a destination!"
*** [[https://youtu.be/pEfrdAtAmqk][Fireship: The Programming Iceberg]]
[[https://www.bilibili.com/video/BV15T411F7js][I translated it]]
*** [[https://youtu.be/yCgHoL9_ZiY][Is LTT Trolling The Linux Community?]]
** Math
@ -196,6 +193,9 @@ I agree
*** [[https://www.reddit.com/r/ProgrammerHumor/comments/wpnvtg/microsoft_visual_rust_2018/][Microsoft Visual Rust]]
*** [[https://www.reddit.com/r/ProgrammerHumor/comments/wsw78u/regex_be_like/][MC enchant: regex be like...]]
* Hacker News
** [[https://news.ycombinator.com/item?id=32012566][A better formulation of DRY(Don't Repeat Yourself) is SPOT (Single Point Of Truth)]]
* Other
#+BEGIN_COMMENT
#+END_COMMENT

View File

@ -15,7 +15,8 @@
:recursive t
:exclude "画大饼.org"
:publishing-function org-html-publish-to-html
:html-head "<link rel='stylesheet' type='text/css' href='./../css/org-css.css' />" ; instead of :style
;; https://github.com/rgb-24bit/org-html-theme-list org-joshua
:html-head "<link rel='stylesheet' type='text/css' href='./../css/main.css' />" ; instead of :style
)))
(defun myweb-publish ()