Jump to content

MediaWiki:Common.css: Difference between revisions

From Leaf Essentials
No edit summary
No edit summary
Line 18: Line 18:
background: #5aa2ff44;
background: #5aa2ff44;
}
}
img, .mw-file-element {
@media screen {
   background-color: transparent;
 
  .mw-parser-output img,
  .mw-file-element {
    background: transparent !important;
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
  }
 
   body.skin--responsive .mw-parser-output figure img.mw-file-element {
    max-width: 100%;
    height: auto;
  }
 
}
}

Revision as of 06:13, 30 April 2026

/* CSS placed here will be applied to all skins */
:root {
	--color-surface-0: rgb(28, 28, 37);
	--color-surface-1: rgb(35, 35, 45);
	--color-surface-2: rgb(44, 44, 56);
	--color-surface-3: rgb(52, 52, 68);
	--color-surface-4: rgb(58, 58, 75);
	--color-progressive-oklch__l: 0.7275;
	--color-progressive-oklch__c: 0.1744;
	--color-progressive-oklch__h: 8.91;
}
#f-poweredby,#footer-poweredbyico {
    display: none;
}
.stub-box {
	border: 0;
	border-left: 4px solid #5aa2ff;
	background: #5aa2ff44;
}
@media screen {

  .mw-parser-output img,
  .mw-file-element {
    background: transparent !important;
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
  }

  body.skin--responsive .mw-parser-output figure img.mw-file-element {
    max-width: 100%;
    height: auto;
  }

}