| 1 |
/** |
| 2 |
* MediaWiki style sheet for common core styles on interfaces |
| 3 |
* |
| 4 |
* Styles for the Monobook/Vector pattern of laying out common interfaces. |
| 5 |
* These ids/classes are not built into the system, |
| 6 |
* they are outputted by the actual MonoBook/Vector code by convention. |
| 7 |
*/ |
| 8 |
|
| 9 |
/* stylelint-disable selector-class-pattern */ |
| 10 |
/** |
| 11 |
* Hide empty portlets. Controlled by mw.util.(show|hide)Portlet. |
| 12 |
* |
| 13 |
* Note: Historically this class was provided by the skins themselves but in |
| 14 |
* I2ba68122fd82a254a5ad0e45157f095508f6fa39 was moved into core to formalize |
| 15 |
* the behaviour of hidden portlets. |
| 16 |
*/ |
| 17 |
.emptyPortlet { |
| 18 |
display: none; |
| 19 |
} |
| 20 |
|
| 21 |
.printfooter, |
| 22 |
/* Hide links which require JavaScript to work */ |
| 23 |
.client-nojs #t-print { |
| 24 |
display: none; /* T167956 */ |
| 25 |
} |
| 26 |
|
| 27 |
// The noresize class is @stable for use by editors to mark large content that should not |
| 28 |
// be subject to responsive styling. When the class is used, the image or table will gain a |
| 29 |
// horizontal scrollbar if it is larger than the viewport. This is primarily for tables |
| 30 |
// but also be applied to images in certain contexts. |
| 31 |
.noresize { |
| 32 |
max-width: 100%; |
| 33 |
overflow-x: auto; |
| 34 |
} |