Template:Def/styles.css
Template page
More actions
/* Template:def/styles.css
Namespace: sv-def only
*/
/* Inline, flush with normal text */
.sv-def {
display: inline;
line-height: inherit;
white-space: nowrap; /* keep icon + label together */
cursor: help;
}
/* Icon wrappers only exist 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.125em; /* nudge down to visually center with text */
}
/* File icons rendered as images */
.sv-def-icon-img img {
height: 1em;
width: auto;
vertical-align: middle;
}
/* Missing file / missing record icon ("?") */
.sv-def-icon--missing {
font-weight: 700;
}
/* 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;
}