Difference between revisions of "MediaWiki:Common.css"

From GargWiki
Jump to: navigation, search
(will revert if this doesn't work)
Line 38: Line 38:
 
padding-left: 1px;
 
padding-left: 1px;
 
padding-right: 1px;
 
padding-right: 1px;
 +
}
 +
 +
/* To make images responsive */
 +
.res-img img {
 +
max-width:100%;
 +
height:auto;
 
}
 
}

Revision as of 20:10, 27 October 2025

/* CSS placed here will be applied to all skins */
/**
 * Styling for links generated by [[MediaWiki:Edittools]]
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2020-03-17
 */
.mw-charinsert-buttons {
	border: 1px solid #aaa;
	margin-top: 10px;
	padding: 1px;
	font-size: 1.1em;
	text-align: center;
}

.mw-charinsert-buttons a {
	background-color: #cde !important;
	color: #000;
	border: thin #069 outset;
	padding: 0 1px 1px;
	font-weight: bold;
	font-size: 0.9em;
	text-decoration: none;
}

.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;
	margin-left: 1px;
	padding-left: 1px;
	padding-right: 1px;
}

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