From 5c692fd941257a81ce822a65db1739bf126c1c7d Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Wed, 16 Dec 2015 16:28:32 +0000 Subject: [PATCH] Improve layout and CSS --- class/teachings.class.php | 7 +++++-- src/infocon.css | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/class/teachings.class.php b/class/teachings.class.php index faa9372..ee74be5 100644 --- a/class/teachings.class.php +++ b/class/teachings.class.php @@ -1,6 +1,6 @@ /teachings.txt'); +define('TEACHINGS', $_SERVER['DOCUMENT_ROOT'] . '/teachings.txt'); class Teachings { private static $instance = false; @@ -62,13 +62,16 @@ class Teachings { if (strlen($html)) { $html = '' + . '' . '' . '' . '' . '' . '' - . '' + . '' + . '' . $html + . '' . '
DatumBeschreibungLink
'; } return $html; diff --git a/src/infocon.css b/src/infocon.css index 5faa86f..57998db 100644 --- a/src/infocon.css +++ b/src/infocon.css @@ -186,6 +186,17 @@ html>body div.vmenu ul li a { width: auto; } +table.teachings { + font-size: inherit; + border: 1px solid #aaa; +} +table.teachings tbody tr:nth-child(even) { + background: #d0d0d0; +} +table.teachings tbody tr:nth-child(odd) { + background: #eeeeee; +} + /* * Local variables: * mode: indented-text -- 2.20.1