Njw has submitted this change and it was merged.

Change subject: Ensure all related padding is reduced together when screen is 
too small
......................................................................


Ensure all related padding is reduced together when screen is too small

Also ensure top menu button doesn't have a bottom border

Change-Id: I791f78d8d16d8cadeb94814a677dc13167e80d56
---
M assets/erudite.css
M assets/erudite40em.css
M assets/erudite60em.css
3 files changed, 29 insertions(+), 7 deletions(-)

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



diff --git a/assets/erudite.css b/assets/erudite.css
index 6e21412..3ba1be4 100644
--- a/assets/erudite.css
+++ b/assets/erudite.css
@@ -260,7 +260,8 @@
        display: block;
        clear: both;
        text-align: right;
-       padding: 0.75em 3.75em;
+       padding-top: 0.75em;
+       padding-bottom: 0.75em;
        font-size: 0.75em;
 }
 
@@ -269,8 +270,16 @@
 }
 
 /* Content */
+#bodyContent,
+.message *,
+#footer {
+       padding-left: 3.75em;
+       padding-right: 3.75em;
+}
+
 #bodyContent {
-       padding: 1.5em 3.75em;
+       padding-top: 1.5em;
+       padding-bottom: 1.5em;
 }
 
 hr {
@@ -360,6 +369,7 @@
 /* Links that are obvious from their design surroundings */
 #catlinks a,
 #footer a,
+a#menubutton,
 #menu a,
 #top-wrap h1 a,
 .gallery a,
@@ -579,8 +589,9 @@
        border-width: thin;
 }
 
-.message p, .message div {
-       padding: 0 3.75em;
+.message * {
+       padding-top: 0;
+       padding-bottom: 0;
 }
 
 .message a:link,
diff --git a/assets/erudite40em.css b/assets/erudite40em.css
index 8e39b54..2fd3b83 100644
--- a/assets/erudite40em.css
+++ b/assets/erudite40em.css
@@ -1,6 +1,9 @@
 /* Reduce padding a bit further */
-#bodyContent {
-       padding: 1em 1em 0em;
+#bodyContent,
+.message *,
+#footer {
+       padding-left: 1em;
+       padding-right: 1em;
 }
 
 /* Stack footer columns */
diff --git a/assets/erudite60em.css b/assets/erudite60em.css
index b3a687b..41ec5ac 100644
--- a/assets/erudite60em.css
+++ b/assets/erudite60em.css
@@ -9,6 +9,14 @@
        border: 0;
 }
 
+#bodyContent,
+.message *,
+#footer {
+       padding-left: 2em;
+       padding-right: 2em;
+}
+
 #bodyContent {
-       padding: 1em 2em 0em;
+       padding-top: 1em;
+       padding-bottom: 0em;
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I791f78d8d16d8cadeb94814a677dc13167e80d56
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/erudite
Gerrit-Branch: master
Gerrit-Owner: Njw <nick.wh...@durham.ac.uk>
Gerrit-Reviewer: Njw <nick.wh...@durham.ac.uk>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to