MediaWiki:Monobook.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 2: Line 2:


#globalWrapper { background: none !important; }
#globalWrapper { background: none !important; }
.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
p { margin: 0.6em 0 0.7em 0; }
h3 + dl, h4 + dl, h5 + dl {
h3 + dl, h4 + dl, h5 + dl {
Line 262: Line 261:
/* Indicator icons */
/* Indicator icons */
.mw-indicators {
.mw-indicators {
top: 2px;
top: -4px;
}
}
#mw-indicator-rc {
#mw-indicator-rc {

Revision as of 09:12, October 28, 2020

/* CSS placed here will affect users of the Monobook skin */

#globalWrapper { background: none !important; }
p { margin: 0.6em 0 0.7em 0; }
h3 + dl, h4 + dl, h5 + dl {
	margin-top: -0.1em;
}
.ns-talk p + dl, .ns-110 p + dl,
.rootpage-Halopedia_Changing_username p + dl {
	margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl,
.rootpage-Halopedia_Changing_username dl + dl {
	margin-top: -0.2em;
}

a { color: #00f; }
a:active { color: orange; }
a:visited { color: #00c; }

.mw-parser-output a.external[href^="https://www.halopedia.org"] {
	color: #00f !important;
	background: none;
	padding: 0;
}

body {
	background: #4F7065 url(/images/bodybg-monobook.jpg) fixed no-repeat 0 0;
}
#bodyContent {
	position: relative;
	background: transparent url(/images/pagebg.jpg) no-repeat center 65px !important;
}

#p-logo, #p-logo a, #p-logo a:hover {
	height: 159px;
	width: 196px;
	background: url(/images/logo-monobook.png) no-repeat 0 10px !important;
}

#p-cactions li a:hover {
	border-bottom: 1px solid #FFFFFF;
}

#p-cactions li.selected a {
	border-bottom: 1px solid #FFFFFF;
	padding-bottom: 2px;
}

.pBody,
.portlet h3,
ul#f-list {
	font-family: verdana;
}

.special li {
	line-height: 19px;
}

#p-personal a.new {
	color: #f00;
}

#p-personal a.new:visited {
	color: #c00;
}

li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
	background: url(/images/smallchief.gif) top left no-repeat;
	padding-left: 16px;
	line-height: 17px;
}

#p-personal li a:hover {
	background-color: transparent;
}

#p-personal ul {
	background: #FFFFFF;
	border-left: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	width: auto;
	display: inline;
	position: absolute;
	right: 0;
	padding-left: 0px;
	padding-bottom: 0px;
	margin-top: -1px;
	-moz-border-radius-bottomleft: 1em;
	-webkit-border-bottom-left-radius: 1em;
}

pre { 
	border: 1px dashed #06f;
}

#siteNotice {
	padding: 2px;
	margin: 10px 0 8px 0;
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	background: #fff;
}

#firstHeading {
	margin-top: -3px;
}

.catlinks {
	margin-top: 10px;
}

#navbox { 
	/* border: 1px solid #2f6fab; */
	border: 1px solid #aaaaaa;
	background-color: #f9f9f9;
	padding: 5px;
	font-size: 95%;
	margin-left: 15px;
	margin-bottom: 15px;
}

#p-personal li a:hover {
	background-color: none;
	text-decoration: underline;
}

#p-cactions li a {
	color: #00c;
}

#p-cactions .new a {
	color: #c00;
}

#preftoc a:active {
	color: #00c;
}

#content {
	margin: 2.8em 0 0 12.2em;
	-moz-border-radius-topleft: 1em;
	-moz-border-radius-bottomleft: 1em;
	-webkit-border-top-left-radius: 1em;
	-webkit-border-bottom-left-radius: 1em;
}

#p-cactions {
	left: 11.8em;
}

.portlet {
	width: 11.9em;
}

input.searchButton {
	padding: 0 0.4em !important;
	cursor: pointer;
	background-color: white;
	border: 1px solid #2f6fab; 
	font-weight: normal;
} 

#searchGoButton {
	font-weight: normal;
}

#searchInput {
	border: 1px solid #2f6fab; 
} 

input[type="radio"], input[type="checkbox"] {
	border: none;
}

select {
	border: 1px solid #2f6fab; 
	color: black;
}

blockquote {
	border-left: 3px solid #06f;
	margin-left: 2em;
	padding-left: 1em;
}

.oldh3 {
	font-size: 132%;
}

.right {
	text-align: right;
}

#p-cactions ul li, #p-cactions ul li a, #p-cactions li.selected, #p-cactions li.selected a {  
	-moz-border-radius-topleft: 1em;
	-moz-border-radius-topright: 1em;
	-webkit-border-top-left-radius: 1em;
	-webkit-border-top-right-radius: 1em;
}

#p-cactions li {
	padding-bottom:1em;
	-moz-border-radius-topleft: .72em !important;
	-moz-border-radius-topright: .72em !important;
	-webkit-border-top-left-radius: .72em !important;
	-webkit-border-top-right-radius: .72em !important;
}

.portlet#p-tb h3, .portlet#p-search h3 {
	display: none;
}

.portlet#p-search {
	margin-top: -1px;
}

.portlet#p-tb {
	margin-top: -7px;
}

.portlet#p-tb .pBody {
	padding-top: 2px;
	border-top: none;
}

.portlet#p-Navigation .pBody {
	border-bottom: none;
}

.portlet#p-search .pBody {
	-moz-border-radius-topright: 1em;
	-moz-border-radius-bottomright: 1em;
	-webkit-border-top-right-radius: 1em;
	-webkit-border-bottom-right-radius: 1em;
}

.portlet#p-Navigation .pBody {
	-moz-border-radius-topright: 1em;
	-webkit-border-top-right-radius: 1em;
}

.portlet#p-tb .pBody {
	-moz-border-radius-bottomright: 1em;
	-webkit-border-bottom-right-radius: 1em;
}

/* Fix footer spacing */
#f-list {
	line-height: 17px;
}

/* Fix preferences tabs */
.client-js #preftoc a,
.client-js #preftoc a:active {
	padding: 0 0.7em;
}

/* Indicator icons */
.mw-indicators {
	top: -4px;
}
#mw-indicator-rc {
	top: 7px;
}

/* Multimedia viewer */
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-icon.oo-ui-icon-check,
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
	display: none !important;
}

/* Who's Online spacing */
#WhosOnlineDiv {
	margin-bottom: -11px;
}

/* Social talk tabs */
.ns-200 #ca-talk a,
.ns-202 #ca-talk a {
	color: #00c !important;
}

/*** Monobook Sidebar ***/
#n-Halopedia-Archive > a {
	font-size: 125% !important;
}
/* without an ugly padding */
#p-Navigation ul {
	margin: 0;
}
#p-Navigation > div {
	background: white;
	padding: 0;
}
/* que no sea un list */
#p-Navigation li {
	display: block;
	list-style-image: none !important; /* for IE */
}
/* general design of the links */
#p-Navigation li > a {
	display: block;
	position: relative;
	background: #fff;
	color: #000;
	font-size: 14.9px;
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
	padding: 0 0 0 10px;
	line-height: 24px;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1px solid #EEEEEE;
}
/* special menu just for the class */
#p-Navigation > div > ul > li > a {
	background: url(/images/menu_gradient.png) no-repeat left center;
	margin: 1px 1px 0 1px;
	padding: 0 0 0 10px;
	color: black;
	width: auto;
}
#p-Navigation > div > ul > li.hover > a {
	color: #2A2A2A;
	text-shadow: #AAA46C 1px 1px 3px;
}
#p-Navigation > div > ul > li > a > em {
	right: 8px;
}
/* submenu marker */
#p-Navigation em {
	font-style: normal;
	font-family: arial,sans-serif;
	font-size: 16pt;
	font-weight: bold;
	line-height: 20px;
	position: absolute;
	right: 8px;
	top: 0px
}
/* hover */
#p-Navigation li > ul > li.hover > a {
	background-color: #DCDCDC; /* Gainsboro */
}

#p-Navigation li.hover > ul.sub-menu {
	display: block;
}

/* general submenu */
#p-Navigation ul.sub-menu {
	border: 1px solid #aaa;
	display: none;
	background: #fff;
	position: absolute;
	padding: 1px;
	width: 185px;
	margin-left: 180px;
	margin-top: -25px;
	z-index: 100;
}
/* Only the first */
#p-Navigation > div > ul > li > ul.sub-menu {
	margin-left: 13em;
}
/*** End Monobook Sidebar ***/