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 570: Line 570:
   - FIX: ensure border between Module 1 and 2
   - FIX: ensure border between Module 1 and 2
   - Increase + even out padding
   - Increase + even out padding
  - Shrink pill labels to reduce “white space”
   - Module 4 => 2 columns
   - Module 4 => 2 columns
  - NEW: pills shrink in WIDTH (not text size) on mobile
   --------------------------------------------------------- */
   --------------------------------------------------------- */
@media (max-width: 560px) {
@media (max-width: 560px) {
Line 592: Line 592:
   }
   }


   /* Shrink ALL pill labels (Modules 2/3/4) */
   /* Tighten type chunks (OK to keep; doesn't change pill/text size) */
  table.spiritvale-skill-infobox .module-skill-type .sv-type-label,
  table.spiritvale-skill-infobox .skill-source-module .sv-source-pill,
  table.spiritvale-skill-infobox .module-quick-stats .sv-m4-label {
    padding: 0.10em 0.26em;
    border-radius: 5px;
    font-size: 0.60em;
    letter-spacing: 0.02em;
    line-height: 1.05;
  }
 
  /* Tighten Skill Type module spacing */
  table.spiritvale-skill-infobox .module-skill-type .sv-type-grid {
    gap: 0.35em;
    padding: 0.25em;
  }
   table.spiritvale-skill-infobox .module-skill-type .sv-type-chunk {
   table.spiritvale-skill-infobox .module-skill-type .sv-type-chunk {
     padding: 0.10em 0.15em;
     padding: 0.15em 0.15em;
    gap: 0.35em;
   }
   }


  /* Tighten Source module spacing */
   /* Module 4: 2 columns for readability */
  table.spiritvale-skill-infobox .skill-source-module .sv-source-grid {
    gap: 0.40em;
  }
 
   /* Module 4: 2 columns for readability + slightly tighter cells */
   table.spiritvale-skill-infobox .module-quick-stats .sv-m4-grid {
   table.spiritvale-skill-infobox .module-quick-stats .sv-m4-grid {
     grid-template-columns: 1fr 1fr;
     grid-template-columns: 1fr 1fr;
Line 624: Line 603:
     padding: 0.30em;
     padding: 0.30em;
   }
   }
   table.spiritvale-skill-infobox .module-quick-stats .sv-m4-cell {
 
     gap: 0.25em;
  /* NEW: shrink pill WIDTH on mobile (keep padding + font-size unchanged) */
     min-height: 2.05em;
  table.spiritvale-skill-infobox .module-skill-type .sv-type-label,
  table.spiritvale-skill-infobox .skill-source-module .sv-source-pill,
   table.spiritvale-skill-infobox .module-quick-stats .sv-m4-label {
     width: auto !important;          /* stop full-width bars */
    display: inline-block !important; /* size to content */
    max-width: 92%;
     white-space: nowrap;
   }
   }
}
}