MediaWiki: Common.css: відмінності між версіями
Матеріал з apidocs
Немає опису редагування Мітка: Ручний відкіт |
Немає опису редагування Мітка: Скасовано |
||
Рядок 8: | Рядок 8: | ||
#searchform { | #searchform { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Make body container relative for absolute TOC */ | |||
.mw-body { | |||
position: relative; | |||
} | |||
/* Move TOC to the left side */ | |||
#tweekiTOC { | |||
position: absolute !important; /* override Tweeki floats/flex */ | |||
left: 0; | |||
top: 50px; /* adjust as needed */ | |||
width: 220px; | |||
z-index: 999; | |||
} | |||
/* Push article content to the right to avoid overlap */ | |||
.mw-parser-output { | |||
margin-left: 240px; /* slightly more than TOC width */ | |||
} | } |
Версія за 07:55, 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;
}
/* Make body container relative for absolute TOC */
.mw-body {
position: relative;
}
/* Move TOC to the left side */
#tweekiTOC {
position: absolute !important; /* override Tweeki floats/flex */
left: 0;
top: 50px; /* adjust as needed */
width: 220px;
z-index: 999;
}
/* Push article content to the right to avoid overlap */
.mw-parser-output {
margin-left: 240px; /* slightly more than TOC width */
}