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.
/* Also hide title that appears inside the content area */
.page-Main_Page h1.firstHeading {
display: none !important;
}
/*---------------template style--------------------------------*/
.hlf-wrap { width:100%; font-family: "Helvetica Neue", Arial, sans-serif; color:#222; border-collapse:separate;}
.hlf-left { width:68%; vertical-align:top; padding-right:10px;}
.hlf-right { width:32%; vertical-align:top; padding-left:10px; }
.hlf-heading { font-size:16px; font-weight:800; margin-bottom:3px; }
.hlf-intro { font-size:14px; color:#333; margin-bottom:8px; text-align:justify;}
.hlf-langtabs { margin-bottom:10px; }
.hlf-langtabs a { background:#f3f7fb; border:1px solid #dceef9; padding:4px 8px; border-radius:4px; margin-right:6px; text-decoration:none; color:#0b63b8; font-size:13px; }
.hlf-thumbs { margin-top:10px; display:flex; gap:8px; }
.hlf-thumb { width:72px; height:54px; object-fit:cover; border:1px solid #ddd; border-radius:4px; display:block; }
.hlf-flagbox {display:flex; align-items:center; gap:12px; }
.hlf-flagbox img { display:block; margin-top:5px;}
.hlf-meta { border:1px solid #e6e6e6; border-radius:6px; background:#fff; padding:6px; margin-bottom:10px; line-height:1.6; font-size:14px; padding-left:8px;}
.hlf-map { width:100%; height:auto; display:block; border-radius:4px; margin-bottom:10px;}
.hlf-main img { width:100%; height:700px; display:block; border-radius:4px;}
.hlf-blue { background:#e6f5fb; border:1px solid #cfeef8; color:#114a66; border-radius:6px; padding:10px; font-size:13px; line-height:1.45; margin-bottom:10px; text-align: justify; margin-top:12px;}
.hlf-summary { border-top:1px solid #e8e8e8; margin-top:14px; padding-top:14px; }
@media (max-width:900px) {
.hlf-left, .hlf-right { display:block; width:100% !important; }
.hlf-mainimg { height:auto; }
.hlf-thumbs { flex-wrap:wrap; gap:6px; }
}
.hlf-map-rounded {
border-radius: 8px;
overflow: hidden; /* THIS is the key */
border: 1px solid #c8ccd1;
background: #f8f9fa;
}
/* Leaflet map must fill container */
.hlf-map-rounded .leaflet-container {
border-radius: 8px;
}
iframe{
width:100%; !important;
height:400px; !important;
border:1px solid #ddd; !important;
border-radius:8px; !important;
}
/*------------------end---------------------*/
/* 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;
}
/*-------------------------blue tick end------------------*/