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

Перейти к навигации Перейти к поиску
м
нет описания правки
мНет описания правки
мНет описания правки
Строка 496: Строка 496:
}
}


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


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

Навигация