Template:Project/styles.css
Jump to navigation
Jump to search
/* The {{Project}} infobox. Colours come from the skin's tokens where it has
them, so the box follows dark mode in Vector and Citizen. */
.pb-project {
float: right;
clear: right;
width: 20em;
margin: 0 0 1em 1.4em;
border: 1px solid var(--border-color-base, #a2a9b1);
border-collapse: collapse;
background-color: var(--background-color-neutral-subtle, #f8f9fa);
color: inherit;
font-size: 88%;
line-height: 1.5;
}
.pb-project th,
.pb-project td {
padding: 0.35em 0.7em;
border-top: 1px solid var(--border-color-subtle, #c8ccd1);
text-align: left;
vertical-align: top;
}
.pb-project th[scope='row'] {
width: 1%;
white-space: nowrap;
}
.pb-project .pb-project-title {
border-top: 0;
font-size: 125%;
text-align: center;
}
.pb-project .pb-project-image {
padding: 0.6em;
text-align: center;
}
.pb-project-caption {
font-size: 90%;
opacity: 0.8;
}
@media screen and (max-width: 720px) {
.pb-project {
float: none;
width: 100%;
margin: 0 0 1em;
}
}