From: Joey Schulze Date: Wed, 16 Dec 2015 16:28:32 +0000 (+0000) Subject: Improve layout and CSS X-Git-Url: https://git.infodrom.org/?p=infodrom.org%2Finfocon.infodrom.org;a=commitdiff_plain;h=5c692fd941257a81ce822a65db1739bf126c1c7d;hp=890dfaccc6b872998fa8495c92eb2afb51616875 Improve layout and CSS --- 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