MediaWiki: Common.css: відмінності між версіями
Матеріал з apidocs
Немає опису редагування Мітка: Скасовано |
Немає опису редагування Мітка: Скасовано |
||
Рядок 10: | Рядок 10: | ||
} | } | ||
/* | /* Vector 2022 / Flexbox swap TOC from right to left */ | ||
. | .vector-main-container { | ||
display: flex !important; | |||
flex-direction: row-reverse !important; /* swap left/right columns */ | |||
} | } | ||
.content | |||
margin-left: | /* Optional: adjust margins so text doesn't crash into TOC */ | ||
.vector-main-content { | |||
margin-left: 1em !important; | |||
margin-right: 0 !important; | margin-right: 0 !important; | ||
} | } |
Версія за 07:18, 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;
}
/* Vector 2022 / Flexbox swap TOC from right to left */
.vector-main-container {
display: flex !important;
flex-direction: row-reverse !important; /* swap left/right columns */
}
/* Optional: adjust margins so text doesn't crash into TOC */
.vector-main-content {
margin-left: 1em !important;
margin-right: 0 !important;
}