MediaWiki:Common.css: Difference between revisions

From The Jolly Contrarian
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
.col4 { column-count: 4;  column-gap: 25px; }
.col4 { column-count: 4;  column-gap: 25px; }
.col5 { column-count: 5;  column-gap: 20px; }
.col5 { column-count: 5;  column-gap: 20px; }
.fontsize { font-size: 80%; }  
.fontsize { font-size: 50%; }  


/**
/**

Revision as of 09:49, 14 October 2022

/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display: none; }
body.Page-main_Page .catlinks { display: none; }
body.mediawiki { font-family: georgia }
#firstHeading{ font-family: arial, sans-serif; font-size: 180%; }
#content h2, #content h3, #content h4, #content h5 { font-family: arial, sans-serif; font-weight: normal; }
#content h2 { font-size: 160%; }
#content h3 { font-size: 140%; }
#content h4 { font-size: 125%; }
#content h5 { font-size: 110%; }

.col2 { column-count: 2;  column-gap: 35px; text-align: justify; text-justify: inter-word;  hyphens: auto; }
.col3 { column-count: 3;  column-gap: 30px; text-align: justify; text-justify: inter-word;  hyphens: auto; }
.col4 { column-count: 4;  column-gap: 25px; }
.col5 { column-count: 5;  column-gap: 20px; }
.fontsize { font-size: 50%; } 

/**
 * Styling for links generated by [[MediaWiki:Edittools]]
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2012-02-29
 */
.mw-charinsert-buttons {
	margin-top: 10px;
	border: 1px solid #aaaaaa;
	padding: 1px;
	text-align: center;
	font-size: 110%;
}
.mw-charinsert-buttons a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}
.client-js .mw-edittools-section {
	display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
	font-size: 0.9em;
	padding-left: 1px;
	padding-right: 1px;
	margin-left: 1px;
}

/* Change the external link icon to an Adobe icon for all PDF files */
.mw-parser-output a[href$=".pdf"],
.mw-parser-output a[href*=".pdf?"],
.mw-parser-output a[href*=".pdf#"],
.mw-parser-output a[href$=".PDF"],
.mw-parser-output a[href*=".PDF?"],
.mw-parser-output a[href*=".PDF#"] {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
	/* @noflip */
	padding-right: 18px;
}

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