MediaWiki: Common.css: відмінності між версіями
Матеріал з apidocs
Немає опису редагування Мітка: Скасовано |
Немає опису редагування Мітка: Скасовано |
||
Рядок 5: | Рядок 5: | ||
} | } | ||
/* | /* 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 */ | |||
} | } | ||
/* Article content to the right of TOC */ | /* Article content to the right of TOC */ |
Версія за 07:50, 15 серпня 2025
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
/* Hide search form in the sidebar */
#p-search {
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 */
}
/* Article content to the right of TOC */
.mw-body-content > .mw-parser-output {
flex: 1; /* take remaining space */
}