Template:Def/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
*/ | */ | ||
/* Inline, flush with text | /* Inline, flush with normal text */ | ||
.sv-def { | .sv-def { | ||
display: inline | display: inline; | ||
line-height: inherit; | |||
white-space: nowrap; /* keep icon + label together */ | |||
line-height: inherit; | |||
white-space: | |||
cursor: help; | cursor: help; | ||
} | } | ||
/* Icon | /* Icon wrappers only exist when an icon exists */ | ||
.sv-def-icon, | .sv-def-icon, | ||
.sv-def-icon-img { | .sv-def-icon-img { | ||
display: inline- | 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 { | .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 { | .sv-def-text { | ||
color: #0b63c5; | color: #0b63c5; | ||