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

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


/* Make body container relative for absolute TOC */
.mw-body {
    position: relative;
}


/* Move TOC to the left side */
#toc {
#tweekiTOC {
    float: right;
     position: absolute !important; /* override Tweeki floats/flex */
     position: fixed;
     left: 0;
     top: 150px;
     top: 50px;                     /* adjust as needed */
     right: 2em;
     width: 220px;
     width: 20em;
     z-index: 999;
     margin: 0 0 1em 1em;
}
}


/* Push article content to the right to avoid overlap */
#mw-content-text {
.mw-parser-output {
     padding-right: 22em; /* Adjust this to make sure your content doesn't go under the TOC */
     margin-left: 240px;             /* slightly more than TOC width */
}
}

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


#toc {
    float: right;
    position: fixed;
    top: 150px;
    right: 2em;
    width: 20em;
    margin: 0 0 1em 1em;
}

#mw-content-text {
    padding-right: 22em; /* Adjust this to make sure your content doesn't go under the TOC */
}