MediaWiki:Common.css: Difference between revisions

From OpenJuris

trying a different red
this is not even needed
Tag: Blanking
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Medik sidebar width override — Bootstrap-correct */
@media (min-width: 768px) {
  .skin-medik #mw-navigation {
    flex: 0 0 16%;
    max-width: 16%;
  }
}


@media (min-width: 1200px) {
  .skin-medik #mw-navigation {
    flex: 0 0 12%;
    max-width: 12%;
  }
}
.skin-medik #mw-navigation a,
.skin-medik #mw-navigation a:visited {
  color: #202122;
}
.skin-medik #mw-navigation h3 {
  color: #202122;
  font-weight: 600;
}
/* Hide Bootstrap "Navigation" label in Medik */
.skin-medik #p-navigation-label {
  display: none !important;
}
/* Restore spacing after hiding Navigation label (Medik) */
.skin-medik #mw-navigation nav.nav {
  margin-top: 1.25rem;  /* tweak as needed */
}
/* Sidebar links: gradient hover (Medik) */
.skin-medik #mw-navigation .nav-link {
  color: #202122;              /* normal text */
  transition: background 0.2s ease, color 0.2s ease;
}
/* Sidebar links: gradient text on hover (Medik) */
.skin-medik #mw-navigation .nav-link {
  color: #202122; /* normal body text */
  transition: color 0.2s ease;
}
/* Hover: gradient text */
.skin-medik #mw-navigation .nav-link:hover {
  color: #8E2DE2; /* fallback for browsers without text-clip */
  background: -webkit-linear-gradient(to right, #4A00E0, #8E2DE2);
  background: linear-gradient(to right, #4A00E0, #8E2DE2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Existing links */
.skin-medik .mw-parser-output a:not(.new) {
  color: #8E2DE2;
}
/* Visited links (darker) */
.skin-medik .mw-parser-output a:not(.new):visited {
  color: #5a1fa6;
}
/* Non-existent pages (red links) */
.skin-medik .mw-parser-output a.new {
  color: #b33a3a;
}

Latest revision as of 23:28, 17 December 2025