MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* SIGNAL structured terms | /* SIGNAL structured terms. */ | ||
.signal-term { | .signal-term { | ||
display: inline; | display: inline; | ||
Revision as of 16:39, 26 May 2026
/* CSS placed here will be applied to all skins */
/* SIGNAL structured terms. */
.signal-term {
display: inline;
position: relative;
border-bottom: 1px dotted rgba(71, 85, 105, 0.6);
cursor: help;
white-space: normal;
}
.signal-term:hover,
.signal-term:focus {
border-bottom-color: rgba(15, 23, 42, 0.9);
outline: none;
}
.signal-term-label {
white-space: normal;
}
.signal-term-hovercard {
position: fixed;
z-index: 99999;
width: min(320px, calc(100vw - 32px));
padding: 12px 13px;
border: 1px solid #a2a9b1;
border-radius: 3px;
background: #ffffff;
color: #202122;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
font-family: sans-serif;
font-size: 13px;
line-height: 1.35;
}
.signal-term-hovercard[hidden] {
display: none !important;
}
.signal-term-hovercard-title {
margin: 0 0 2px;
font-size: 14px;
font-weight: 600;
color: #202122;
}
.signal-term-hovercard-subtitle {
margin: 0 0 8px;
font-size: 12px;
color: #54595d;
}
.signal-term-hovercard-detail {
margin: 2px 0;
color: #202122;
}
.signal-term-hovercard-detail strong {
color: #54595d;
font-weight: 600;
}
.signal-term-hovercard-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 10px;
padding-top: 8px;
border-top: 1px solid #eaecf0;
}
.signal-term-hovercard-links a {
color: #36c;
text-decoration: none;
}
.signal-term-hovercard-links a:hover,
.signal-term-hovercard-links a:focus {
text-decoration: underline;
}