MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Justify all wiki article text */
#mw-content-text, .mw-body-content, .mw-parser-output {
text-align: justify;
}
/* --- VERIFIED BADGE POPUP STYLE --- */
/* Keep badge inline with heading and vertically centered */
.verified-badge {
display: inline-block;
vertical-align: middle;
position: relative;
cursor: pointer;
}
/* Small visible badge icon (inline with title) */
.badge-icon {
display: inline-block;
vertical-align: middle;
}
/* Popup container */
.verified-popup {
opacity: 0;
visibility: hidden;
position: absolute;
top: 28px;
left: 50%;
transform: translateX(-50%) translateY(4px);
background-color: #fff;
border: 1px solid #e1e8ed;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
padding: 12px 14px;
width: 300px;
color: #0f1419;
font-family: "Helvetica Neue", Arial, sans-serif;
font-size: 14px;
z-index: 9999;
transition: all 0.20s ease;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Reveal popup on hover (or keyboard focus if you add focus styles later) */
.verified-badge:hover .verified-popup,
.verified-badge:focus-within .verified-popup {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
/* Title line (appears above description) */
.popup-title {
font-weight: 700;
font-size: 15px;
margin-bottom: 8px;
color: #0f1419;
line-height: 1.2;
}
/* Description: icon + text, icon visually aligns to start of first line */
.popup-description {
display: flex;
align-items: flex-start; /* ensures icon aligns with first line top */
gap: 8px;
color: #536471;
font-size: 14px;
line-height: 1.4;
}
/* Inline verified icon placed inside popup-description */
.inline-verified-icon {
width: 16px;
height: 16px;
flex-shrink: 0;
margin-top: 2px; /* nudge so it lines up with the first text baseline */
}
/* Make sure long description text wraps nicely */
.popup-text {
overflow-wrap: anywhere;
}
/* Learn more link style */
.popup-text a {
color: #1d9bf0;
text-decoration: none;
margin-left: 4px;
}
.popup-text a:hover {
text-decoration: underline;
}