Template:Record infobox/styles.css
Appearance
/* Styles for [[Template:Record infobox]] and [[Template:Cite source]] (TemplateStyles).
Colours follow the srcfy.com palette: deep blue #163a56, pale blue #dbeaf1. */
.record-infobox {
float: right;
clear: right;
width: 22em;
max-width: 100%;
margin: 0 0 1em 1.4em;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #202122;
font-size: 88%;
line-height: 1.5;
box-sizing: border-box;
}
.record-infobox ~ .mw-pt-languages {
clear: none;
width: auto;
display: flow-root;
}
.record-infobox-type {
padding: 0.35em 0.8em 0;
background: #163a56;
color: #dbeaf1;
font-size: 82%;
font-weight: bold;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.record-infobox-title {
padding: 0.1em 0.8em 0.55em;
background: #163a56;
color: #ffffff;
font-weight: bold;
font-size: 118%;
}
.record-infobox-image {
text-align: center;
padding: 0.5em;
border-bottom: 1px solid #eaecf0;
}
.record-infobox-caption {
font-size: 92%;
color: #54595d;
padding-top: 0.3em;
}
.record-infobox-map {
border-bottom: 1px solid #a2a9b1;
}
.record-infobox-table {
width: 100%;
border-collapse: collapse;
}
.record-infobox-table th,
.record-infobox-table td {
padding: 0.3em 0.8em;
vertical-align: top;
text-align: left;
border-top: 1px solid #eaecf0;
}
.record-infobox-table th {
width: 38%;
font-weight: bold;
}
.record-infobox-table ul {
margin: 0 0 0 1.1em;
}
.record-tag-kind {
color: #54595d;
}
.record-evidence {
display: inline-block;
padding: 0 0.45em;
border: 1px solid #163a56;
border-radius: 2px;
background: #dbeaf1;
color: #163a56;
font-weight: bold;
cursor: help;
}
.record-evidence-allegation,
.record-evidence-disputed,
.record-evidence-unresolved {
border-style: dashed;
background: #fff;
}
.record-status-draft {
font-weight: bold;
color: #8a4b00;
}
.record-infobox-note {
padding: 0.45em 0.8em;
border-top: 1px solid #eaecf0;
font-size: 90%;
color: #54595d;
}
.citation.source .source-locator,
.citation.source .source-archive {
white-space: nowrap;
}
.citation.source q {
font-style: italic;
}
@media screen and ( max-width: 720px ) {
.record-infobox {
float: none;
width: 100%;
margin: 0 0 1em 0;
}
}
@media screen {
html.skin-theme-clientpref-night .record-infobox {
background: #1b1d1f;
color: #eaecf0;
border-color: #54595d;
}
html.skin-theme-clientpref-night .record-infobox-table th,
html.skin-theme-clientpref-night .record-infobox-table td,
html.skin-theme-clientpref-night .record-infobox-note {
border-top-color: #3a3d40;
}
html.skin-theme-clientpref-night .record-tag-kind,
html.skin-theme-clientpref-night .record-infobox-note,
html.skin-theme-clientpref-night .record-infobox-caption {
color: #a2a9b1;
}
html.skin-theme-clientpref-night .record-evidence {
background: #1f3a50;
color: #dbeaf1;
border-color: #7fa9c4;
}
html.skin-theme-clientpref-night .record-status-draft {
color: #f0b35a;
}
}
@media screen and ( prefers-color-scheme: dark ) {
html.skin-theme-clientpref-os .record-infobox {
background: #1b1d1f;
color: #eaecf0;
border-color: #54595d;
}
html.skin-theme-clientpref-os .record-infobox-table th,
html.skin-theme-clientpref-os .record-infobox-table td,
html.skin-theme-clientpref-os .record-infobox-note {
border-top-color: #3a3d40;
}
html.skin-theme-clientpref-os .record-tag-kind,
html.skin-theme-clientpref-os .record-infobox-note,
html.skin-theme-clientpref-os .record-infobox-caption {
color: #a2a9b1;
}
html.skin-theme-clientpref-os .record-evidence {
background: #1f3a50;
color: #dbeaf1;
border-color: #7fa9c4;
}
html.skin-theme-clientpref-os .record-status-draft {
color: #f0b35a;
}
}