Adjust a bunch of padding, especially mobile

bug: T197057
bug: T182389
Change-Id: I0fbbc037f32cd69375be9e0224967275a8fd9949
isekai
Isarra 6 years ago
parent e1f5fddb65
commit 93e0ea991b

@ -89,7 +89,7 @@
#personal-extra { #personal-extra {
position: absolute; position: absolute;
top: 0.9em; top: 0.9em;
right: 11.75em; right: 8.75em;
li { li {
margin-right: 1.25em; margin-right: 1.25em;

@ -13,7 +13,7 @@ body {
color: @text; color: @text;
background: @background-dark; background: @background-dark;
font-size: @font-size; font-size: @font-size;
line-height: 1.4; line-height: 1.5;
} }
#mw-content { #mw-content {
@ -497,7 +497,7 @@ pre {
} }
p { p {
margin: 0.9em 0 0.8em; margin: 1em 0;
} }
ul { ul {

@ -1,5 +1,8 @@
@import 'variables.less'; @import 'variables.less';
// Override default here because mobile narrow
@content-padding: 0.45em;
/* Layout */ /* Layout */
#mw-footer { #mw-footer {
@ -118,7 +121,7 @@
} }
#user-tools h2 { #user-tools h2 {
right: @content-padding + 0.5em; right: @content-padding + 0.75em;
.background-image-svg( 'images/user-large-grey.svg', 'images/user-large-grey.png' ); .background-image-svg( 'images/user-large-grey.svg', 'images/user-large-grey.png' );
} }
@ -135,7 +138,7 @@
} }
#site-tools h2 { #site-tools h2 {
right: 7em; right: @content-padding + 4.5em;
.background-image-svg( 'images/gear-large-grey.svg', 'images/gear-large-grey.png' ); .background-image-svg( 'images/gear-large-grey.svg', 'images/gear-large-grey.png' );
} }
@ -144,7 +147,7 @@
#p-logo-text { #p-logo-text {
position: absolute; position: absolute;
top: 0.75em; top: 0.75em;
left: 6em; left: @content-padding + 4em;
text-align: left; text-align: left;
a { a {
@ -264,6 +267,10 @@ div.thumb {
} }
} }
#mw-content {
padding: @content-padding;
}
#mw-content-block { #mw-content-block {
background: @background; background: @background;
} }

Loading…
Cancel
Save