Template:Def/styles.css
Template page
More actions
/* Template:def/styles.css
Namespace: sv-def only
*/
/* Inline, no pill — align icon + text cleanly */
.sv-def {
display: inline-flex;
align-items: center;
gap: 0.35em; /* spacing between icon and text (only when icon exists) */
vertical-align: baseline;
white-space: nowrap;
cursor: help;
}
/* Icon wrapper(s) */
.sv-def-icon,
.sv-def-icon-img {
display: inline-flex;
align-items: center;
justify-content: center;
}
/* If file icons render as images, keep them tidy + centered */
.sv-def-icon-img img {
display: block;
}
/* Keep the text looking link-like but not too loud */
.sv-def-text {
color: #0b63c5;
border-bottom: 1px dotted currentColor;
text-decoration: none;
}
.sv-def:hover .sv-def-text {
border-bottom-style: solid;
}
/* Missing/error states */
.sv-def--missing,
.sv-def--error {
cursor: not-allowed;
opacity: 0.85;
}