MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 140: Line 140:
   background-size: contain;
   background-size: contain;
   margin-left: 6px;
   margin-left: 6px;
}
/* Hide the marker */
.profile-verified-flag {
  display: none;
}
/* If page contains the hidden verified flag, add badge to title */
body:has(.profile-verified-flag) .mw-page-title-main::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  background-image: url("/images/2/22/Verified.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
}