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

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


/* Make body container relative for absolute TOC */
/* Hide the search box in the Vector skin top-right */
.mw-body {
#searchform {
    position: relative;
     display: none !important;
}
 
/* 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 */
}
}

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