MediaWiki:Wt/cu/Common.css

From Wikimedia Incubator

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Fixes the main page */
.ns-0 #content {
 background: #FFFFFF;
 }

body.page-главьна_страница #siteSub,
body.page-главьна_страница h1.firstHeading {
 display: none !important;
}

#interwiki-completelist {
 font-weight: bold;
}

/* Underline h3 and h4 */
#mw-content-text h3 {
	width: auto; 
   	text-align: left;
	border-bottom: dotted 1px #aaa;
	line-height: 2;
}

.ns-0 h4, .ns-0 h5, .ns-0 h6 {
	width: auto; 
   	text-align: left;
	border-bottom: dotted 1px #ddd;
}

/* Drop-down boxes */
.box {
	border: 1px solid #aaa;
	overflow: auto;
	background-color: #F7F8FF;
}

.box table {
	border-spacing: 0;
	width: 100%;
	text-align:left;
	background:#F7F8FF;
}

/* IPA */
.IPA {
	font-family: DejaVu Sans,Segoe UI,Segoe UI Symbol,Lucida Grande,Arial Unicode MS,Lucida Sans Unicode,Charis SIL,Doulos SIL,Gentium,GentiumAlt,Adobe Pi Std,Code2000,Chrysanthi Unicode,TITUS Cyberbit Basic,Bitstream Cyberbit,Hiragino Kaku Gothic Pro,Matrix Unicode,sans-serif ;
	text-decoration: none ;
}

/* Wikimedia Project Links */
#links_wikimedia td {
	background:#EEE;
	border:1px solid #AAA;
	background: #EEF;
	padding:0.3em;
}

/* Messagebox templates */
.messagebox {
 border: 1px solid #aaa;
 background-color: #f9f9f9;
 width: 80%;
 margin: 0 auto 1em auto;
 padding: .2em;
}
.messagebox.merge {
 border: 1px solid #c0b8cc;
 background-color: #f0e5ff;
 text-align: center;
}
.messagebox.cleanup {
 border: 1px solid #9f9fff;
 background-color: #efefff;
 text-align: center;
}
.messagebox.standard-talk {
 border: 1px solid #c0c090;
 background-color: #f8eaba;
}
.messagebox.nested-talk {
 border: 1px solid #c0c090;
 background-color: #f8eaba;
 width: 100%;
 margin: 2px 0 0 0;
 padding: 2px;
}
.messagebox.small {
 width: 238px;
 font-size: 85%;
 float: right;
 clear: both;
 margin: 0 0 1em 1em;
 line-height: 1.25em;
}
.messagebox.small-talk {
 width: 238px;
 font-size: 85%;
 float: right;
 clear: both;
 margin: 0 0 1em 1em;
 line-height: 1.25em;
 background: #F8EABA;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
 border: none;
 padding: 0.25em 0.9em; /* 0.9em left/right */
 width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
 border: none;
 padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
 text-align: center;
}
td.mbox-imageright { /* The right image cell */
 border: none;
 padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
 text-align: center;
}
.mbox-empty-cell { /* An empty narrow cell */
 border: none;
 padding: 0px;
 width: 1px;
}

/* Article message box styles */
table.ambox {
 margin: 0px 10%; /* 10% = Will not overlap with other elements */
 border: 1px solid #aaa;
 border-left: 10px solid #1e90ff; /* Default "notice" blue */
 background: #fbfbfb;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
 margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
 padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
 padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
 padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}

.ambox-notice {
 border-left: 10px solid #1e90ff; /* Blue */
}
.ambox-speedy {
 border-left: 10px solid #b22222; /* Red */
 background: #fee; /* Pink */
}
.ambox-delete {
 border-left: 10px solid #b22222; /* Red */
}
.ambox-content {
 border-left: 10px solid #f28500; /* Orange */
}
.ambox-style {
 border-left: 10px solid #f4c430; /* Yellow */
}
.ambox-move {
 border-left: 10px solid #9932cc; /* Purple */
}
.ambox-protection {
 border-left: 10px solid #bba; /* Gray-gold */
}

/* Image message box styles */
table.imbox {
 margin: 4px 10%;
 border-collapse: collapse;
 border: 3px solid #1e90ff; /* Default "notice" blue */
 background: #fbfbfb;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
 margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
}
.mbox-inside .imbox { /* For imboxes inside other templates. */
 margin: 4px;
}

.imbox-notice {
 border: 3px solid #1e90ff; /* Blue */
}
.imbox-speedy {
 border: 3px solid #b22222; /* Red */
 background: #fee; /* Pink */
}
.imbox-delete {
 border: 3px solid #b22222; /* Red */
}
.imbox-content {
 border: 3px solid #f28500; /* Orange */
}
.imbox-style {
 border: 3px solid #f4c430; /* Yellow */
}
.imbox-move {
 border: 3px solid #9932cc; /* Purple */
}
.imbox-protection {
 border: 3px solid #bba; /* Gray-gold */
}
.imbox-license {
 border: 3px solid #88a; /* Dark gray */
 background: #f7f8ff; /* Light gray */
}
.imbox-featured {
 border: 3px solid #cba135; /* Brown-gold */
}

/* Category message box styles */
.cmbox {
 margin: 3px 10%;
 border-collapse: collapse;
 border: 1px solid #aaa;
 background: #DFE8FF; /* Default "notice" blue */
}

.cmbox-notice {
 background: #D8E8FF; /* Blue */
}
.cmbox-speedy {
 margin-top: 4px;
 margin-bottom: 4px;
 border: 4px solid #b22222; /* Red */
 background: #FFDBDB; /* Pink */
}
.cmbox-delete {
 background: #FFDBDB; /* Red */
}
.cmbox-content {
 background: #FFE7CE; /* Orange */
}
.cmbox-style {
 background: #FFF9DB; /* Yellow */
}
.cmbox-move {
 background: #E4D8FF; /* Purple */
}
.cmbox-protection {
 background: #EFEFE1; /* Gray-gold */
}

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

.ombox-notice {
 border: 1px solid #aaa; /* Gray */
}
.ombox-speedy {
 border: 2px solid #b22222; /* Red */
 background: #fee; /* Pink */
}
.ombox-delete {
 border: 2px solid #b22222; /* Red */
}
.ombox-content {
 border: 1px solid #f28500; /* Orange */
}
.ombox-style {
 border: 1px solid #f4c430; /* Yellow */
}
.ombox-move {
 border: 1px solid #9932cc; /* Purple */
}
.ombox-protection {
 border: 2px solid #bba; /* Gray-gold */
}

/* Talk page message box styles */
.tmbox {
 margin: 4px 10%;
 border-collapse: collapse;
 border: 1px solid #c0c090; /* Default "notice" gray-brown */
 background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
 margin: 2px 0; /* class ensures that this declaration overrides other */
 width: 100%; /* For Safari and Opera */ /* styles (including mbox-small above) */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
 line-height: 1.5em; /* also "nested", so reset styles that are */
 font-size: 100%; /* set in "mbox-small" above. */
}

.tmbox-speedy {
 border: 2px solid #b22222; /* Red */
 background: #fee; /* Pink */
}
.tmbox-delete {
 border: 2px solid #b22222; /* Red */
}
.tmbox-content {
 border: 2px solid #f28500; /* Orange */
}
.tmbox-style {
 border: 2px solid #f4c430; /* Yellow */
}
.tmbox-move {
 border: 2px solid #9932cc; /* Purple */
}
.tmbox-protection,
.tmbox-notice {
 border: 1px solid #c0c090; /* Gray-brown */
}

/* Disambig and set index box styles */
.dmbox {
 clear: both;
 margin: 0.9em 1em;
 border-top: 1px solid #ccc;
 border-bottom: 1px solid #ccc;
 background: transparent;
}

/* Footer and header message box styles */
.fmbox {
 clear: both;
 margin: 0.2em 0;
 width: 100%;
 border: 1px solid #aaa;
 background: #f9f9f9; /* Default "system" gray */
}
.fmbox-system {
 background: #f9f9f9;
}
.fmbox-warning {
 border: 1px solid #8B475D;
 background: #FDF2EE;
}
.fmbox-editnotice {
 background: transparent;
}
/* Div based "warning" style fmbox messages. */
.mw-warning-with-logexcerpt,
.mw-lag-warn-high,
.mw-cascadeprotectedwarning,
#mw-protect-cascadeon {
 clear: both;
 margin: 0.2em 0;
 border: 1px solid #8B475D;
 background: #FFFFFE;
 padding: 0.25em 0.9em;
}

/* Div based "system" style fmbox messages. Used in
 [[en:MediaWiki:Noarticletext]] and [[en:MediaWiki:Readonly lag]]. */
.mw-lag-warn-normal,
.noarticletext,
.fmbox-system {
 clear: both;
 margin: 0.2em 0;
 border: 1px solid #aaa;
 background: #f9f9f9;
 padding: 0.25em 0.9em;
}

/* These mbox-small classes must be placed after all other
 ambox/tmbox/ombox etc classes. "body.mediawiki" is so
 they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small { /* For the "small=yes" option. */
 clear: right;
 float: right;
 margin: 4px 0 4px 1em;
 width: 238px;
 font-size: 88%;
 line-height: 1.25em;
}
.mbox-small-left { /* For the "small=left" option. */
 margin: 4px 1em 4px 0;
 width: 238px;
 border-collapse: collapse;
 font-size: 88%;
 line-height: 1.25em;
}

/* For template documentation */
.template-documentation {
 clear: both;
 margin: 1em 0 0 0;
 border: 1px solid #aaa;
 background-color: #ecfcf4;
 padding: 5px;
}

.thumbinner {
 min-width: 100px;
}

/* Various */
.wklogogrey {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png");
}
.assistant {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/6/67/Nuvola_apps_khelpcenter_25%25.png");
}
.headergrey {
	background: #f0f0f0 url("//upload.wikimedia.org/wikipedia/commons/1/1b/Wikibar2.png") no-repeat right;
	margin: 0;
	font-size: 120%;
	font-weight: bold;
	border: 1px solid #a3b0bf;
	text-align: left;
	color: #000;
	padding: .15em .4em;
}
.bordergrey {
	border: 1px solid #aaa;
	background: #fcfcfc;
	vertical-align: top;
	padding: 7px;
	margin-bottom: .6em;
}
.welcome_border_link {
	text-align: right;
	margin-right: .5em;
	font-size: xx-small;
}

/* EditToolbar gadget styles */

.custom-toolbar {
	clear: both;
	margin-bottom: 0.2em;
	line-height: 1.9em;
}
.custom-toolbar select {
	margin-right: 0.5em;
}
.buttonlinks a {
	color: #333333;
	background-color: #E0EEF7;
	background: linear-gradient(to bottom, #F4F9FB, #E0EEF7);
	font-size: 0.9em;
	text-decoration: none;
	border: 1px solid #e0e0e0;
	padding: 0.1em;
}
.buttonlinks a:hover, .buttonlinks a:active {
	color: #000000;
	border-color: #c0c0c0;
}

/* MediaWiki:Edittools */
.symbol-display {
	float: right;
	clear: right;
	border: 1px solid #eee;
	line-height: 1;
	text-align: center;
	margin-bottom: 1em;
}
.symbol-display .symbol {
	font-size: 500%;
	padding: 0.15em 0.05em;
}
.symbol-display .information {
	background-color: #eee;
	padding: 0.15em 0.05em;
}
.symbol-display .codepoint {
	font-weight: bold;
	font-family: monospace;
}