From 1d42abf23d59de9684c80c290c4498d81ce9977b Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 23 Dec 2021 17:41:30 +0700 Subject: Add initial commenting support --- _css/style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to '_css') 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; -- cgit 1.4.1