MediaWiki:Mobile.css

Материал из Enduro.team
Перейти к: навигация, поиск
/**
You are editing the global CSS file for all mobile site users.
With Great Power Comes Great Responsibility.

Some words of caution:
* Avoid any changes which impact layout on a mobile device.
** Please be careful not to introduce any margin/padding rules. These should be done inside the template itself via an inline style.
** Be especially cautious when a template is likely to be used within the top 480px of the screen (the content that the user will see first on a mobile device)
* Do not use display:none. Instead edit the template and markup the element you want to hide with the "nomobile" class.
* Try to keep rules as generic and minimal as possible. Do not have 2 selectors doing the same thing. Introduce a common class and use that instead
* Group common CSS rules together where possible.
*/


/* Mobile template hacks (see phab T56176) If you are looking for the following, please update your template to use TemplateStyles: */
.mobile-float-reset {
	float: none !important;
	width: 100% !important;
}