Permanently protected module

Module:Infobox/styles.css: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* {{pp-template}} */
/* Infobox template style */
/* Infobox template style */



Latest revision as of 07:18, 25 July 2023

/* {{pp-template}} */
/* Infobox template style */

/*New styles on Module:Infobox/styles.css */
.infobox-subbox {
	padding: 0;
	border: none;
	margin: -3px;
	width: auto;
	min-width: 100%;
	font-size: 100%;
	clear: none;
	float: none;
	background-color: transparent;
}

.infobox-3cols-child {
	margin: auto;
}

.infobox .navbar {
	font-size: 100%;
}

.infobox-header,
.infobox-subheader,
.infobox-image,
.infobox-full-data,
.infobox-below {
	text-align: center;
}

/* Original Infobox Styles */

.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

.infobox-above,
.infobox-title,
.infobox-caption {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}

.infobox-title,
.infobox-caption {
	padding: 0.2em;
}

/* .infobox td,
.infobox th */
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar {
	vertical-align: top;
}

.infobox-label,
.infobox-data
/* .infobox td,
.infobox th */ {
	/* @noflip */
	text-align: left;
}

.infobox-navbar {
	/* @noflip */
	text-align: right;
}