MediaWiki: Common.css: відмінності між версіями

Матеріал з apidocs
Перейти до: навігація, пошук
Немає опису редагування
Мітка: Скасовано
Немає опису редагування
Мітка: Скасовано
Рядок 10: Рядок 10:
}
}


/* Move right sidebar to left */
/* Vector 2022 / Flexbox swap TOC from right to left */
.toc-container {
.vector-main-container {
     float: left !important;
     display: flex !important;
    flex-direction: row-reverse !important; /* swap left/right columns */
}
}
.content-container {
 
     margin-left: 15em !important;
/* 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;
}