Template:Ombox/styles.css: Difference between revisions

From The Audiovisual Identity Database
Jump to navigation Jump to search
imported>Hb1290
(Created page with "table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; →‎Default "notice" gray: background: #f8f9fa; } table.ombox-noti...")
imported>Hb1290
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Other pages message box styles */
table.ombox {
table.ombox {
    margin: 4px 10%;
margin: 4px 10%;
    border-collapse: collapse;
border-collapse: collapse;
    border: 1px solid #a2a9b1;       /* Default "notice" gray */
border: 1px solid #a2a9b1;   /* Default "notice" gray */
    background: #f8f9fa;
background-color: #f8f9fa;
box-sizing: border-box;
}
}


table.ombox-notice {
table.ombox-notice {
    border: 1px solid #a2a9b1;       /* Gray */
border: 1px solid #a2a9b1;   /* Gray */
}
}
table.ombox-speedy {
table.ombox-speedy {
    border: 2px solid #b32424;    /* Red */
border: 2px solid #b32424;    /* Red */
    background: #fee;             /* Pink */
background-color: #fee7e6;   /* Pink */
}
}
table.ombox-delete {
table.ombox-delete {
    border: 2px solid #b32424;    /* Red */
border: 2px solid #b32424;    /* Red */
}
}
table.ombox-content {
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
border: 1px solid #f28500;    /* Orange */
}
}
table.ombox-style {
table.ombox-style {
    border: 1px solid #fc3;   /* Yellow */
border: 1px solid #fc3;       /* Yellow */
}
}
table.ombox-move {
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
border: 1px solid #9932cc;    /* Purple */
}
}
table.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;
}