mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-12-01 01:16:35 +00:00
b4d359d250
This avoids a FOUC on loading. For overwriting the wikitable styles a higher specificity is needed to not depend on the order of loading. The dependency to module 'jquery.makeCollapsible' is not necessary because this module is loaded automatically. Change-Id: Icc1ec927a89df5cf8c847ab5cb77d81f2651be49
55 lines
1 KiB
CSS
55 lines
1 KiB
CSS
/**
|
|
* CSS for Special:Interwiki
|
|
*/
|
|
table.mw-interwikitable {
|
|
width: 100%;
|
|
}
|
|
|
|
table.mw-interwikitable.intro th {
|
|
padding-right: 1.4ex;
|
|
vertical-align: top;
|
|
}
|
|
|
|
table.mw-interwikitable.intro th.mw-align-start {
|
|
text-align: left;
|
|
}
|
|
|
|
table.mw-interwikitable.intro th.mw-align-end {
|
|
text-align: right;
|
|
}
|
|
|
|
table.mw-interwikitable.body td.mw-interwikitable-local,
|
|
table.mw-interwikitable.body td.mw-interwikitable-trans,
|
|
table.mw-interwikitable.body td.mw-interwikitable-modify {
|
|
text-align: center;
|
|
}
|
|
|
|
table.mw-interwikitable.body td.mw-interwikitable-local-yes {
|
|
background: #d5fdf4;
|
|
}
|
|
|
|
/* It's safe enough to assume that URLs are usually LTR. */
|
|
/* @noflip */
|
|
.mw-interwikitable-url,
|
|
input#mw-interwiki-url {
|
|
text-align: left;
|
|
direction: ltr;
|
|
}
|
|
|
|
.mw-interwikitable-modify {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mw-interwiki-legend .mw-collapsible-toggle {
|
|
font-weight: normal;
|
|
}
|
|
|
|
/* Selector with higher specifity than wikitable */
|
|
table.wikitable.mw-interwiki-legend {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.mw-collapsible-content {
|
|
clear: both;
|
|
}
|