Dr0ptp4kt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/150698

Change subject: Make the zerodot landing page occupy the viewport width.
......................................................................

Make the zerodot landing page occupy the viewport width.

Change-Id: I88999f39eeab4ae041037246ce1d036b16924fff
---
M includes/ZeroSpecialPage.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroBanner 
refs/changes/98/150698/1

diff --git a/includes/ZeroSpecialPage.php b/includes/ZeroSpecialPage.php
index 516b905..aa6336a 100644
--- a/includes/ZeroSpecialPage.php
+++ b/includes/ZeroSpecialPage.php
@@ -218,8 +218,10 @@
                $output = Html::htmlHeader( array( 'lang' => $lang, 'dir' => 
$dir ) );
                $output .= Html::openElement( 'head' );
                $output .= Html::element( 'meta', array( 'charset' =>'UTF-8' ) 
);
+               $output .= Html::element( 'meta', array( 'name' => 'viewport',
+                       'content' 
=>'width=device-width,target-densitydpi=device-dpi,initial-scale=1.0' ) );
                $output .= Html::element( 'title', null, $wgSitename );
-               $output .= Html::element( 'style', null, 
'body{text-align:center} #center{width:200px;margin:0 auto} hr{width:100%} 
p,small {font-family:Tahoma,sans-serif}' );
+               $output .= Html::element( 'style', null, 
'body{text-align:center} #center{width:100%;margin:0 auto} 
hr{width:80%;height:1px} p,small {font-family:Tahoma,sans-serif}' );
                $output .= Html::element( 'link', array( 'rel' => 'shortcut 
icon', 'href' => '#' ) );
                $output .= Html::closeElement( 'head' );
                $output .= Html::openElement( 'body', array( 'onLoad' => 
'document.searchform.search.focus();' ) );

-- 
To view, visit https://gerrit.wikimedia.org/r/150698
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I88999f39eeab4ae041037246ce1d036b16924fff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroBanner
Gerrit-Branch: master
Gerrit-Owner: Dr0ptp4kt <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to