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

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

Loading…
Cancel
Save