2970
правок
Neotrit (обсуждение | вклад) Нет описания правки |
Neotrit (обсуждение | вклад) мНет описания правки |
||
| Строка 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-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- | .infobox-label, | ||
.infobox-above, | |||
.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- | .infobox-subheader, | ||
.infobox-image { | |||
padding-left: 0; | |||
padding-right: 0; | |||
text-align: center; | text-align: center; | ||
} | } | ||
.infobox-data { | .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-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; | |||
} | |||