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

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


/* КАРТОЧКА --------------------------------------- */
/* КАРТОЧКА --------------------------------------- */
/* Infobox template style */
.infobox {
.infobox {
border: 1px solid var(--border-color-base, #a2a9b1);
border: 1px solid var(--border-color-base, #a2a9b1);
Строка 512: Строка 513:
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);
background: var(--ruwiki-background-color-blue200, #cfe3ff);
Строка 529: Строка 520:
text-align: center;
text-align: center;
}
}
.infobox-image {
.infobox-label,
padding-left: 0;
.infobox-above,
padding-right: 0;
.infobox-full-data,
.infobox-data {
text-align: center;
}
.infobox-below {
background: var(--ruwiki-background-color-blue150, #dcebff);
text-align: center;
text-align: center;
}
}
Строка 538: Строка 534:
text-align: center;
text-align: center;
}
}
.infobox-below {
.infobox-subheader,
background: var(--ruwiki-background-color-blue150, #dcebff);
.infobox-image {
padding-left: 0;
padding-right: 0;
text-align: center;
text-align: center;
}
}
.infobox-data {
.infobox-navbar,
horisontal-align: middle;
/* 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-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;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}




Навигация