diff --git a/public/styles/table.css b/public/styles/table.css new file mode 100644 index 0000000..cacbfb5 --- /dev/null +++ b/public/styles/table.css @@ -0,0 +1,27 @@ +table { + width: 100%; + text-align: center; + border-collapse: collapse; +} + +thead td { + background-color: var(--primary-light); + color: var(--secondary); + font-weight: bold; + font-size: 1.5em; +} + +tbody tr:nth-child(even) { + background-color: var(--light); +} + +tbody tr { + background-color: white; +} + +tbody td { + padding: 0.25em; + color: var(--dark); + font-weight: bold; + font-size: 1em; +} \ No newline at end of file diff --git a/templates/_includes/html/base.html.twig b/templates/_includes/html/base.html.twig index 8778e6d..680277c 100644 --- a/templates/_includes/html/base.html.twig +++ b/templates/_includes/html/base.html.twig @@ -8,6 +8,7 @@ baseUrl~"styles/colors.css", baseUrl~"styles/main.css", baseUrl~"styles/nav.css", + baseUrl~"styles/table.css", ]|merge(styles|default([])) %} {% set scripts=[