Template:Variants/styles.css: Difference between revisions
Template page
More actions
Admin Jeremy (talk | contribs) Created page with "→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; m..." |
Admin Jeremy (talk | contribs) No edit summary |
||
| Line 61: | Line 61: | ||
vertical-align: middle; | vertical-align: middle; | ||
margin-right: 0.3em; | margin-right: 0.3em; | ||
} | |||
/* Icon + quantity styling */ | |||
.vpvg-req img { | |||
width: 24px; | |||
height: 24px; | |||
vertical-align: middle; | |||
} | |||
.vpvg-qty { | |||
font-size: 0.85em; | |||
margin-left: 2px; | |||
margin-right: 6px; | |||
} | |||
.vpvg-plus { | |||
margin: 0 6px; | |||
font-weight: bold; | |||
opacity: 0.7; | |||
} | } | ||
Revision as of 14:30, 4 March 2026
/* 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;
}
.vpvg-qty {
font-size: 0.85em;
margin-left: 2px;
margin-right: 6px;
}
.vpvg-plus {
margin: 0 6px;
font-weight: bold;
opacity: 0.7;
}