From adc2e69ac41b942f39f304108cfc9977b73ea8c4 Mon Sep 17 00:00:00 2001 From: fruitstaa Date: Sat, 27 Oct 2018 17:06:51 +0200 Subject: [PATCH] blabla --- css/main.css | 20 ++++++++++++++++---- css/reset.css | 2 +- index.html | 1 + js/table.js | 2 +- resources/world_data_v1.csv | 2 +- 5 files changed, 20 insertions(+), 7 deletions(-) diff --git a/css/main.css b/css/main.css index e429e88..0a4255d 100644 --- a/css/main.css +++ b/css/main.css @@ -1,5 +1,5 @@ /* Add a black background color to the top navigation */ -.topnav { +.topnav { background-image: linear-gradient(grey, lightgrey); overflow: hidden; } @@ -29,19 +29,26 @@ table#t01 { width: 100%; background-color: white; - text-align: center; + text-align: left; + margin: 2em; + vertical-align: middle; } table#t01 tr:nth-child(even) { - background-color: lightblue; + background-color: white; + height: 2em; + vertical-align: middle; } table#t01 tr:nth-child(odd) { - background-color: white; + background-color: lightgrey; + height: 2em; + } table#t01 th { padding: 15px; + background-color: white; } .boxed { @@ -49,4 +56,9 @@ table#t01 th { width: 80%; box-align: center; text-align: center; +} + +th { + text-align: left; + border-bottom: 3px solid lightgrey; } \ No newline at end of file diff --git a/css/reset.css b/css/reset.css index 87fcd76..31bd650 100644 --- a/css/reset.css +++ b/css/reset.css @@ -98,7 +98,7 @@ input[type="checkbox"] {vertical-align: bottom;} select, input, textarea {font: 99% sans-serif;} -table {font-size: inherit; font: 100%;} +table {font-size: inherit; font: 100%; text-align: 'left'} small {font-size: 85%;} diff --git a/index.html b/index.html index 21bf5cf..660dd6e 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,7 @@