MediaWiki:Monobook.css

From MI2wiki
Revision as of 18:01, 25 January 2018 by Soul (talk | contribs)
Jump to navigationJump 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS Placed here will Affect users of the MonoBook skin */
/*** Logo properties*/
#p-logo {
	top: 0;
	left: 0;
	position: absolute;
	/*needed to use z-index */
	z-index: 3;
	height: 137px;
	width: 152px;
	overflow: visible;
}
#p-logo h5 {
	display: none;
}
#p-logo a,#p-logo a:hover {
	display: block;
	height: 137px;
	width: 152px;
	background-repeat: no-repeat;
	background-position: 35% 50% !important;
	text-decoration: none;
}
.pBody {
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
}
/*Shadows*/
.generated-sidebar, #p-search, #p-tb {
	-moz-box-shadow:1px 1px 3px #333;
	-webkit-box-shadow:1px 1px 3px #333;
	box-shadow:1px 1px 3px #333;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
	border-top-right-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
}
#p-cactions ul li {
	-moz-box-shadow:1px 1px 3px #333;
	-webkit-box-shadow:1px 1px 3px #333;
	box-shadow:1px 1px 3px #333;
}
/*** Side Menu ***/
.portlet h5 {
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
	border-top-right-radius: 10px;
	text-transform:capitalize;
	padding-right:150px;
	background:#333;
	color:white;
	border: 1px solid #333;
	border-color:#333;
}
.portlet {
	margin: 0 1px .5em;
}
#searchBody {
	border-color:#666;
	border-top-color:#333;
	background-color:#f9f9f9;
}
.generated-sidebar .pBody, #p-tb .pBody, #p-wikicities-nav .pBody, #p-lang .pBody, #p-dexlinks .pBody {
	border-color:#666;
	border-top-color:#333;
	background-color:#f9f9f9;
}
/* background */
body {
	background: #f6ecff;
}
/* User Panel */
li#pt-userpage, li#pt-anonuserpage, li#pt-login {
	background-image:none;
}
#p-personal li a {
	color:#000;
	text-shadow: 1px 1px #e8ddff;
	border-left:1px solid #666;
	padding:2px 5px;
	margin-right:-11px;
	margin-left:-4px;
}
#p-personal li#pt-userpage a {
	border-left:0;
	margin-left:0;
	color:#c262ff;
	font-weight:bold;
}
#p-personal li a:hover, #p-personal li.active a:hover {
	background-color:#c4a8ff;
	-moz-box-shadow:0 0 0.5em 0.1em #c4a8ff;
	-webkit-box-shadow:0 0 0.5em 0.1em #c4a8ff;
	box-shadow:0 0 0.5em 0.1em #c4a8ff;
	text-shadow:#999 1px 1px 1px;
	text-decoration:none;
}
#p-personal li#pt-userpage a:hover {
	-webkit-border-top-left-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	border-radius:10px 0 0 10px;
	color:white;
}
li#pt-logout a:hover {
	background-color:#FFAC93;
	-moz-box-shadow:0 0 0.5em 0.1em #FFAC93;
	-webkit-box-shadow:0 0 0.5em 0.1em #FFAC93;
	box-shadow:0 0 0.5em 0.1em #FFAC93;
	-webkit-border-top-right-radius:10px;
	-webkit-border-bottom-right-radius:10px;
	border-radius:0 10px 10px 0;
	text-shadow:#999 1px 1px 1px;
	text-decoration:none;
}
/* It contains nothing and deforms the list of links */
li#pt-fbuser {
	display:none;
}
/* Wall, is set to visibility: hidden, and brings up the gap */
#pt-wall-notifications .prehide {
	display:none;
}
#p-personal li#pt-wall-notifications {
	margin-left:0px;
}
#pt-wall-notifications a.wall-notifications-monobook {
	margin-left:1em;
}
/* tabs */
#p-cactions li, #p-cactions li a {
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	border-radius:10px 10px 0 0;
}
#p-cactions li, #p-cactions li.selected {
	border-top:1px solid #666;
	border-left:1px solid #666;
	border-right:1px solid #666;
	border-bottom:none;
	padding-top:2px;
	padding-bottom:2px;
	font-size:13px;
	font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;
}
#p-cactions li a, #p-cactions li.selected a {
	background-color:transparent;
	color:#333;
	text-transform:none;
}
#p-cactions li.selected, #p-cactions li.selected a, #p-cactions li a:hover, #p-cactions li:hover {
	background-color:#FFFFFF;
	color:#000000;
}
li#ca-edit, li#ca-history, li#ca-delete, li#ca-move, li#ca-protect, li#ca-unprotect, li#ca-watch, li#ca-unwatch, li#ca-addsection {
	background-color:#e8ddff;
}
/* Images for Tabs */
li#ca-nstab-main a, li#ca-nstab-main.selected a,li#ca-talk a, li#ca-talk.selected a,li#ca-nstab-image a, li#ca-nstab-image.selected a,li#ca-nstab-category a, li#ca-nstab-category.selected a,li#ca-nstab-foro a, li#ca-nstab-foro.selected a {
	background:#fff url(http://gubaba.org/mi2/wiki/images/d/d6/MonobookSprite.png) no-repeat;
	padding-right:25px !important;
	padding-left:10px !important;
}
li#ca-nstab-main a, li#ca-nstab-main.selected a {
	background-position:right 0px;
}
li#ca-talk a, li#ca-talk.selected a {
	background-position:right -24px;
}
li#ca-nstab-image a, li#ca-nstab-image.selected a {
	background-position:right -48px;
}
li#ca-nstab-category a, li#ca-nstab-category.selected a {
	background-position:right -72px;
}
li#ca-nstab-foro a, li#ca-nstab-foro.selected a {
	background-position:right -96px;
}
li#ca-edit a, li#ca-edit.selected a,li#ca-history a, li#ca-history.selected a,li#ca-delete a, li#ca-delete.selected a,li#ca-move a, li#ca-move.selected a,li#ca-protect a, li#ca-protect.selected a, li#ca-unprotect a, li#ca-unprotect.selected a,li#ca-watch a, li#ca-watch.selected a, li#ca-unwatch a, li#ca-unwatch.selected a,li#ca-listing-refresh-tab a, li#ca-listing-refresh-tab.selected a {
	background-image:url(http://gubaba.org/mi2/wiki/images/d/d6/MonobookSprite.png);
	background-repeat:no-repeat;
	padding-right:7px !important;
	padding-left:22px !important;
}
li#ca-edit a, li#ca-edit.selected a {
	background-position:left -120px;
}
li#ca-history a, li#ca-history.selected a {
	background-position:left -144px;
}
li#ca-delete a, li#ca-delete.selected a {
	background-position:left -168px;
}
li#ca-move a, li#ca-move.selected a {
	background-position:left -192px;
}
li#ca-protect a, li#ca-protect.selected a, li#ca-unprotect a, li#ca-unprotect.selected a {
	background-position:left -216px;
}
li#ca-watch a, li#ca-watch.selected a, li#ca-unwatch a, li#ca-unwatch.selected a {
	background-position:left -240px;
}
li#ca-listing-refresh-tab a, li#ca-listing-refresh-tab.selected a {
	background-position:left -264px;
}
/* Content space */
#content {
	-webkit-border-top-left-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	border-radius:10px 0 0 10px;
	border-top-color:#666;
	border-left-color:#666;
	border-bottom-color:#666;
	border-width: 1px;
	-moz-box-shadow:1px 1px 3px #333;
	-webkit-box-shadow:1px 1px 3px #333;
	box-shadow:1px 1px 3px #333;
}
/* Category Bar */
#bodyContent > #catlinks {
	border-top: 1px solid #666;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
	background:#F9F9F9;
	border-radius: 10px 10px 10px 10px;
	box-shadow:1px 1px 5px #303030;
	padding: 8px 0 8px 10px;
}
/* Recent activity */
li.activity-ns-0 {
	text-align: left !important;
	line-height: 15px !important;
	margin-top: 0 !important;
	margin-left: 5px;
	padding-bottom: 4px;
	border-bottom: 1px solid #E2A600;
	width: 125px !important;
}
li.activity-ns-0 a img {
	vertical-align: top;
}
li.activity-ns-0:first-child {
	border-top:1px solid #333;
	padding-top: 8px;
	margin-top: -4px !important;
}
li.activity-ns-0:last-child {
	border-bottom: none;
}
.activityfeed cite {
	font-size: 7.5pt !important;
}
.activityfeed.shortlist cite {
	display: block !important;
}
#p-wikicities-nav hr {
	display:none;
}
/* Search suggestions */
td.os-suggest-result, td.os-suggest-result-hl {
	background-color:#FFF;
	font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;
	font-weight:bold;
	cursor:pointer;
	letter-spacing:2px;
	border-bottom:1px dashed #AAA;
}
td.os-suggest-result-hl {
	background-color:#FFC521;
	color:#FFF;
	text-shadow:#333 2px 1px 2px;
}
/* For some reason the width is equal to the search box */
#searchInputSuggest {
	width:auto !important;
}
/* Edit mode: message preview */
#bodyContent .previewnote {
	background-color:#FFEDB8;
	border:2px solid #E1AE25;
	-webkit-border-radius:10px;
	border-radius:10px;
	padding:5px !important;
	margin:20px auto;
}
#bodyContent .previewnote hr {
	display:none;
}
#bodyContent #mw-previewheader {
	background:none;
	color:black;
	border-bottom:1px solid #E1AE25;
	height:25px;
	line-height:27px;
	margin:0;
	padding-left:6px;
}
/* Edit mode: lower */
div#editpage-copywarn {
	background-color:#eee;
	padding:0 7px;
	margin-bottom:-4px;
	margin-top:4px;
	border:1px solid #ccc;
	color:#333;
}
div#editOptions {
	background-color:#eee;
	padding:7px;
	color:#333;
	border:1px solid #ccc;
}
#wpSummary {
	margin-bottom:3px;
}
/* Sin definir etiqueta, ya que hay más de un 'wpSummary' */
div.editButtons {
	margin-top:4px;
}
div.editButtons input {
	margin-right:3px;
}
input#wpSave {
	margin-right:3px;
}
/* Específico para anular el que lleva por defecto */
/* Style of the buttons */
input[type="submit"],input[type="reset"],input[type="button"],button {
	background-color:#333;
	background:-moz-linear-gradient(top, #444 35%, #333 65%);
	background:-webkit-linear-gradient(top, #444 35%, #333 65%);
	background:linear-gradient(to bottom, #444 35%, #333 65%);
	border:1px solid #333 !important;
	-webkit-border-radius:7px;
	border-radius:7px;
	-moz-box-shadow:0 0 0 1px #333;
	-webkit-box-shadow:0 1px 0 #333, 0 -1px 0 #333, 1px 0 0 #333, -1px 0 0 #333;
	box-shadow:0 1px 0 #333, 0 -1px 0 #333, 1px 0 0 #333, -1px 0 0 #333;
	color:#FFF;
	cursor:pointer;
	display:inline-block;
	font:bold 13px/18px 'Trebuchet MS', Arial, Helvetica, sans-serif;
	height:21px;
	margin:0;
	padding:0 10px;
	text-decoration:none;
	white-space:nowrap;
}
/* Features own buttons for the search box */
form#searchform input[type="submit"] {
	font:12px/17px 'Trebuchet MS', Arial, Helvetica, sans-serif;
	padding:0 7px;
	height:18px;
	margin-top:4px;
}
/* Fix size in Mozilla */
input[type="submit"]::-moz-focus-inner,input[type="reset"]::-moz-focus-inner,input[type="button"]::-moz-focus-inner,button::-moz-focus-inner {
	padding:0;
	border:0;
}
/* Styles IE */
input[type="submit"],input[type="reset"],input[type="button"],button {
	filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr="#FF444444", EndColorStr="#FF333333");
	/*outline:1px solid #333\9;
	*/
	overflow:visible;
	width:auto;
}
/* States: hover and: active */
input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover,button:hover {
	text-decoration:none;
	text-shadow:#000 0 1px 1px;
}
input[type="submit"]:active,input[type="submit"]:focus,input[type="reset"]:active,input[type="reset"]:focus,input[type="button"]:active,input[type="button"]:focus,button:active,button:focus {
	color:#FFF;
	background:-moz-linear-gradient(top, #333 35%, #444 65%);
	background:-webkit-linear-gradient(top, #333 35%, #444 65%);
	background:linear-gradient(to bottom, #333 35%, #444 65%);
}
/* Footer */
div#footer {
	background:#e8ddff;
	color:#000;
	border:1px solid #aaa;
	clear:both;
	margin-left:auto;
}
#footer li#hosting {
	display:table;
	border-top:1px solid #444;
	margin:2px auto;
	padding:2px 10px;
}
#f-poweredbyico {
	margin-top:0px;
}
/* UserWikiInfo (in contributions, user pages and talk) */
#UserWikiInfo {
	min-height:112px;
	background-color:#333;
	background:-moz-linear-gradient(top, #777, #333);
	background:-webkit-linear-gradient(top, #777, #333);
	background:linear-gradient(to bottom, #777, #333);
	filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#333333', startColorstr='#777777', gradientType='0');
	color:#AAA;
	overflow:hidden;
	line-height:200%;
	margin:1px 0 10px 0;
	padding:2px 5px;
	border:1px solid #666;
	-webkit-border-bottom-right-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	border-bottom-left-radius:10px;
	-moz-box-shadow:0 0.1em 0.9em 0.1em #303030;
	-webkit-box-shadow:0 0.1em 0.9em 0.1em #303030;
	box-shadow:0 0.1em 0.9em 0.1em #303030;
}
#UserWikiInfo > div.useravatar {
	float:left;
	margin:5px;
	margin-right:10px;
	border:1px solid #aaa;
	-moz-box-shadow:0 0 0.5em 0.1em #aaa;
	-webkit-box-shadow:0 0 0.5em 0.1em #aaa;
	box-shadow:0 0 0.5em 0.1em #aaa;
	position:relative;
}
#UserWikiInfo > .useravatar > .editavatar {
	display:none;
}
#UserWikiInfo > .useravatar:hover > .editavatar {
	display:block;
	z-index:5;
	position:absolute;
	top:0;
	left:0;
	padding:5px;
	text-align:center;
	background:#ccc;
	color:#00c;
}
#UserWikiInfo > span {
	display:inline-block;
	padding:2px 10px;
	margin-top:5px;
	border:1px solid #444;
	background:#666;
	color:#fff;
	-webkit-border-radius:5px;
	border-radius:5px;
}
#UserWikiInfo > span a {
	color:#c262ff;
}
#UserWikiInfo span.contenteditcount {
	display:inline-block;
	padding:4px 8px;
	border:1px solid #444;
	background:#555;
	color:#fff;
	-webkit-border-radius:5px;
	border-radius:5px;
}
#UserWikiInfo span.psmax {
	display:block;
	width:100px;
	border:1px solid #eee;
	-webkit-border-radius:2px;
	border-radius:2px;
}
#UserWikiInfo span.psact {
	display:block;
	height:5px;
	background-color:#60f860;
	-moz-box-shadow:inset 0 0 1px 0 #333;
	-webkit-box-shadow:inset 0 0 1px 0 #333;
	box-shadow:inset 0 0 1px 0 #333;
}
#UserWikiInfo span.psact.pslvl1 {
	background-color:#f8d800;
}
#UserWikiInfo span.psact.pslvl0 {
	background-color:#ff0000;
}
/*** Patches ***/
/* Patch: It is mounted on the login link */
#column-google {
	margin-top:1em;
}
/* Patches: Missing CSS for LinkSuggest */
.navigation-hover {
	background-color:#fdff4f;
	/* #e0efff;
	*/
}
/* Patch: In Monobook background and color is forced from your CSS. In Monaco not, and some styles do not contemplate. We return the background color transparent and appropriate */
table, abbr, acronym, .explain {
	color:inherit;
	background-color:inherit;
}
/* Patch: This is used in the "broadening" of thumbs, and Thickbox. Not in Monobook */
.sprite {
	height:16px;
	width:16px;
	position:relative;
	vertical-align:middle;
	top:-2px;
}
/* Space for the # browser does not overlap */
.ns-0 .firstHeading, .ns-14 .firstHeading {
	margin-top:10px;
}
/* "In other languages" was above the headers */
#p-lang {
	position:static;
}