From 3c85d7733dea3c0007af5c39b02e24719a9d980f Mon Sep 17 00:00:00 2001 From: ands <ands@andspad.(none)> Date: Sun, 5 Dec 2010 00:20:22 +0100 Subject: [PATCH] css erweitert --- webroot/css/widget.css | 12 +++++++++++- webroot/index.php | 10 +++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/webroot/css/widget.css b/webroot/css/widget.css index b74edcb..20a47b8 100644 --- a/webroot/css/widget.css +++ b/webroot/css/widget.css @@ -1,4 +1,14 @@ .widget { - border: solid 1px #000000; + border: 1px solid #F2EFE5; + font-family:Verdana; + color:#ffffff; + background-color:#261C13; +} + +a { + color:#0071BB; +} +a:hover { + color:#777878; } diff --git a/webroot/index.php b/webroot/index.php index 17d2bda..44c61ec 100644 --- a/webroot/index.php +++ b/webroot/index.php @@ -22,15 +22,15 @@ include "widgets/$widgetname/$widgetname.php"; $widget = new $widgetname($widgetwidth,$widgetheight); $widgetoutput = $widget->giveOutput(); - print("<div + print( + "<div class='widget' id='$widgetname' style=' position:absolute; - left:$widgetpositionx px; top:$widgetpositiony px; - width:$widgetwidth px; height:$widgetheight px;' - width='$widgetwidth' - height='$widgetheight'>"); + left:".$widgetpositionx."px; top:".$widgetpositiony."px; + width:".$widgetwidth."px; height:".$widgetheight."px;' + >"); print($widgetoutput); print("</div>"); } -- GitLab