MediaWiki: Common.css: відмінності між версіями
Матеріал з apidocs
Немає опису редагування Мітка: Скасовано |
Немає опису редагування Мітка: Скасовано |
||
Рядок 10: | Рядок 10: | ||
} | } | ||
/* | /* Move Table of Contents (TOC) to the left */ | ||
#toc { | |||
float: left; /* Float it to the left */ | |||
margin-right: 20px; /* Space between TOC and content */ | |||
margin-bottom: 20px; /* Space below TOC */ | |||
width: 200px; /* Optional: set a width */ | |||
} | } | ||
/* Adjust main content to accommodate left TOC */ | |||
#content { | |||
margin-left: 220px; /* Should be slightly more than TOC width + margin */ | |||
} | } |
Версія за 07:43, 15 серпня 2025
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
/* Hide search form in the sidebar */
#p-search {
display: none !important;
}
/* Hide the search box in the Vector skin top-right */
#searchform {
display: none !important;
}
/* Move Table of Contents (TOC) to the left */
#toc {
float: left; /* Float it to the left */
margin-right: 20px; /* Space between TOC and content */
margin-bottom: 20px; /* Space below TOC */
width: 200px; /* Optional: set a width */
}
/* Adjust main content to accommodate left TOC */
#content {
margin-left: 220px; /* Should be slightly more than TOC width + margin */
}