changeset 456:33149c656f37

Add pseudo content to h2, h3, h4 in td.repl
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 16 Aug 2017 13:29:47 +0859
parents 354697d936c7
children f06e2356cc70
files examples/common/default/default.css
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/examples/common/default/default.css	Mon Aug 14 22:28:42 2017 +0859
+++ b/examples/common/default/default.css	Wed Aug 16 13:29:47 2017 +0859
@@ -108,6 +108,9 @@
 td.repl h2, td.repl h3, td.repl h4 {
     display: inline;	/* Because td.repl's white space is pre-wrap */
 }
+td.repl h2:before {content: "■";}
+td.repl h3:before {content: "◆";}
+td.repl h4:before {content: "○";}
 .blog_replies td.repatt {min-width: 12em;}
 table.blog_replies iframe {
     width: 400px; height: 300px; max-width: 50em; max-height: 20em;

yatex.org