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

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


/* Vector 2022 / Flexbox swap TOC from right to left */
/* Swap Bootstrap columns for Tweeki layout */
.vector-main-container {
.row > .sidebar-right {
     display: flex !important;
     order: -1; /* move to left */
    flex-direction: row-reverse !important; /* swap left/right columns */
}
}


/* Optional: adjust margins so text doesn't crash into TOC */
.row > .content {
.vector-main-content {
    order: 0; /* keep main content after sidebar */
     margin-left: 1em !important;
}
    margin-right: 0 !important;
 
/* Optional: adjust spacing */
.sidebar-right {
     padding-right: 1em;
}
}

Версія за 07:32, 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;
}

/* Swap Bootstrap columns for Tweeki layout */
.row > .sidebar-right {
    order: -1; /* move to left */
}

.row > .content {
    order: 0; /* keep main content after sidebar */
}

/* Optional: adjust spacing */
.sidebar-right {
    padding-right: 1em;
}