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
Tags: Reverted Mobile edit Mobile web edit
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 42: Line 42:
}
}


/* Text behaves like normal prose by default, but becomes link-like on hover.
/* Default: normal prose (even if text is an <a>) */
Supports BOTH shapes:
.sv-def-text,
1) <a class="sv-def-text">
2) <span class="sv-def-text"><a>
*/
 
.sv-def-text{
color:inherit;
border-bottom:none;
text-decoration:none;
}
 
.sv-def a.sv-def-text,
.sv-def a.sv-def-text,
.sv-def .sv-def-text a{
.sv-def .sv-def-text a{
color:inherit;
color:inherit;
text-decoration:none;
border-bottom:none;
border-bottom:none;
text-decoration:none;
}
}


/* Hover: link-like (TemplateStyles-safe) */
.sv-def:hover .sv-def-text,
.sv-def:hover .sv-def-text,
.sv-def:hover a.sv-def-text,
.sv-def:hover a.sv-def-text,
.sv-def:hover .sv-def-text a{
.sv-def:hover .sv-def-text a{
color:var(--color-link, currentColor);
color:#0b63f0;
border-bottom:1px dotted currentColor;
border-bottom:1px dotted currentColor;
text-decoration:none;
text-decoration:none;
}
}


/* Missing/error states */
.sv-def--missing,
.sv-def--missing,
.sv-def--error{
.sv-def--error{
cursor:not-allowed;
cursor:not-allowed;
opacity:0.90;
opacity:0.90;
}
/* Don’t advertise missing/error as links on hover */
.sv-def--missing:hover .sv-def-text,
.sv-def--missing:hover a.sv-def-text,
.sv-def--missing:hover .sv-def-text a,
.sv-def--error:hover .sv-def-text,
.sv-def--error:hover a.sv-def-text,
.sv-def--error:hover .sv-def-text a{
color:inherit;
border-bottom:none;
text-decoration:none;
}
}