Открыть меню
Toggle preferences menu
Открыть персональное меню
Вы не представились системе
Your IP address will be publicly visible if you make any edits.

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

Страница интерфейса MediaWiki
Дополнительные действия
м бля а заработает или
Нет описания правки
Строка 9: Строка 9:
/* Infoboxes */
/* Infoboxes */
.infobox {
.infobox {
border: 1px solid #a2a9b1;
    border: 1px solid var(--border-color-base);
color: black;
    border-radius: var(--border-radius--medium);
padding: 0.2em;
    border-spacing: 3px;
font-size: 88%;
    background-color: var(--color-surface-2);
line-height: 1.5em;
    color: var(--color-base);
border-spacing: 3px;
    margin: 0 auto var(--space-md) var(--space-lg);
    padding: 0.2em;
    float: right;
    clear: right;
    font-size: 0.875rem;
    line-height: 1.5em;
    width: 22em;
    text-align: left;
}
}


@media screen {
.infobox-header,.infobox-label,.infobox-above,.infobox-full-data,.infobox-data,.infobox-below,.infobox-subheader,.infobox-image,.infobox-navbar,.infobox th,.infobox td {
.infobox {
    vertical-align: top
background-color: #f8f9fa;
    }
}
}


@media (max-width: 640px) {
.infobox-label,.infobox-data,.infobox th,.infobox td {
.infobox {
    text-align: left
width: 100%;
}
   
.infobox .nowrap {
white-space: normal;
}
}
}


@media (min-width: 640px) {
.infobox .infobox-above,.infobox .infobox-title,.infobox caption {
.infobox {
    font-size: 125%;
/* @noflip */
    font-weight: bold;
margin: 0.5em 0 0.5em 1em;
    text-align: center
/* @noflip */
float: right;
/* @noflip */
clear: right;
width: 22em;
}
}
}


.infobox-header,
.infobox-title,.infobox caption {
.infobox-label,
    padding: 0.2em
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}


.infobox-label,
.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below {
.infobox-data,
    text-align: center
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
}


/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
.infobox .infobox-above,
    text-align: right
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
}


.infobox-title,
.infobox tbody {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    display: table;
.infobox caption {
    width: 100%;
padding: 0.2em;
}
}


/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header {
.infobox .infobox-header,
    background-color: var(--background-color-destructive);
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


/* Remove .infobox when element selectors above are removed */
td.infobox-data {
.infobox .infobox-navbar {
    word-break: break-word;
/* @noflip */
text-align: right;
}
}