User:Johan G/common.css

From FlightGear wiki
Jump to navigation Jump to search

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.
/*
Will be used for testing styles for the messagebox meta templates

See also
========
* User:Johan G/Messagebox style sandbox

* mediawikiwiki:Manual:Coding conventions/CSS
* mediawikiwiki:Manual:Skin configuration#User CSS

* http://en.wikipedia.org/w/index.php?title=Wikipedia:Ambox_classes&oldid=547290869

*/

/* On top of sections, file pages, user pages and article pages */
.mbox-top {
	margin: 1px;
	margin-left: 10%;
	border: 1px solid;
	border-left: 15px;
	width: 80%;
}

/* On top of talk pages and category pages and within file information boxes */
.mbox-box {
	margin: 1px;
	margin-left: 10%;
	border: 1px solid;
	width: 80%;
}

/* Within sections */
.mbox-section {
	margin: 1px;
	margin-left: 0px;
	border: 1px solid;
	border-left: 10px;
	width: 80%;
}

.mbox-top-immidiate {
	margin: 2px;
	background-color: #FF5;
	border: 2px solid #000;
	border-left: 15px;
}

.mbox-box-immidiate {
	margin: 2px;
	background-color: #FF5;
	border: 2px solid #000;
}

.mbox-top-danger {
	background-color: #ffe0d0;
	border: #F42;
}

.mbox-box-danger {
	background-color: #ffe0d0;
	border: #F42;
}

.mbox-section-danger {
	background-color: #ffe0d0;
	border: #F42;
}

.mbox-top-caution {
	background-color: #fff;
	border: #FC2;
}

.mbox-box-caution {
	background-color: #fff;
	border: #FC2;
}

.mbox-section-caution {
	background-color: #fdf8d8;
	border: #FC2;
}

.mbox-top-notice {
	background-color: #fff;
	border: #0CC;
}

.mbox-box-notice {
	background-color: #fff;
	border: #0CC;
}

.mbox-section-notice {
	background-color: #fdf8d8;
	border: #FC2;
}

.mbox-top-tip {
	background-color: #fff;
	border: #0C6;
}

.mbox-box-tip {
	background-color: #fff;
	border: #0C6;
}

.mbox-section-tip {
	background-color: #e0ffe8;
	border: #0C6;
}

.mbox-top-protected {
	background-color: #EEE;
	border: #BBB;
}

.mbox-box-protected {
	background-color: #EEE;
	border: #BBB;
}

.mbox-top-text {
	padding: 0.25em 1em;
}

.mbox-box-text {
	text-align: center;
	padding: 0.25em 1em;
}

.mbox-section-text {
	padding: 0em 0.5em;
}

.mbox-image {
	padding: 0em 0.5em;
	padding-right: 0px;
	vertical-align: top;
	/* Ugly hack that may not work in all browsers.  Might have to be set in the meta template. */
	width: 1px;
}