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

Template:Def/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 3: Line 3:
*/
*/


/* No pill */
.sv-def {
.sv-def {
   display: inline-block;
   display: inline-block;
Line 8: Line 9:
   white-space: nowrap;
   white-space: nowrap;
   cursor: help;
   cursor: help;
  /* subtle pill */
  padding: 0.08em 0.35em;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
}
}


/* Blue info circle (consistent in light/dark) */
.sv-def-icon {
.sv-def-icon {
   display: inline-block;
   display: inline-block;
Line 23: Line 19:
   text-align: center;
   text-align: center;
   border-radius: 999px;
   border-radius: 999px;
   font-size: 0.75em;
   font-size: 0.75em;
   font-weight: 700;
   font-weight: 800;
 
  background: #0b63c5;
  color: #ffffff;
 
   margin-right: 0.35em;
   margin-right: 0.35em;
  background: rgba(0,0,0,0.10);
  color: inherit;
}
}


/* Keep the text looking link-like but not too loud */
.sv-def-text {
.sv-def-text {
   color: #0b63c5;
   color: #0b63c5;
   border-bottom: 1px dotted currentColor;
   border-bottom: 1px dotted currentColor;
   text-decoration: none;
   text-decoration: none;
}
.sv-def:hover {
  background: rgba(0,0,0,0.09);
  border-color: rgba(0,0,0,0.16);
}
}


Line 45: Line 40:
}
}


/* Missing/error states */
.sv-def--missing,
.sv-def--missing,
.sv-def--error {
.sv-def--error {
   cursor: not-allowed;
   cursor: not-allowed;
   opacity: 0.8;
   opacity: 0.85;
}
}