\r
$wgHooks['ParserFirstCallInit'][] = 'efSetupHomepageWMES';\r
$wgResourceModules['ext.homepage-wmes'] = array(\r
- 'scripts' => 'home.js',\r
+ 'scripts' => 'js/home.js',\r
+ 'styles' => 'style.css',\r
'dependencies' => 'jquery',\r
- 'localBasePath' => dirname( __FILE__ ) . '/js',\r
- 'remoteExtPath' => 'HomePageWMES/js'\r
+ 'localBasePath' => dirname( __FILE__ ),\r
+ 'remoteExtPath' => 'HomePageWMES'\r
);\r
\r
function efSetupHomepageWMES(&$parser) {\r
\r
\r
function efHookHomepageWMES( $input, array $args, Parser $parser, PPFrame $frame ) {\r
-// $parser->getOutput()->addInlineStyle('h1 { display: none }'); // FIXME\r
$parser->getOutput()->addModules( 'ext.homepage-wmes' );\r
\r
$html = \r
--- /dev/null
+/* =Home
+ * ------------------------------------------------------------*/
+.content_landingbox a{
+ color: black;
+ text-decoration: none;
+}
+
+.landingbox{
+ background-position: left top;
+}
+
+.landingbox_title{
+ font-size: 180%;
+ font-weight: bold;
+ margin: 7px 0 0 15px;
+ padding-top: 10px;
+}
+
+.landingbox_body{
+ margin: 5px 0 0 25px ;
+}
+.landingbox_more{
+ background-position: left top;
+ height: 33px;
+ width: 98px;
+ float: right;
+ margin: 40px 10px 0 0;
+}
+
+.landingbox_more p{
+ font-size: 150%;
+ font-weight: bold;
+ margin: 0px 0 0 40px;
+ padding-top: 2px;
+}
+
+.actividades_box{
+ background-position: left top;
+}
+
+.actividades_box .landingbox_more{
+ background: url(http://blog.wikimedia-es.org/wp-content/themes/wmes-theme/images/home/more_blue.png) repeat 100% 100%;
+ color: white;
+}
+
+.actividades_box .landingbox_more a{
+ color: white;
+}
+.participa_box{
+ color: white;
+}
+
+.participa_box .landingbox_more{
+ background: url(http://blog.wikimedia-es.org/wp-content/themes/wmes-theme/images/home/more_whiteoverred.png) repeat 100% 100%;
+ color: #900;
+}
+.participa_box .landingbox_more a{
+ color: #900;
+}
+
+.participa_box a{
+ color: white;
+ text-decoration: none;
+}
+
+.donar_box .landingbox_more{
+ background: url(http://blog.wikimedia-es.org/wp-content/themes/wmes-theme/images/home/more_green.png) repeat 100% 100%;
+ color: white;
+}
+
+.donar_box .landingbox_more a{
+ color: white;
+}
+
+.prensa_box .landingbox_more{
+ background: url(http://blog.wikimedia-es.org/wp-content/themes/wmes-theme/images/home/more_gray.png) repeat 100% 100%;
+ color: white;
+}
+
+.prensa_box .landingbox_more a{
+ color: white;
+}
+.prensa_box .landingbox_body{
+ margin: -25px 0 0 220px ;
+}
+
+.prensa_box .landingbox_more{
+ float: right;
+ margin: -10px 10px 0 0;
+}
+
+.mainbox {
+ background-color: #2c2c2c;
+ color: white;
+ height: 330px;
+ -moz-border-radius: 10px;
+ -webkit-border-radius: 10px;
+ -khtml-border-radius: 10px;
+ border-radius: 10px;
+}
+
+.mainbox ul{
+ list-style:none;
+ margin: 0;
+ padding: 0;
+
+}
+
+.slideshow-img {
+ margin: 12px 0;
+}
+.slideshow-top p{
+ font-weight: bold;
+ font-size: 160%;
+ margin: 7px 0px 0px 15px;
+ white-space: nowrap;
+}
+
+.mainbox-show .mainbox_more{
+ color: white;
+ width: 180px;
+ float:right;
+ margin: -15px 0 10px 0;
+}
+
+.mainbox-show a{
+ color: #fff;
+ text-decoration: none;
+}
+.mainbox-show .mainbox_more a{
+ font-size: 180%;
+}
+
+.mainbox_more span{
+ padding-bottom: 3px;
+}
+
+img { border: none; }
+
+a.whitelink:hover {
+ color: #fff;
+}
+
+h1 {
+ display: none;
+}
+