Pārlūkot izejas kodu

Adds some styling for tables

Caleb Fangmeier 4 gadi atpakaļ
vecāks
revīzija
6aa3983de2
1 mainītis faili ar 18 papildinājumiem un 0 dzēšanām
  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;}