18+
MediaWiki:Mobile.css — различия между версиями
ГСБ (обсуждение | вклад) (Новая страница: «→CSS placed here will affect users of the mobile site: .pre-content {visibility: none }») |
м (Откат правок Andris Rubenis (обсуждение) к версии ГСБ) |
||
| (не показано 11 промежуточных версий 2 участников) | |||
| Строка 1: | Строка 1: | ||
/* CSS placed here will affect users of the mobile site */ | /* CSS placed here will affect users of the mobile site */ | ||
| − | .pre-content { | + | .arcticmodal-overlay, |
| + | .arcticmodal-container { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000; } | ||
| + | .arcticmodal-container { overflow: auto; margin: 0; padding: 0; border: 0; border-collapse: collapse; } | ||
| + | *:first-child+html .arcticmodal-container { height: 100% } | ||
| + | .arcticmodal-container_i { height: 100%; margin: 0 auto; } | ||
| + | .arcticmodal-container_i2 { padding: 24px; margin: 0; border: 0; vertical-align: middle; } | ||
| + | .arcticmodal-error { padding: 20px; border-radius: 10px; background: #000; color: #fff; } | ||
| + | .arcticmodal-loading { width: 80px; height: 80px; border-radius: 10px; background: #000 url(loading.gif) no-repeat 50% 50%; } | ||
| + | .box-modal { | ||
| + | position: relative; | ||
| + | width: 250px; | ||
| + | padding: 16px; | ||
| + | background: #fff; | ||
| + | color: #3c3c3c; | ||
| + | font: 14px/18px Arial, "Helvetica CY", "Nimbus Sans L", sans-serif; | ||
| + | box-shadow: 0 0 0 6px rgba(153, 153, 153, .3); | ||
| + | border-radius: 6px; | ||
| + | } | ||
| + | .box-modal_close { position: absolute; right: 10px; top: 6px; font-size: 11px; line-height: 15px; color: #999; cursor: pointer; } | ||
| + | .box-modal_close:hover { color: #666; } | ||
| + | |||
| + | /* Чтобы это заработало пришлось править исходники мобильного скина, не пытайтесь использовать на стоке. */ | ||
| + | |||
| + | /* Убирает заголовок заглавной */ | ||
| + | .pre-content-mainpage-section_0 { display: none } | ||
| + | |||
| + | /* Убирает панель инструментов с заглавной. */ | ||
| + | .mainpage-hlist { display: none } | ||
Текущая версия на 10:37, 18 апреля 2019
/* CSS placed here will affect users of the mobile site */
.arcticmodal-overlay,
.arcticmodal-container { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000; }
.arcticmodal-container { overflow: auto; margin: 0; padding: 0; border: 0; border-collapse: collapse; }
*:first-child+html .arcticmodal-container { height: 100% }
.arcticmodal-container_i { height: 100%; margin: 0 auto; }
.arcticmodal-container_i2 { padding: 24px; margin: 0; border: 0; vertical-align: middle; }
.arcticmodal-error { padding: 20px; border-radius: 10px; background: #000; color: #fff; }
.arcticmodal-loading { width: 80px; height: 80px; border-radius: 10px; background: #000 url(loading.gif) no-repeat 50% 50%; }
.box-modal {
position: relative;
width: 250px;
padding: 16px;
background: #fff;
color: #3c3c3c;
font: 14px/18px Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
box-shadow: 0 0 0 6px rgba(153, 153, 153, .3);
border-radius: 6px;
}
.box-modal_close { position: absolute; right: 10px; top: 6px; font-size: 11px; line-height: 15px; color: #999; cursor: pointer; }
.box-modal_close:hover { color: #666; }
/* Чтобы это заработало пришлось править исходники мобильного скина, не пытайтесь использовать на стоке. */
/* Убирает заголовок заглавной */
.pre-content-mainpage-section_0 { display: none }
/* Убирает панель инструментов с заглавной. */
.mainpage-hlist { display: none }