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

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


/* Swap Bootstrap columns for Tweeki layout */
/* Move Table of Contents (TOC) to the left */
.row > .sidebar-right {
#toc {
     order: -1; /* move to left */
     float: left;           /* Float it to the left */
    margin-right: 20px;    /* Space between TOC and content */
    margin-bottom: 20px;    /* Space below TOC */
    width: 200px;          /* Optional: set a width */
}
}


.row > .content {
/* Adjust main content to accommodate left TOC */
    order: 0; /* keep main content after sidebar */
#content {
}
     margin-left: 220px;     /* Should be slightly more than TOC width + margin */
 
/* Optional: adjust spacing */
.sidebar-right {
     padding-right: 1em;
}
}

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

/* Move Table of Contents (TOC) to the left */
#toc {
    float: left;            /* Float it to the left */
    margin-right: 20px;     /* Space between TOC and content */
    margin-bottom: 20px;    /* Space below TOC */
    width: 200px;           /* Optional: set a width */
}

/* Adjust main content to accommodate left TOC */
#content {
    margin-left: 220px;     /* Should be slightly more than TOC width + margin */
}