Template:Variants/styles.css
Template page
More actions
/* Main grid layout */
.vpvg-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1.2em;
margin: 1em 0;
}
/* Individual variant column */
.vpvg-col {
background: #f8f6f1;
border: 2px solid #c7bfae;
border-radius: 10px;
padding: 0.8em;
text-align: center;
}
/* Variant title */
.vpvg-title {
font-weight: bold;
font-size: 1.15em;
margin-bottom: 0.5em;
}
/* Image block */
.vpvg-image img {
max-width: 160px;
height: auto;
margin-bottom: 0.6em;
}
/* Requirement rows */
.vpvg-req {
font-weight: 600;
margin: 0.3em 0;
line-height: 1.3;
}
/* Game label */
.vpvg-game {
font-weight: bold;
}
/* Game color coding */
.vpvg-req.vp1 {
color: #2c6b4f;
}
.vpvg-req.tip {
color: #4a4fb8;
}
.vpvg-req.pp {
color: #a67c00;
}
/* Item icons inside requirements */
.vpvg-req img {
width: 28px;
height: 28px;
vertical-align: middle;
margin-right: 0.3em;
}
/* Icon + quantity styling */
.vpvg-req img {
width: 24px;
height: 24px;
vertical-align: middle;
}
/* Item container */
.vpvg-item {
display: inline-flex;
align-items: center;
gap: 4px;
margin-right: 6px;
}
/* =========================
Variant Requirement Table
========================= */
.vpvg-reqtable {
width: 100%;
border-collapse: collapse;
font-size: 0.9em;
margin-top: 6px;
}
/* Each requirement row */
.vpvg-reqtable tr {
border-bottom: 1px solid rgba(0,0,0,0.1);
}
/* Game label column */
.vpvg-gamecell {
width: 48px;
text-align: center;
font-weight: bold;
padding: 4px;
}
/* Requirement content */
.vpvg-reqcell {
padding: 4px 6px;
}
/* =========================
Icons
========================= */
.vpvg-icon {
margin-right: 4px;
}
.vpvg-icon img {
width: 20px;
height: 20px;
vertical-align: middle;
filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.4));
}
/* =========================
Mini requirement box
========================= */
.vpvg-mini-box {
display: inline-block;
background: var(--vp-journal-bg);
border: 1px solid var(--vp-journal-border);
border-radius: 5px;
padding: 1px 6px;
margin-right: 4px;
font-weight: 600;
line-height: 1.2;
text-shadow: none;
}
/* =========================
Requirement links
========================= */
.vpvg-mini-box a:not(.new):not(.mw-new) {
color: #ffe680;
}
.vpvg-mini-box a:not(.new):not(.mw-new):visited {
color: #dbaf39;
}
.vpvg-mini-box a:not(.new):not(.mw-new):hover,
.vpvg-mini-box a:not(.new):not(.mw-new):focus {
color: #fff;
text-decoration: underline;
}
.vpvg-mini-box a.new,
.vpvg-mini-box a.mw-new {
color: #ff6b6b;
}
/* =========================
VP1
========================= */
.vpvg-row.vp1 {
background: #eef7f0;
}
.vpvg-row.vp1 .vpvg-gamecell {
background: #d6eee0;
}
/* =========================
TIP
========================= */
.vpvg-row.tip {
background: #f0f1fb;
}
.vpvg-row.tip .vpvg-gamecell {
background: #dde0f7;
}
/* =========================
Pocket Paradise
========================= */
.vpvg-row.pp {
background: #fff8e6;
}
.vpvg-row.pp .vpvg-gamecell {
background: #fff0c9;
}
.vpvg-row:last-child {
border-bottom: none;
}
.vpvg-reqtable td {
border: none;
}
.vpvg-row td {
background: inherit;
}
.vpvg-reqcell {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 4px;
}