diff --git a/webroot/css/widget.css b/webroot/css/widget.css index b74edcb8fb04952ab036b93d9c63e694e66191bf..20a47b81a3ff90000e43ab9ee7077d74569b5eb8 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 17d2bda130869d40bd10733c8d2e3885529e9a39..44c61ec124b5834e84bb972065b4a855139538d0 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>"); }