summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2020-03-31 14:53:42 +0200
committerChristian Hesse <mail@eworm.de>2020-10-21 21:56:54 +0200
commit552df5b60048acf3a6019f6d72bcacbdbbada504 (patch)
treee29bd95f8943351e06b8df45172fce74f622e48e
parenta4de0e810b69710c3b32f6d253d80d16dec09f36 (diff)
downloadcgit-ch/md2html-hr.tar.gz
md2html: use proper formatting for hrch/md2html-hr
This addressed a non-existent background image and made the element invisible. Drop the style and use something sane.
-rwxr-xr-xfilters/html-converters/md2html6
1 files changed, 1 insertions, 5 deletions
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html
index dc20f42..fb22dee 100755
--- a/filters/html-converters/md2html
+++ b/filters/html-converters/md2html
@@ -86,11 +86,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
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: 1px 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;