MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 99: | Line 99: | ||
.vector-body { | .vector-body { | ||
margin-right: 0 !important; | margin-right: 0 !important; | ||
} | |||
body::before { | |||
content: "Common.css loaded"; | |||
position: fixed; | |||
top: 0; | |||
right: 0; | |||
z-index: 999999; | |||
background: yellow; | |||
color: black; | |||
padding: 4px 8px; | |||
font-size: 12px; | |||
} | } | ||
Revision as of 16:12, 26 May 2026
/* CSS placed here will be applied to all skins */
/* SIGNAL structured terms. Add to MediaWiki:Common.css or MediaWiki:Vector-2022.css. */
.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;
}
/* Hide Vector 2022 Appearance panel by default */
.vector-appearance-landmark,
#p-appearance,
#vector-appearance,
#vector-page-tools-pinned-container,
#vector-appearance-pinned-container {
display: none !important;
}
/* Reclaim right-side space when Appearance panel is hidden */
.vector-column-end {
display: none !important;
}
.vector-page-titlebar,
.mw-body,
.vector-body {
margin-right: 0 !important;
}
body::before {
content: "Common.css loaded";
position: fixed;
top: 0;
right: 0;
z-index: 999999;
background: yellow;
color: black;
padding: 4px 8px;
font-size: 12px;
}