Procházet zdrojové kódy

:beetle: Fix broken tables

Classes can't be applied on native elements from markdown.

So classes need to be replaced by native elements.
DricomDragon před 2 roky
rodič
revize
666a4c8e0c
1 změnil soubory, kde provedl 26 přidání a 0 odebrání
  1. 26 0
      web/include/css/custom/main.css

+ 26 - 0
web/include/css/custom/main.css

@@ -104,3 +104,29 @@ main a {
 .footer a {
     color: #1c7430;
 }
+
+/* Bootstrap class to element */
+/* In order to be working with as few classes as possible */
+table {
+    border-collapse: collapse;
+    width: 100%;
+    margin-bottom: 1rem;
+    background-color: transparent;
+}
+
+table th,
+table td {
+    padding: 0.75rem;
+    vertical-align: top;
+    border-top: 1px solid #dee2e6;
+}
+
+table thead th {
+    vertical-align: bottom;
+    border-bottom: 2px solid #dee2e6;
+}
+
+table tbody + tbody {
+    border-top: 2px solid #dee2e6;
+}
+