MediaWiki:Common.css: различия между версиями
Внешний вид
User (обсуждение | вклад) Скрываем вкладку "Начало" |
User (обсуждение | вклад) Нет описания правки |
||
Строка 30: | Строка 30: | ||
/* Скрываем вкладку "Начало" */ | /* Скрываем вкладку "Начало" */ | ||
li#ca-nstab-main { | li#ca-nstab-main { | ||
display: none !important; | |||
} | |||
/* Скрыть таблицу содержания */ | |||
#toc { | |||
display: none !important; | display: none !important; | ||
} | } |
Версия от 10:04, 10 марта 2025
/* CSS placed here will be applied to all skins */ /* Скрываем кнопку обсуждений на главной странице */ body.page-Главная_страница #ca-talk, body.page-Main_Page #ca-talk { display: none !important; } /* Скрываем блок помощи "n-help-mediawiki" */ #n-help-mediawiki { display: none !important; } /* Скрываем блок "footer-icons" (иконки внизу) */ #footer-icons { display: none !important; } .main-block { border: 2px solid #ccc; padding: 20px; background-color: #f9f9f9; margin: 20px auto; max-width: 800px; text-align: center; box-shadow: 0 0 10px rgba(0,0,0,0.1); border-radius: 8px; } /* Скрываем вкладку "Начало" */ li#ca-nstab-main { display: none !important; } /* Скрыть таблицу содержания */ #toc { display: none !important; }