Template:Infobox service/styles.css
Template page
More actions
.infobox.infobox-service {
box-sizing: border-box;
width: 280px;
border: 2px solid #a2a9b1;
border-collapse: collapse;
border-spacing: 0;
clear: right;
float: right;
margin: 0 0 0.5em 0.5em;
background-color: #fff;
color: #333;
}
.infobox-service caption {
padding: 0.2em 0.5em;
text-align: center;
}
.infobox-service th,
.infobox-service td {
padding: 0.2em 0.5em;
border: 0;
vertical-align: top;
overflow-wrap: anywhere;
}
.infobox-service th[scope="row"] {
min-width: 7em;
text-align: left;
}
.infobox-service .infobox-service-header {
padding: 0.5em;
background-color: #72777d;
color: #fff;
font-size: 100% !important;
text-align: center;
}
.infobox-service .infobox-service-header a {
color: #fff;
}
.infobox-service-header__inner {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5em;
}
.infobox-service-header__icon {
flex: none;
}
.infobox-service-header__icon img {
display: block;
width: auto;
height: auto;
max-width: 40px;
max-height: 40px;
padding: 0 0.2em 0 0.5em;
}
.infobox-service-image {
text-align: center;
}
.infobox-service-image img {
max-width: 100%;
height: auto;
}
.infobox-service-header__copy,
.infobox-service-header__name,
.infobox-service-header__status {
display: block;
}
.infobox-service-header__name {
font-size: 130%;
line-height: 1;
}
.infobox-service-header__status {
margin-top: 0.25em;
line-height: 1.2;
}
.infobox-service-tagline {
padding: 0.35em 0.5em;
text-align: center;
font-style: italic;
font-weight: normal;
}
.infobox-service-status-stable {
border-color: #00af89;
}
.infobox-service-status-stable .infobox-service-header {
background-color: #068468;
}
.infobox-service-status-beta {
border-color: #fc3;
}
.infobox-service-status-beta .infobox-service-header {
background-color: #fc3;
color: #202122;
}
.infobox-service-status-beta .infobox-service-header a {
color: #202122;
}
.infobox-service-status-experimental {
border-color: #ff4500;
}
.infobox-service-status-experimental .infobox-service-header {
background-color: #c43e00;
}
.infobox-service-status-alpha,
.infobox-service-status-unstable {
border-color: #d33;
}
.infobox-service-status-alpha .infobox-service-header,
.infobox-service-status-unstable .infobox-service-header {
background-color: #b32424;
}
.infobox-service-status-maintenance {
border-color: #36c;
}
.infobox-service-status-maintenance .infobox-service-header {
background-color: #36c;
}
.infobox-service-status-deprecated,
.infobox-service-status-unmaintained {
border-color: #ac6600;
}
.infobox-service-status-deprecated .infobox-service-header,
.infobox-service-status-unmaintained .infobox-service-header {
background-color: #8a5200;
}
.infobox-service-status-planned,
.infobox-service-status-discontinued,
.infobox-service-status-unknown {
border-color: #72777d;
}
.infobox-service-status-planned .infobox-service-header,
.infobox-service-status-discontinued .infobox-service-header,
.infobox-service-status-unknown .infobox-service-header {
background-color: #54595d;
}
@media screen {
html.skin-theme-clientpref-night .infobox-service {
background-color: inherit;
color: inherit;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox-service {
background-color: inherit;
color: inherit;
}
}
@media (max-width: 719px) {
body.mediawiki .infobox.infobox-service {
float: none;
clear: both;
width: 100% !important;
margin: 0 0 0.5em;
}
}