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

Change-Id: Icc86a9a48ff9bd3b1236e9f05851c9e23208c15b
isekai
Isarra 7 years ago
parent 279ded1b51
commit a089f68290

@ -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 {
@ -441,7 +443,7 @@ ul {
.thumbinner .thumbimage { .thumbinner .thumbimage {
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;
} }
@ -464,7 +466,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;
@ -474,21 +476,21 @@ 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 {
margin-bottom: 0.25em; margin-bottom: 0.25em;
} }
.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