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

Перейти к навигации Перейти к поиску
м
нет описания правки
м (Отмена правки 1831, сделанной Neotrit (обсуждение))
Метка: отмена
мНет описания правки
Строка 496: Строка 496:
}
}


/* КАРТОЧКА --------------------------------------- */
/* Infobox template style */
.infobox {
.infobox {
border: 1px solid var(--border-color-base, #a2a9b1);
border: 1px solid #a2a9b1;
background: var(--background-color-neutral-subtle, #f8f9fa);
border-spacing: 3px;
margin-bottom: .5em;
background-color: #f8f9fa;
margin-left: 1em;
color: black;
padding: .4em;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
float: right;
/* @noflip */
clear: right;
clear: right;
font-size: 90%;
font-size: 88%;
width: 23em;
vertical-align: middle;
text-align: left;
line-height: 1.5em;
line-height: 1.5em;
border-collapse: separate;
width: 22em;
border-spacing: 2px;
}
}
.infobox > caption {
 
font-size: 125%;
.infobox-header,
font-weight: bold;
.infobox-label,
padding: .2em;
.infobox-above,
}
.infobox-full-data,
.infobox td,
.infobox-data,
.infobox th {
.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;
vertical-align: top;
}
}


/* Компоненты карточки */
.infobox-label,
.infobox-above {
.infobox-data,
background: var(--ruwiki-background-color-blue200, #cfe3ff);
/* Remove element selector when every .infobox thing is using the standard module/templates  */
font-size: 120%;
.infobox th,
text-align: center;
.infobox td {
/* @noflip */
text-align: left;
}
}
.infobox-image {
 
padding-left: 0;
/* Remove .infobox when element selectors above are removed */
padding-right: 0;
.infobox .infobox-above,
.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;
text-align: center;
}
}
.infobox-header {
 
background: var(--ruwiki-background-color-blue150, #dcebff);
.infobox-title,
text-align: center;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
}
 
.infobox-below {
/* Remove .infobox when element selectors above are removed */
background: var(--ruwiki-background-color-blue150, #dcebff);
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
text-align: center;
}
}


/* Увеличение мелкого шрифта в блоках с уменьшенным текстом */
/* Remove .infobox when element selectors above are removed */
.infobox small,
.infobox .infobox-navbar {
.navbox small,
/* @noflip */
.references small {
text-align: right;
font-size: 90%;
}
}
/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */
/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */


Навигация