Template:Def/styles.css
Template page
More actions
/* Template:def/styles.css
Namespace: sv-def only
*/
/* No pill */
.sv-def {
display: inline-block;
vertical-align: baseline;
white-space: nowrap;
cursor: help;
}
/* Icon wrappers (only apply when an icon exists) */
.sv-def-icon,
.sv-def-icon-img {
display: inline-block;
margin-right: 0.35em; /* spacing between icon and text */
vertical-align: -0.1em; /* subtle baseline alignment */
}
/* Blue info circle (consistent in light/dark) */
.sv-def-icon {
width: 1.05em;
height: 1.05em;
line-height: 1.05em;
text-align: center;
border-radius: 999px;
font-size: 0.75em;
font-weight: 800;
background: #0b63c5;
color: #ffffff;
}
/* If file icons render as images, keep them aligned */
.sv-def-icon-img img {
vertical-align: middle;
}
/* 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;
}