diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-12-23 17:41:30 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-12-23 21:18:32 +0700 |
commit | 1d42abf23d59de9684c80c290c4498d81ce9977b (patch) | |
tree | 69207c35109e50fda8c489d98b107680217b1d72 /_css | |
parent | c9e639f71b686093e6b53097f0accc0cfbb77303 (diff) | |
download | site-1d42abf23d59de9684c80c290c4498d81ce9977b.tar.gz |
Add initial commenting support
Diffstat (limited to '_css')
-rw-r--r-- | _css/style.css | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/_css/style.css b/_css/style.css index 790c177..af502d7 100644 --- a/_css/style.css +++ b/_css/style.css @@ -204,7 +204,7 @@ code, .hljs { padding: 0.1em 0.2em; } -.hljs { +.hljs, .comment pre > code { display: block; line-height: 1.45em; overflow-x: auto; @@ -227,6 +227,15 @@ code, .hljs { .hljs-selector-pseudo, .hljs-template-tag, .hljs-template-variable, .hljs-addition { color: var(--red) } +.comment { + background-color: #8881; + clear: both; + margin: 1ex 0; + overflow: hidden; + padding: 1ex; +} +.comment p { margin: 1ex } + .openring { display: flex; flex-wrap: wrap; |