Procházet zdrojové kódy

Adds some styling for tables

Caleb Fangmeier před 4 roky
rodič
revize
6aa3983de2
1 změnil soubory, kde provedl 18 přidání a 0 odebrání
  1. 18 0
      static/css/custom.css

+ 18 - 0
static/css/custom.css

@@ -15,3 +15,21 @@ figure img {
   position: absolute;
   left: 5px;
 }
+
+/* Styling of tables */
+
+
+table {
+  border-collapse: collapse;
+}
+
+table, th, td {
+  border: 1px solid black;
+}
+
+th {
+  background-color: #4CAF50;
+  color: white;
+}
+
+tr:nth-child(even) {background-color: #f2f2f2;}