Paladox has submitted this change and it was merged.

Change subject: Update Metrolook
......................................................................


Update Metrolook

Includes some changes and also localisation updates.

Change-Id: Ice119f918102ddbce0039bc2fa2eb99d2aa83ed6
---
M Metrolook.php
M README.md
M components/navigation.less
3 files changed, 48 insertions(+), 26 deletions(-)

Approvals:
  Paladox: Verified; Looks good to me, approved



diff --git a/Metrolook.php b/Metrolook.php
index 7395910..a46602a 100644
--- a/Metrolook.php
+++ b/Metrolook.php
@@ -25,7 +25,7 @@
        'path' => __FILE__,
        'name' => 'Metrolook',
        'descriptionmsg' => 'metrolook-desc',
-       'version' => '2.4.11',
+       'version' => '2.4.12',
        'url' => 'https://www.mediawiki.org/wiki/Skin:Metrolook',
        'author' => array( 'immewnity', 'paladox2015', 'Craig Davison', 
'lagleki' ),
        'license-name' => 'GPLv2+',
diff --git a/README.md b/README.md
index 1fa3cec..92c351a 100644
--- a/README.md
+++ b/README.md
@@ -187,24 +187,34 @@
 /* Top Bar colour and hover colour start */
 
 #mw-page-base {
-        height: 2.5em;
-        background-color: dodgerBlue;
-        background-position: bottom left;
-        background-repeat: repeat-x;
-        /* This image is only a fallback (for IE 6-9), so we do not @embed it. 
*/
-        background-image: url('images/page-fade.png');
-        min-width: auto;
+    height: 2.5em;
+    background-color: dodgerBlue;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    min-width: auto;
 }
-
-@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) {
+@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) and (orientation : portrait) {
 #mw-page-base {
-        height: 2.5em;
-        background-color: dodgerBlue;
-        background-position: bottom left;
-        background-repeat: repeat-x;
-        /* This image is only a fallback (for IE 6-9), so we do not @embed it. 
*/
-        background-image: url('images/page-fade.png');
-        min-width:65em;
+    height: 2.5em;
+    background-color: dodgerBlue;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    min-width:65em;
+}
+}
+@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) and (orientation : landscape) {
+#mw-page-base {
+    height: 2.5em;
+    background-color: dodgerBlue;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    min-width:65em;
 }
 }
 
diff --git a/components/navigation.less b/components/navigation.less
index 65a2fd0..2ec6916 100644
--- a/components/navigation.less
+++ b/components/navigation.less
@@ -21,16 +21,28 @@
     .vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
     min-width: auto;
 }
-@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) {
+@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) and (orientation : portrait) {
 #mw-page-base {
-       height: 2.5em;
-       background-color: #CF8B54;
-       background-position: bottom left;
-       background-repeat: repeat-x;
-       /* This image is only a fallback (for IE 6-9), so we do not @embed it. 
*/
-       background-image: url('images/page-fade.png');
-       .vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
-       min-width:65em;
+    height: 2.5em;
+    background-color: #CF8B54;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    .vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
+    min-width:65em;
+}
+}
+@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) and (orientation : landscape) {
+#mw-page-base {
+    height: 2.5em;
+    background-color: #CF8B54;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    .vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
+    min-width:65em;
 }
 }
 #mw-head-base {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ice119f918102ddbce0039bc2fa2eb99d2aa83ed6
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/skins/Metrolook
Gerrit-Branch: REL1_24
Gerrit-Owner: Paladox <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to