Template:Def/styles.css
Template page
More actions
/* Template:def/styles.css
Namespace: sv-def only
*/
.sv-def {
display: inline-block;
vertical-align: baseline;
white-space: nowrap;
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);
}
.sv-def-icon {
display: inline-block;
width: 1.05em;
height: 1.05em;
line-height: 1.05em;
text-align: center;
border-radius: 999px;
font-size: 0.75em;
font-weight: 700;
margin-right: 0.35em;
background: rgba(0,0,0,0.10);
color: inherit;
}
.sv-def-text {
color: #0b63c5;
border-bottom: 1px dotted currentColor;
text-decoration: none;
}
.sv-def:hover {
background: rgba(0,0,0,0.09);
border-color: rgba(0,0,0,0.16);
}
.sv-def:hover .sv-def-text {
border-bottom-style: solid;
}
.sv-def--missing,
.sv-def--error {
cursor: not-allowed;
opacity: 0.8;
}