]> git.cameronkatri.com Git - cgit.git/commitdiff
md2html: use proper formatting for hr
authorChristian Hesse <mail@eworm.de>
Tue, 31 Mar 2020 12:53:42 +0000 (14:53 +0200)
committerChristian Hesse <mail@eworm.de>
Wed, 12 May 2021 13:32:50 +0000 (15:32 +0200)
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>
filters/html-converters/md2html

index f505cb2354236eb0bfeaea70f14c8a01d363f32b..59f43a84167f5b6c7822958b07a4d3afc0822e16 100755 (executable)
@@ -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: 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;