MediaWiki:Vector.css: различия между версиями

Материал из Structorica Wiki
Перейти к навигации Перейти к поиску
м Защитил страницу MediaWiki:Vector.css: Эта страница полностью защищена, так как содержит интерфейсные тексты на этой вики. ([Редактирование=Разрешено только администраторам] (бессрочно) [Переименование=Разрешено только администраторам] (бессрочно))
Нет описания правки
Строка 1: Строка 1:
/* Весь CSS будет отсюда будет загружен пользователям темы оформления «Векторная» */
/* Structorica Vector Theme */
/**/
 
:root {
    /* Width control */
    --fixed-width: 1200px; /* Dynamicly changed by Hook */
}
 
 
/* Main page elements */
body {
    background-color: var(--background-color-base);
    color: var(--color-base);
}
 
 
/* ------------------------------------------- */
 
/* Theme and Width toggle buttons styling */
.theme-toggle-button,
.width-toggle-button {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin: 4px 0;
}
body.stw-theme-dark .theme-toggle-button:hover,
body.stw-theme-dark .width-toggle-button:hover,
#p-personal .theme-toggle-button,
#p-personal .width-toggle-button {
    display: inline-block;
    margin: 0 0 0 10px;
    padding: 0.5em;
    font-size: 0.875em;
    line-height: 1;
}
/* Width control */
@media screen and (min-width: 1200px) {
    body {
        max-width: var(--fixed-width); /* Dynamicly changed by Hook */
        margin: auto;
    }
}

Версия от 18:35, 30 декабря 2025

/* Structorica Vector Theme */

:root {
    /* Width control */
    --fixed-width: 1200px; /* Dynamicly changed by Hook */
}


/* Main page elements */
body {
    background-color: var(--background-color-base);
    color: var(--color-base);
}


/* ------------------------------------------- */

/* Theme and Width toggle buttons styling */
.theme-toggle-button,
.width-toggle-button {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin: 4px 0;
}
body.stw-theme-dark .theme-toggle-button:hover,
body.stw-theme-dark .width-toggle-button:hover,
#p-personal .theme-toggle-button,
#p-personal .width-toggle-button {
    display: inline-block;
    margin: 0 0 0 10px;
    padding: 0.5em;
    font-size: 0.875em;
    line-height: 1;
}
/* Width control */
@media screen and (min-width: 1200px) {
    body {
        max-width: var(--fixed-width); /* Dynamicly changed by Hook */
        margin: auto;
    }
}