MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 22: Line 22:
   border-radius: 50% !important;
   border-radius: 50% !important;
   aspect-ratio: 1 !important;
   aspect-ratio: 1 !important;
  object-fit: cover;
}
}
.inline-img img {
.inline-img img {
Line 28: Line 29:
   max-width: 2em !important;
   max-width: 2em !important;
   max-height: 2em !important;
   max-height: 2em !important;
  object-fit: cover;
}
}


Line 37: Line 39:
.mw-logo-wordmark {
.mw-logo-wordmark {
   color: var(--color-base);
   color: var(--color-base);
}
@property --navbox-tint {
  syntax: "<color>";
  initial-value: #00aeff;
  inherits: true;
}
.navbox th,
.navbox-title {
    /* Level 1 color */
    background: color-mix(in lab, var(--background-color-neutral-subtle) 100%, var(--navbox-tint) 20%);
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    /* Level 2 color */
    background: color-mix(in lab, var(--background-color-neutral) 100%, var(--navbox-tint) 20%);
}
}