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

Join the Playtest on Steam Now: SpiritVale

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 403: Line 403:
   SKILLS: Module 2 – Skill Type (2x2 grid)
   SKILLS: Module 2 – Skill Type (2x2 grid)
   - Values: not bold, slightly larger
   - Values: not bold, slightly larger
   - Everything centered
   - Centered module contents
  - No internal divider lines (use spacing instead)
   - More breathing room between label + value
   - More breathing room between label + value
   --------------------------------------------------------- */
   --------------------------------------------------------- */
Line 411: Line 412:
   height: 100%;
   height: 100%;
   display: flex;
   display: flex;
   align-items: center;     /* vertical center */
   align-items: center;
   justify-content: center; /* horizontal center */
   justify-content: center;
  width: 100%;
}
}


/* Keep the grid nicely centered and not “stuck” to edges */
/* Grid: keep 2x2 always, add spacing instead of borders */
table.spiritvale-skill-infobox .module-skill-type .sv-type-grid {
table.spiritvale-skill-infobox .module-skill-type .sv-type-grid {
   width: 100%;
   width: 100%;
   margin: 0 !important;
   margin: 0 !important;
  padding: 0;
   box-sizing: border-box;
   box-sizing: border-box;


   display: grid;
   display: grid;
   grid-template-columns: 1fr 1fr; /* stays 2 columns on mobile */
   grid-template-columns: 1fr 1fr; /* stays 2 columns on mobile */
   gap: 0;
   gap: 0.5em;                     /* replaces divider lines */
  padding: 0.4em;                /* keeps grid off edges */
}
}


Line 435: Line 437:


   text-align: center;
   text-align: center;
  padding: 0.35em 0.45em;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-left: 1px solid rgba(148, 163, 184, 0.18);
}


/* Grid borders */
  border: none !important;        /* removes the central dividers */
table.spiritvale-skill-infobox .module-skill-type .sv-type-chunk:nth-child(-n + 2) {
   padding: 0.25em 0.45em;
   border-top: none;
   gap: 0.6em;                     /* pushes label/value apart */
}
table.spiritvale-skill-infobox .module-skill-type .sv-type-chunk:nth-child(odd) {
   border-left: none;
}
}


Line 467: Line 461:
}
}


/* Values: slightly bigger, NOT bold, with more spacing from the label */
/* Values: slightly bigger, NOT bold */
table.spiritvale-skill-infobox .module-skill-type .sv-type-value {
table.spiritvale-skill-infobox .module-skill-type .sv-type-value {
   margin-top: 0.35em;   /* more space between title + value */
   margin-top: 0 !important; /* spacing handled by gap */
   font-weight: 400;     /* remove bold */
   font-weight: 400;
   font-size: 0.92em;   /* slightly bigger than before */
   font-size: 1.02em;       /* bump this up if you want it “taller” */
   line-height: 1.25;
   line-height: 1.25;