Template:Race intro/styles.css
Jump to navigation
Jump to search
/* Template:Race intro/styles.css */
.wizlords-race-intro--with-examples {
display: grid;
grid-template-columns: 100px minmax(16rem, 1fr) minmax(200px, 250px);
align-items: center;
gap: 28px;
margin: 18px 0 24px;
}
.wizlords-race-intro--with-examples .wizlords-race-intro-icon {
min-width: 0;
}
.wizlords-race-intro--with-examples .wizlords-race-intro-icon img {
display: block;
width: 100px;
height: 100px;
object-fit: contain;
border: 0;
background: transparent;
}
.wizlords-race-intro--with-examples .wizlords-race-quote {
position: relative;
min-width: 0;
margin: 0;
padding: 0 34px;
color: var(--wiz-text, #d2d2d2);
font-size: 16px;
font-style: italic;
line-height: 1.6;
}
.wizlords-race-intro--with-examples .wizlords-race-quote::before,
.wizlords-race-intro--with-examples .wizlords-race-quote::after {
position: absolute;
color: #555;
font-size: 42px;
line-height: 1;
}
.wizlords-race-intro--with-examples .wizlords-race-quote::before {
content: "\201C";
left: 0;
top: -6px;
}
.wizlords-race-intro--with-examples .wizlords-race-quote::after {
content: "\201D";
right: 0;
bottom: -18px;
}
.wizlords-race-intro--with-examples .wizlords-race-quote-source {
margin-top: 8px;
text-align: right;
font-size: 12px;
font-style: normal;
font-weight: bold;
}
.wizlords-race-intro-examples {
min-width: 0;
width: 100%;
box-sizing: border-box;
justify-self: end;
margin: 0;
padding: 4px;
border: 1px solid var(--wiz-content-border, #ff942d);
background: var(--wiz-panel-solid-background, #0f0f0f);
}
.wizlords-race-intro-example-images {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 4px;
box-sizing: border-box;
border: 1px solid var(--wiz-content-border, #ff942d);
}
.wizlords-race-intro-example-image {
min-width: 0;
aspect-ratio: 4 / 5;
overflow: hidden;
background: rgba(255, 255, 255, 0.04);
}
.wizlords-race-intro-example-image a,
.wizlords-race-intro-example-image span {
display: block;
width: 100%;
height: 100%;
}
.wizlords-race-intro-example-image img {
display: block;
box-sizing: border-box;
width: 100%;
height: 100%;
max-width: none;
object-fit: cover;
border: 0;
}
.wizlords-race-intro-caption {
margin: 5px 2px 1px;
color: var(--wiz-text, #d2d2d2);
font-size: 12px;
line-height: 1.25;
}
@media screen and (max-width: 899px) {
.wizlords-race-intro--with-examples {
grid-template-columns: 100px minmax(0, 1fr);
align-items: start;
gap: 16px;
}
.wizlords-race-intro--with-examples .wizlords-race-quote {
padding-right: 20px;
}
.wizlords-race-intro--with-examples .wizlords-race-intro-examples {
grid-column: 1 / -1;
width: 100%;
box-sizing: border-box;
justify-self: stretch;
}
}
@media screen and (max-width: 420px) {
.wizlords-race-intro--with-examples {
grid-template-columns: 84px minmax(0, 1fr);
gap: 12px;
}
.wizlords-race-intro--with-examples .wizlords-race-intro-icon img {
width: 84px;
height: 84px;
}
.wizlords-race-intro--with-examples .wizlords-race-quote {
padding-right: 14px;
padding-left: 28px;
font-size: 15px;
}
}