Template:Def/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
*/ | */ | ||
/* No pill */ | |||
.sv-def { | .sv-def { | ||
display: inline-block; | display: inline-block; | ||
| Line 8: | Line 9: | ||
white-space: nowrap; | white-space: nowrap; | ||
cursor: help; | cursor: help; | ||
} | } | ||
/* Blue info circle (consistent in light/dark) */ | |||
.sv-def-icon { | .sv-def-icon { | ||
display: inline-block; | display: inline-block; | ||
| Line 23: | Line 19: | ||
text-align: center; | text-align: center; | ||
border-radius: 999px; | border-radius: 999px; | ||
font-size: 0.75em; | font-size: 0.75em; | ||
font-weight: | font-weight: 800; | ||
background: #0b63c5; | |||
color: #ffffff; | |||
margin-right: 0.35em; | margin-right: 0.35em; | ||
} | } | ||
/* Keep the text looking link-like but not too loud */ | |||
.sv-def-text { | .sv-def-text { | ||
color: #0b63c5; | color: #0b63c5; | ||
border-bottom: 1px dotted currentColor; | border-bottom: 1px dotted currentColor; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
| Line 45: | Line 40: | ||
} | } | ||
/* Missing/error states */ | |||
.sv-def--missing, | .sv-def--missing, | ||
.sv-def--error { | .sv-def--error { | ||
cursor: not-allowed; | cursor: not-allowed; | ||
opacity: 0. | opacity: 0.85; | ||
} | } | ||