diff options
author | Christian Hesse <mail@eworm.de> | 2020-03-31 14:53:42 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-05-12 15:32:50 +0200 |
commit | 62eb8db4527e6803df4a26056db8ab9eaf5a79ba (patch) | |
tree | fa461feaf0464b6c78fd8ef68ee9e068bec90171 | |
parent | d889cae811f27a052317ac5aea23890cba414760 (diff) | |
download | cgit-62eb8db4527e6803df4a26056db8ab9eaf5a79ba.tar.gz cgit-62eb8db4527e6803df4a26056db8ab9eaf5a79ba.tar.bz2 cgit-62eb8db4527e6803df4a26056db8ab9eaf5a79ba.zip |
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>
-rwxr-xr-x | filters/html-converters/md2html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html index f505cb2..59f43a8 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: 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; |