Template:Ombox/styles.css: Difference between revisions

From the Audiovisual Identity Database, the motion graphics museum
Content added Content deleted
(Created page with "→‎Other pages message box styles: ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; →‎Default "notice" gray: background-color: #f8f9f...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Other pages message box styles */
/* Other pages message box styles */
ombox {
table.ombox {
margin: 4px 10%;
margin: 4px 10%;
border-collapse: collapse;
border-collapse: collapse;
Line 8: Line 8:
}
}


ombox-notice {
table.ombox-notice {
border: 1px solid #a2a9b1; /* Gray */
border: 1px solid #a2a9b1; /* Gray */
}
}
ombox-speedy {
table.ombox-speedy {
border: 2px solid #b32424; /* Red */
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
background-color: #fee7e6; /* Pink */
}
}
ombox-delete {
table.ombox-delete {
border: 2px solid #b32424; /* Red */
border: 2px solid #b32424; /* Red */
}
}
ombox-content {
table.ombox-content {
border: 1px solid #f28500; /* Orange */
border: 1px solid #f28500; /* Orange */
}
}
ombox-style {
table.ombox-style {
border: 1px solid #fc3; /* Yellow */
border: 1px solid #fc3; /* Yellow */
}
}
ombox-move {
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
border: 1px solid #9932cc; /* Purple */
}
}
ombox-protection {
table.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
border: 2px solid #a2a9b1; /* Gray-gold */
}
/* These mbox-small classes must be placed after all other
ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small { /* For the "small=yes" option. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}

html body.mediawiki .mbox-small-left { /* For the "small=left" option. */
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}

Latest revision as of 02:44, 29 May 2021

/* Other pages message box styles */
table.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;    /* Default "notice" gray */
	background-color: #f8f9fa;
	box-sizing: border-box;
}

table.ombox-notice {
	border: 1px solid #a2a9b1;    /* Gray */
}
table.ombox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}
table.ombox-delete {
	border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
	border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
	border: 1px solid #fc3;       /* Yellow */
}
table.ombox-move {
	border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
	border: 2px solid #a2a9b1;    /* Gray-gold */
}
/* These mbox-small classes must be placed after all other
   ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
   they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
	/* @noflip */
	clear: right;
	/* @noflip */
	float: right;
	/* @noflip */
	margin: 4px 0 4px 1em;
	box-sizing: border-box;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}

html body.mediawiki .mbox-small-left {   /* For the "small=left" option. */
	/* @noflip */
	margin: 4px 1em 4px 0;
	box-sizing: border-box;
	overflow: hidden;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.