Plantilla:FreedImg/styles.css

De Wikisource, la biblioteca libre.
/* Estilos para la plantilla {{FI}} importada hace años pero nunca bien implementada */
/* force images wrapped within this div class to inherit width and ???? */
div.freedImg {
	box-sizing: border-box;
	font-size: 94%;
	margin-top: 0.40em !important;
	margin-right: auto;
	margin-bottom: 0.50em !important;
	margin-left: auto;
	padding: .3px .3px .3px .3px;
}
div.freedImg > p.freedImg {
	width: inherit !important;
	height: auto;
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
}
/*  for original freedImg class using paragraph tag  */
p.freedImg > a, span.freedImg > a {
	width: inherit !important;
	height: auto;
}
/*  for newer newFreedImg class using span tag  */
span#mySpan2 > a {
	width: inherit !important;
	height: auto;
}
.freedImg img[src*="wikipedia"], .freedImg img[src*="wikisource"], .freedImg img[src*="score"], .freedImg img[src*="math"] {
	width: inherit !important;
	height: auto;
}
p.imgCaption, span.imgCaption {
	font-size: 94%;
	line-height: 1.0;
	margin-top: 0.3750em;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0.25em; /* was padding-top: 0.75px; */
	padding-right: 1.00px;
	padding-bottom: 0.75px;
	padding-left: 1.00px;
}
/*  old tests of unconstrained images & params  */
.freedImgClass {
	height: 100% !important;
	margin-top: auto !important;
	margin-right: auto !important;
	margin-bottom: auto !important;
	margin-left: auto !important;
	overflow: hidden !important;
	text-align: center !important;
	width: 100% !important;
}