From caa6efa2f60fb99e5ee3b2866ab2003881a91a61 Mon Sep 17 00:00:00 2001
From: Dmitry Petrov <dmitry.petrov@rtsoft.de>
Date: Thu, 14 Mar 2024 18:16:44 +0100
Subject: [PATCH] convert_md2html: restore several css rules

- fix h1 color
- fix missing gorizontal line above h1
- increased h2 font size
- fix missing borders for table
- restore link style
---
 scripts/convert_md2html.py | 47 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 45 insertions(+), 2 deletions(-)

diff --git a/scripts/convert_md2html.py b/scripts/convert_md2html.py
index c9450a5c..1ccde57a 100755
--- a/scripts/convert_md2html.py
+++ b/scripts/convert_md2html.py
@@ -36,17 +36,60 @@ h1, h2, .footer {
 h1 {
     font-size: 22px;
     margin-bottom: 5px;
-    color: #FFFFFF;
+    color: #666666;
+    border-top: 0.5px solid #585858;
 }
 h2 {
     margin-bottom: 5px;
-    font-size: 14px;
+    font-size: 18px;
     color: #666666;
 }
+table {
+    margin-bottom: 24px;
+    border-spacing: 0;
+    border-bottom: 2px solid #e42618;
+    border-top: 2px solid #d1d1d1;
+    max-width: 100%;
+    width: 100%
+}
+table th {
+    padding: 3px 10px;
+    background-color: white;
+    border-top: none;
+    border-left: none;
+    border-right: none;
+    border-bottom: 1px solid #d1d1d1;
+}
+table td {
+    padding: 3px 10px;
+    border-top: none;
+    border-left: none;
+    border-bottom: none;
+    border-right: none;
+}
+tr:nth-child(2n - 1) {
+    background-color: #f1f1f1;
+}
 a {
     width: 500px;
     height: 20px;
 }
+a:link {
+    text-decoration: none;
+    color: #004878
+}
+a:visited {
+    text-decoration: none;
+    color: #004878
+}
+a:hover {
+    text-decoration: underline;
+    color: #004878
+}
+a:active {
+    text-decoration: underline;
+    color: #004878
+}
 img {
     padding-left: 16px;
 }
-- 
GitLab