Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Variants/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* 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 Mini Requirement Boxes
   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 {
.vpvg-reqcell {
   text-align: left;
   padding: 4px 6px;
}
}


/* Item layout */
/* =========================
.vpvg-item {
  Icons
  display: inline-flex;
  ========================= */
  align-items: center;
}


/* Icon outside the box */
.vpvg-icon {
.vpvg-icon {
   margin-right: 4px;
   margin-right: 4px;
Line 19: Line 116:


.vpvg-icon img {
.vpvg-icon img {
   width: 22px;
   width: 20px;
   height: 22px;
   height: 20px;
   vertical-align: middle;
   vertical-align: middle;
   filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.4));
   filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.4));
}
}


/* Mini requirement box */
/* =========================
  Mini requirement box
  ========================= */
 
.vpvg-mini-box {
.vpvg-mini-box {
   display: inline-block;
   display: inline-block;
   background: var(--vp-journal-bg);
   background: var(--vp-journal-bg);
  color: var(--vp-journal-text);
   border: 1px solid var(--vp-journal-border);
 
   border-radius: 5px;
   border: 2px solid var(--vp-journal-border);
   padding: 1px 6px;
   border-radius: 6px;
 
   padding: 2px 6px;
   margin-right: 4px;
   margin-right: 4px;


   font-weight: 600;
   font-weight: 600;
  font-size: 0.9em;
   line-height: 1.2;
   line-height: 1.2;


   text-shadow: 1px 1px 2px #003366;
   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;
}
}


/* Quantity */
.vpvg-row.tip .vpvg-gamecell {
.vpvg-mini-box .vpvg-qty {
   background: #dde0f7;
   font-size: 0.85em;
}
}


/* Plus separator */
/* =========================
.vpvg-plus {
  Pocket Paradise
   margin: 0 4px;
  ========================= */
   font-weight: bold;
 
   opacity: 0.7;
.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;
}
}

Latest revision as of 14:13, 5 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;
}

/* 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;
}