all repos — cgit @ 62eb8db4527e6803df4a26056db8ab9eaf5a79ba

a hyperfast web frontend for git written in c

md2html: use proper formatting for hr

This addressed a non-existent background image and made the element
invisible. Drop the style and use something sane.

Signed-off-by: Christian Hesse <mail@eworm.de>
Christian Hesse mail@eworm.de
Tue, 31 Mar 2020 14:53:42 +0200
commit

62eb8db4527e6803df4a26056db8ab9eaf5a79ba

parent

d889cae811f27a052317ac5aea23890cba414760

1 files changed, 1 insertions(+), 5 deletions(-)

jump to
M filters/html-converters/md2htmlfilters/html-converters/md2html

@@ -86,11 +86,7 @@ .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre {

margin: 15px 0; } .markdown-body hr { - background: transparent url("/dirty-shade.png") repeat-x 0 0; - border: 0 none; - color: #ccc; - height: 4px; - padding: 0; + border: 2px solid #ccc; } .markdown-body>h2:first-child, .markdown-body>h1:first-child, .markdown-body>h1:first-child+h2, .markdown-body>h3:first-child, .markdown-body>h4:first-child, .markdown-body>h5:first-child, .markdown-body>h6:first-child { margin-top: 0;