Template:Infobox being/styles.css
Appearance
/* =========================================================
BASE INFOBOX
========================================================= */
.gp-infobox-being {
float: right;
clear: right;
box-sizing: border-box;
width: 21.5em;
max-width: 100%;
margin: 0 0 1em 1em;
border: 1px solid #aeb8bf;
border-collapse: separate;
border-spacing: 0;
background: #ffffff;
color: #202122;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
font-family: Arial, Helvetica, sans-serif;
font-size: 86%;
line-height: 1.35;
}
.gp-infobox-being th,
.gp-infobox-being td {
box-sizing: border-box;
padding: 0.42em 0.6em;
border: 0;
border-bottom: 1px solid #d8dde1;
vertical-align: top;
color: #202122;
}
.gp-infobox-being tr:last-child th,
.gp-infobox-being tr:last-child td {
border-bottom: 0;
}
.gp-infobox-being th[scope="row"] {
width: 35%;
background: #f4f6f7;
font-weight: bold;
text-align: left;
}
.gp-infobox-being td {
background: #ffffff;
}
/* =========================================================
NAME / IDENTITY BLOCK
========================================================= */
.gp-infobox-being-title {
padding: 0.42em 0.7em 0.46em !important;
background: #dfe8ed;
color: #000000;
text-align: center;
}
.gp-infobox-being-name {
margin: 0;
padding: 0;
color: #000000;
font-size: 1.4em;
font-weight: bold;
line-height: 1.16;
}
.gp-infobox-being-other-names {
margin: 0.20em 0 0;
padding: 0;
color: #000000;
font-size: 0.79em;
font-weight: normal;
line-height: 1.22;
opacity: 0.82;
}
/* =========================================================
IMAGE
========================================================= */
.gp-infobox-being-image {
padding: 0.55em !important;
background: #f8f9fa !important;
color: #202122;
text-align: center;
}
.gp-infobox-being-image img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
}
.gp-infobox-being-caption {
margin-top: 0.35em;
color: inherit;
font-size: 90%;
font-weight: normal;
line-height: 1.3;
text-align: center;
}
/* =========================================================
SECTION HEADERS
========================================================= */
.gp-infobox-being-section {
padding: 0.38em 0.6em !important;
background: #e5edf1;
color: #202122;
font-size: 0.95em;
font-weight: bold;
text-align: center;
}
/* =========================================================
WATCHER-SPECIFIC THEME
========================================================= */
/* Main name block */
.gp-infobox-watcher .gp-infobox-being-title {
background: #78c7ee;
color: #000000;
border-bottom: 1px solid #5db7e3;
}
/* Position / tribe block beneath image */
.gp-infobox-watcher-position,
.gp-infobox-watcher-tribe {
padding: 0.48em 0.7em !important;
background: #b9e2f5 !important;
color: #000000 !important;
font-size: 1em;
font-weight: bold;
line-height: 1.3;
text-align: center;
border-bottom: 1px solid #9fd4ec;
}
/* Titles beneath position / tribe */
.gp-infobox-watcher-titles {
padding: 0.4em 0.7em !important;
background: #78c7ee !important;
color: #000000 !important;
font-size: 1em;
font-weight: normal;
line-height: 1.3;
text-align: center;
border-bottom: 1px solid #5db7e3;
}
/* Regular Watcher labels */
.gp-infobox-watcher th[scope="row"] {
background: #eef7fb;
}
/* Appearance heading */
.gp-infobox-watcher .gp-infobox-being-section {
background: #cfeaf7;
color: #183747;
}
/* =========================================================
SATANAEL-SPECIFIC THEME
========================================================= */
/* Main name block */
.gp-infobox-satanael .gp-infobox-being-title {
background: #b84444;
color: #ffffff;
border-bottom: 1px solid #9f3535;
}
.gp-infobox-satanael .gp-infobox-being-name {
color: #ffffff;
}
.gp-infobox-satanael .gp-infobox-being-other-names {
color: #ffffff;
}
/* Type block beneath image */
.gp-infobox-satanael-type {
padding: 0.48em 0.7em !important;
background: #e2a5a5 !important;
color: #2c1111 !important;
font-size: 1em;
font-weight: bold;
line-height: 1.3;
text-align: center;
border-bottom: 1px solid #d58d8d;
}
/* Titles beneath type */
.gp-infobox-satanael-titles {
padding: 0.4em 0.7em !important;
background: #b84444 !important;
color: #ffffff !important;
font-size: 1em;
font-weight: normal;
line-height: 1.3;
text-align: center;
border-bottom: 1px solid #9f3535;
}
/* Regular Satanael labels */
.gp-infobox-satanael th[scope="row"] {
background: #fbefef;
}
/* =========================================================
LISTS / PARAGRAPHS
========================================================= */
.gp-infobox-being ul {
margin-top: 0;
margin-bottom: 0;
padding-left: 1.35em;
}
.gp-infobox-being p {
margin-top: 0;
margin-bottom: 0.3em;
}
.gp-infobox-being p:last-child {
margin-bottom: 0;
}
/* =========================================================
FORCED DARK MODE
========================================================= */
@media screen {
html.skin-theme-clientpref-night .gp-infobox-being {
border-color: #52616a;
background: #202326;
color: #eaecf0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
html.skin-theme-clientpref-night .gp-infobox-being th,
html.skin-theme-clientpref-night .gp-infobox-being td {
border-bottom-color: #3e494f;
color: #eaecf0;
}
html.skin-theme-clientpref-night .gp-infobox-being th[scope="row"] {
background: #293137;
}
html.skin-theme-clientpref-night .gp-infobox-being td {
background: #202326;
}
html.skin-theme-clientpref-night .gp-infobox-being-image {
background: #272c30 !important;
color: #eaecf0;
}
html.skin-theme-clientpref-night .gp-infobox-being-section {
background: #34434b;
color: #eaecf0;
}
/* Watcher name block */
html.skin-theme-clientpref-night .gp-infobox-watcher .gp-infobox-being-title {
background: #17698f;
color: #ffffff;
border-bottom-color: #2684ad;
}
html.skin-theme-clientpref-night .gp-infobox-watcher .gp-infobox-being-name {
color: #ffffff;
}
html.skin-theme-clientpref-night .gp-infobox-watcher .gp-infobox-being-other-names {
color: #ffffff;
}
/* Watcher position / tribe */
html.skin-theme-clientpref-night .gp-infobox-watcher-position,
html.skin-theme-clientpref-night .gp-infobox-watcher-tribe {
background: #285d76 !important;
color: #ffffff !important;
border-bottom-color: #34718c;
}
/* Watcher titles */
html.skin-theme-clientpref-night .gp-infobox-watcher-titles {
background: #17698f !important;
color: #ffffff !important;
border-bottom-color: #2684ad;
}
html.skin-theme-clientpref-night .gp-infobox-watcher th[scope="row"] {
background: #263942;
}
html.skin-theme-clientpref-night .gp-infobox-watcher .gp-infobox-being-section {
background: #285268;
color: #eef8fc;
}
/* Satanael name block */
html.skin-theme-clientpref-night .gp-infobox-satanael .gp-infobox-being-title {
background: #7b2020;
color: #ffffff;
border-bottom-color: #963131;
}
html.skin-theme-clientpref-night .gp-infobox-satanael .gp-infobox-being-name {
color: #ffffff;
}
html.skin-theme-clientpref-night .gp-infobox-satanael .gp-infobox-being-other-names {
color: #ffffff;
}
/* Satanael type */
html.skin-theme-clientpref-night .gp-infobox-satanael-type {
background: #623333 !important;
color: #ffffff !important;
border-bottom-color: #7a4444;
}
/* Satanael titles */
html.skin-theme-clientpref-night .gp-infobox-satanael-titles {
background: #7b2020 !important;
color: #ffffff !important;
border-bottom-color: #963131;
}
html.skin-theme-clientpref-night .gp-infobox-satanael th[scope="row"] {
background: #412929;
}
}
/* =========================================================
AUTOMATIC DARK MODE
========================================================= */
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .gp-infobox-being {
border-color: #52616a;
background: #202326;
color: #eaecf0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
html.skin-theme-clientpref-os .gp-infobox-being th,
html.skin-theme-clientpref-os .gp-infobox-being td {
border-bottom-color: #3e494f;
color: #eaecf0;
}
html.skin-theme-clientpref-os .gp-infobox-being th[scope="row"] {
background: #293137;
}
html.skin-theme-clientpref-os .gp-infobox-being td {
background: #202326;
}
html.skin-theme-clientpref-os .gp-infobox-being-image {
background: #272c30 !important;
color: #eaecf0;
}
html.skin-theme-clientpref-os .gp-infobox-being-section {
background: #34434b;
color: #eaecf0;
}
/* Watcher name block */
html.skin-theme-clientpref-os .gp-infobox-watcher .gp-infobox-being-title {
background: #17698f;
color: #ffffff;
border-bottom-color: #2684ad;
}
html.skin-theme-clientpref-os .gp-infobox-watcher .gp-infobox-being-name {
color: #ffffff;
}
html.skin-theme-clientpref-os .gp-infobox-watcher .gp-infobox-being-other-names {
color: #ffffff;
}
/* Watcher position / tribe */
html.skin-theme-clientpref-os .gp-infobox-watcher-position,
html.skin-theme-clientpref-os .gp-infobox-watcher-tribe {
background: #285d76 !important;
color: #ffffff !important;
border-bottom-color: #34718c;
}
/* Watcher titles */
html.skin-theme-clientpref-os .gp-infobox-watcher-titles {
background: #17698f !important;
color: #ffffff !important;
border-bottom-color: #2684ad;
}
html.skin-theme-clientpref-os .gp-infobox-watcher th[scope="row"] {
background: #263942;
}
html.skin-theme-clientpref-os .gp-infobox-watcher .gp-infobox-being-section {
background: #285268;
color: #eef8fc;
}
/* Satanael name block */
html.skin-theme-clientpref-os .gp-infobox-satanael .gp-infobox-being-title {
background: #7b2020;
color: #ffffff;
border-bottom-color: #963131;
}
html.skin-theme-clientpref-os .gp-infobox-satanael .gp-infobox-being-name {
color: #ffffff;
}
html.skin-theme-clientpref-os .gp-infobox-satanael .gp-infobox-being-other-names {
color: #ffffff;
}
/* Satanael type */
html.skin-theme-clientpref-os .gp-infobox-satanael-type {
background: #623333 !important;
color: #ffffff !important;
border-bottom-color: #7a4444;
}
/* Satanael titles */
html.skin-theme-clientpref-os .gp-infobox-satanael-titles {
background: #7b2020 !important;
color: #ffffff !important;
border-bottom-color: #963131;
}
html.skin-theme-clientpref-os .gp-infobox-satanael th[scope="row"] {
background: #412929;
}
}
/* =========================================================
MOBILE
========================================================= */
@media screen and (max-width: 720px) {
.gp-infobox-being {
float: none;
clear: both;
width: 94%;
max-width: 29em;
margin: 0.75em auto 1em;
font-size: 85%;
}
.gp-infobox-being th,
.gp-infobox-being td {
padding: 0.4em 0.52em;
}
.gp-infobox-being-title {
padding-top: 0.42em !important;
padding-bottom: 0.46em !important;
}
}