Merge "Make some more css rules less specific (classes instead of ids)"

isekai
jenkins-bot 7 years ago committed by Gerrit Code Review
commit 2193f84068

@ -23,6 +23,8 @@ body {
} }
#mw-content-container { #mw-content-container {
background: @background2; background: @background2;
}
.mw-body {
word-wrap: break-word; word-wrap: break-word;
} }
#mw-footer-container { #mw-footer-container {
@ -450,7 +452,7 @@ ul {
.thumbborder { .thumbborder {
border: solid 1px @grey-bright; border: solid 1px @grey-bright;
} }
#mw-content li.gallerybox div.thumb { .mw-body li.gallerybox div.thumb {
.box; .box;
padding: 0; padding: 0;
} }
@ -473,7 +475,7 @@ ul#filetoc {
margin: 1em 0 0; margin: 1em 0 0;
list-style: none; list-style: none;
} }
#mw-content .toc h2 { .mw-body .toc h2 {
font-size: 1em; font-size: 1em;
font-family: @fonts; font-family: @fonts;
margin: 0; margin: 0;
@ -483,7 +485,7 @@ ul#filetoc {
.toctoggle { .toctoggle {
color: @background3; color: @background3;
} }
#toc li:last-child { .toc li:last-child {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.toclevel-1 { .toclevel-1 {
@ -493,14 +495,14 @@ ul#filetoc {
color: @grey-dark; color: @grey-dark;
} }
.mw-changeslist-legend, .mw-changeslist-legend,
#mw-content .mw-search-profile-tabs, .mw-body .mw-search-profile-tabs,
#mw-content fieldset#mw-searchoptions, .mw-body fieldset#mw-searchoptions,
table.wikitable { table.wikitable {
border: 0; border: 0;
color: @text; color: @text;
.box; .box;
} }
#mw-content .mw-search-profile-tabs { .mw-body .mw-search-profile-tabs {
padding: 0.5em; padding: 0.5em;
} }

@ -221,24 +221,22 @@ div.thumb {
margin: 0 auto 0.5em; margin: 0 auto 0.5em;
} }
#mw-content { .mw-body {
overflow: auto; overflow: auto;
border: 0; border: 0;
/* Keep images from overflowing */
a > img {
height: auto !important;
max-width: 100% !important;
}
} }
#mw-content-block { #mw-content-block {
background: @background; background: @background;
} }
/* Keep images from overflowing */
#mw-content a > img {
height: auto !important;
max-width: 100% !important;
}
/* Table of contents */ /* Table of contents */
#toc,
.toc, .toc,
.mw-warning { .mw-warning {
width: 100%; width: 100%;

Loading…
Cancel
Save