diff --git a/webroot/css/marvin.css b/webroot/css/marvin.css new file mode 100644 index 0000000000000000000000000000000000000000..427ed5b298928ba32188946c5bfffde5c4023ff6 --- /dev/null +++ b/webroot/css/marvin.css @@ -0,0 +1,6 @@ +body +{ + background-color:#261C13; + font-family:Lucida Grande, Lucida Sans Unicode, Calibri, Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; + font-size:15pt; +} diff --git a/webroot/css/widget.css b/webroot/css/widget.css index bad45fafaf46e87e0579f896b81b5e962ffcca96..30d6cc11c2ba6a6dd7d27a8a6fca13562227807f 100644 --- a/webroot/css/widget.css +++ b/webroot/css/widget.css @@ -1,69 +1,4 @@ -body { background-color:#261C13; } - -li { - overflow-x: hidden; - overflow-y: auto; - padding: 0.5em; -} -a,a:hover,a:visited,a:active { - text-decoration:none; - font-family: inherit; - font-size: 1em; - font-style: normal; - color: #aaaaaa; -} -img { vertical-align: middle; } - -/*.tweet, .query { - color: #085258; - font-family: Georgia,serif; - font-size: 120%; -} -.tweet_list { - background-color: #8ADEE2; - list-style-type: none; - margin: 0; - padding: 0; -} -.tweet_even { - background-color: #91E5E7; -} -.tweet_avatar { - float: left; - padding-right: 0.5em; -}*/ - -/* widget */ .widget, .widget td, .widget div { - font-family:Lucida Grande, Lucida Sans Unicode, Calibri, Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-size:16pt; - color:#000000; -} - -/* widget_light */ -.widget_light { - border: 1px solid #F2EFE5; - background-color:#75695E; - font-family:Lucida Grande, Lucida Sans Unicode, Calibri, Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-size:16pt; - color:#000000; -} -.widget_light td, .widget_light div { - font-family:Lucida Grande, Lucida Sans Unicode, Calibri, Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-size:16pt; + font-family: inherit; color:#000000; } - -/* widget_dark */ -.widget_dark { - border: 1px dashed #75695E; - background-color:#362C23; - font-family:Lucida Grande, Lucida Sans Unicode, Calibri, Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-size:16pt; - color:#ffffff; -} -.widget_dark td, .widget_dark div { - font-family:Lucida Grande, Lucida Sans Unicode, Calibri, Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati; - font-size:16pt; - color:#ffffff; -} diff --git a/webroot/css/widget_dark.css b/webroot/css/widget_dark.css new file mode 100644 index 0000000000000000000000000000000000000000..032f046589863bfa4452f4e2e1295211965e14c3 --- /dev/null +++ b/webroot/css/widget_dark.css @@ -0,0 +1,17 @@ +.widget_dark { + border: 1px dashed #75695E; + background-color:#362C23; + font-family: inherit; + color:#ffffff; +} +.widget_dark td, .widget_dark div { + font-family: inherit; + color:#ffffff; +} +.widget_dark a, .widget_dark a:hover, .widget_dark a:visited, .widget_dark a:active { + text-decoration:none; + font-family: inherit; + font-size: 1em; + font-style: normal; + color: #aaaaaa; +} diff --git a/webroot/css/widget_light.css b/webroot/css/widget_light.css new file mode 100644 index 0000000000000000000000000000000000000000..0436fb0ba5c25ddcc4a9026e5a2cf4cbf66a8483 --- /dev/null +++ b/webroot/css/widget_light.css @@ -0,0 +1,44 @@ +.widget_light { + border: 1px solid #F2EFE5; + background-color:#75695E; + font-family: inherit; + color:#000000; +} +.widget_light td, .widget_light div { + font-family: inherit; + color:#000000; +} +.widget_light h1 { + margin: 10; + padding: 0; + font-family: inherit; + font-size: 1.0em; +} +.widget_light ul { + background-color:#95897E; + margin: 10; + padding: 0; + list-style: none; + border-top: 1px dashed #F2EFE5; +} +.widget_light li { + background-color:#95897E; + float: left; + border-bottom: 1px dashed #F2EFE5; + border-left: 1px dashed #F2EFE5; + border-right: 1px dashed #F2EFE5; +} +.widget_light li img { + padding: 4; +} +.widget_light a, .widget_light a:hover, .widget_light a:visited, .widget_light a:active { + text-decoration:none; + font-family: inherit; + font-size: 1em; + font-style: normal; + color: #333333; +} +.widget_light img +{ + float:left; +} diff --git a/webroot/index.php b/webroot/index.php index cb192f045f98ed544fa19f6f2ef1d9b55f4d579b..f42c3854409cf0444f25751f115d24795a001c7e 100644 --- a/webroot/index.php +++ b/webroot/index.php @@ -1,6 +1,9 @@ <head> <title>Warpzone's Marvin</title> + <link rel="stylesheet" type="text/css" href="css/marvin.css" /> <link rel="stylesheet" type="text/css" href="css/widget.css" /> + <link rel="stylesheet" type="text/css" href="css/widget_light.css" /> + <link rel="stylesheet" type="text/css" href="css/widget_dark.css" /> <script src="js/jquery-1.4.4.js" type="text/javascript"></script> <script src="js/marvin.js" type="text/javascript"></script> </head> diff --git a/webroot/widgets/TwitterWall/TwitterWall.php b/webroot/widgets/TwitterWall/TwitterWall.php index 73de2798d9ca08010da6c52b4565ac050876c117..20f0ebc4c9cf06119fb0f428adfa6f1cb90834f5 100644 --- a/webroot/widgets/TwitterWall/TwitterWall.php +++ b/webroot/widgets/TwitterWall/TwitterWall.php @@ -12,7 +12,8 @@ class TwitterWall implements iWidget public function giveOutput() { - $widgetOutput = ' + $widgetOutput = '<h1>#warpzone on Twitter:</h1>'."\n"; + $widgetOutput .= ' <script src="widgets/TwitterWall/jquery.tweet.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){