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

м
нет описания правки
мНет описания правки
мНет описания правки
 
(не показано 12 промежуточных версий этого же участника)
Строка 158: Строка 158:
margin-top: 0.5em;
margin-top: 0.5em;
}
}


/* Кнопки [показать]/[скрыть], создаваемые mw-collapsible */
/* Кнопки [показать]/[скрыть], создаваемые mw-collapsible */
Строка 497: Строка 500:


/* КАРТОЧКА --------------------------------------- */
/* КАРТОЧКА --------------------------------------- */
/* Infobox template style */
.infobox {
.infobox {
border: 1px solid var(--border-color-base, #a2a9b1);
border: 1px solid var(--border-color-base, #a2a9b1);
Строка 508: Строка 512:
width: 23em;
width: 23em;
vertical-align: middle;
vertical-align: middle;
text-align: center;
text-align: left;
line-height: 1.5em;
line-height: 1.5em;
border-collapse: separate;
border-collapse: separate;
border-spacing: 2px;
border-spacing: 2px;
}
.infobox > caption {
font-size: 125%;
font-weight: bold;
padding: .2em;
}
.infobox td,
.infobox th {
vertical-align: top;
}
}


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


Строка 676: Строка 718:
padding-left: 0.5em;
padding-left: 0.5em;
}
}
###