MediaWiki:Common.css: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
Created page with "→‎CSS placed here will be applied to all skins: table.ambox { margin: 0 10%; →‎10% = Will not overlap with other elements: border: 1px solid #a2a9b1;..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.mw-indicators {
display: none;
}
.infobox {
float: right;
}
.img-topic {
width: 100%;
height: auto; 
}
/* required to display the Template:Notice */


table.ambox {
table.ambox {

Latest revision as of 17:10, 25 February 2023

/* CSS placed here will be applied to all skins */

.mw-indicators {
	display: none;
}

.infobox {
	float: right;
}

.img-topic {
	width: 100%;
	height: auto;   
}


/* required to display the Template:Notice */


table.ambox {
	margin: 0 10%;                  /* 10% = Will not overlap with other elements */
	border: 1px solid #a2a9b1;
	/* @noflip */
	border-left: 10px solid #36c;  /* Default "notice" blue */
	background-color: #fbfbfb;
	box-sizing: border-box;
}

table.ambox-notice {
	/* @noflip */
	border-left: 10px solid #36c;       /* Blue */
}


td.mbox-image {                /* The left image cell */
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}

.ambox td.mbox-image {           /* The left image cell */
	/* @noflip */
	padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
	/* @noflip */
	padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
	padding: 0.25em 0.5em;       /* 0.5em left/right */
}