about summary refs log tree commit diff stats
path: root/filters/html-converters
diff options
context:
space:
mode:
authorChristian Hesse2020-03-31 14:53:42 +0200
committerChristian Hesse2021-05-12 15:32:50 +0200
commit62eb8db4527e6803df4a26056db8ab9eaf5a79ba (patch)
treefa461feaf0464b6c78fd8ef68ee9e068bec90171 /filters/html-converters
parentgit: update to v2.31.0 (diff)
downloadcgit-62eb8db4527e6803df4a26056db8ab9eaf5a79ba.tar.gz
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>
Diffstat (limited to 'filters/html-converters')
-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 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#
86 margin: 15px 0; 86 margin: 15px 0;
87} 87}
88.markdown-body hr { 88.markdown-body hr {
89 background: transparent url("/dirty-shade.png") repeat-x 0 0; 89 border: 2px solid #ccc;
90 border: 0 none;
91 color: #ccc;
92 height: 4px;
93 padding: 0;
94} 90}
95.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 { 91.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 {
96 margin-top: 0; 92 margin-top: 0;