Przeglądaj źródła

Improve docs styling

Matt 4 lat temu
rodzic
commit
1c6fdea27f
1 zmienionych plików z 11 dodań i 1 usunięć
  1. 11 1
      docs/extra.css

+ 11 - 1
docs/extra.css

@@ -11,9 +11,19 @@ table {
     width: 100%;
     width: 100%;
 }
 }
 th {
 th {
-    background-color: #f0f0f0;
     padding: 6px;
     padding: 6px;
+    font-weight: bold;
 }
 }
 td {
 td {
     padding: 6px;
     padding: 6px;
 }
 }
+/* Remove table header coloring.  */
+.md-typeset table:not([class]) th {
+    color: unset !important;
+    background-color: unset !important;
+}
+thead tr {
+    /* Colorize table headers. */
+    background-color: var(--md-code-bg-color);
+    color: var(--md-code-fg-color);
+}