MediaWiki:Common.css: Difference between revisions

From ikev.in/w
(Created page with "→‎CSS placed here will be applied to all skins: @import url( 'https://fonts.googleapis.com/css2?family=Montserrat '); /* Changes the default font used for MediaWiki to Mon...")
 
No edit summary
 
Line 11: Line 11:
#content h2 {
#content h2 {
   font-family: "Montserrat", sans-serif;
   font-family: "Montserrat", sans-serif;
}
/* CSS placed here by Kevin to make images responsive to reader's screen size https://www.mediawiki.org/wiki/Topic:Tuubagqalz9vk2m9 */
/* To make images responsive */
.res-img img {
max-width:100%;
height:auto;
}
}

Latest revision as of 17:17, 13 October 2021

/* CSS placed here will be applied to all skins */
@import url( 'https://fonts.googleapis.com/css2?family=Montserrat ');

/* Changes the default font used for MediaWiki to Montserrat (does not include headings or monospaced text): */
body {
  font-family: "Montserrat", sans-serif;
}

/* Changes the default font used for MediaWiki headings to Montserrat: */
#content h1, 
#content h2 {
  font-family: "Montserrat", sans-serif;
}

/* CSS placed here by Kevin to make images responsive to reader's screen size https://www.mediawiki.org/wiki/Topic:Tuubagqalz9vk2m9 */

/* To make images responsive */
.res-img img {
	max-width:100%;
	height:auto;
}