diff --git a/aufgabe2/css/main.css b/aufgabe2/css/main.css index 5968bbb..52683f4 100644 --- a/aufgabe2/css/main.css +++ b/aufgabe2/css/main.css @@ -148,11 +148,11 @@ h1 { margin-bottom: 15px; vertical-align: middle; width: 100%; - overflow-x: scroll; + overflow: hidden; } .world_table { - width: 100% + width: 100%; } .world_table tr:nth-child(odd) { @@ -162,6 +162,7 @@ h1 { .world_table th { background-color: #fff; white-space: nowrap; /* kein umbruch bei schmaler ansicht */ + padding-right: 1em; } .world_table th:hover { @@ -173,12 +174,15 @@ h1 { color: lightgreen; } -.world_table th td { +.world_table td { line-height: 1em; padding: 11px 0; font-size: 14px; /* same as section */ + white-space: nowrap; + padding-right: 1em; } +/* @media only screen and (max-width: 700px) { .world_table>tbody>tr>td, .world_table>tbody>tr>th, @@ -191,8 +195,8 @@ h1 { display: none; } } +*/ -/* @media only screen and (max-width: 1200px) { .world_table th:nth-child(n+7), .world_table td:nth-child(n+7) { display: none; @@ -208,7 +212,6 @@ h1 { display: none; } } -*/ .boxed { border: 1px solid green; diff --git a/aufgabe2/index.php b/aufgabe2/index.php index eeceac1..5e18b92 100644 --- a/aufgabe2/index.php +++ b/aufgabe2/index.php @@ -72,7 +72,7 @@ error_reporting(E_ALL); -
+