Template:Def/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
white-space: nowrap; | white-space: nowrap; | ||
cursor: help; | 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) */ | /* Blue info circle (consistent in light/dark) */ | ||
.sv-def-icon { | .sv-def-icon { | ||
width: 1.05em; | width: 1.05em; | ||
height: 1.05em; | height: 1.05em; | ||
| Line 25: | Line 32: | ||
background: #0b63c5; | background: #0b63c5; | ||
color: #ffffff; | color: #ffffff; | ||
} | |||
/* If file icons render as images, keep them aligned */ | |||
.sv-def-icon-img img { | |||
vertical-align: middle; | |||
} | } | ||