List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 1/1] md2html: use proper formatting for hr
@ 2020-03-31 12:56 list
  0 siblings, 0 replies; only message in thread
From: list @ 2020-03-31 12:56 UTC (permalink / raw)


From: Christian Hesse <mail at eworm.de>

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 at eworm.de>
---
 filters/html-converters/md2html | 6 +-----
 1 file changed, 1 insertion(+), 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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-31 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-31 12:56 [PATCH 1/1] md2html: use proper formatting for hr list

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).