MediaWiki:Monobook.css: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 20: Line 20:
color: black !important;
color: black !important;
background: white !important;
background: white !important;
border: 1px solid #000000 !important;
border: 1px solid #000 !important;
border-right: none !important;
border-right: none !important;
line-height: 1.5em !important;
line-height: 1.5em !important;
Line 42: Line 42:


body {
body {
background: #000000 url(/images/9/92/MonacoBackground.png) repeat;
background: #000 url(/images/9/92/MonacoBackground.png) repeat;
}
}


Line 82: Line 82:
border-bottom: none;
border-bottom: none;
        background: #9294b0;
        background: #9294b0;
        box-shadow: 0px 0px 4px 2px #FFFFFF;
        box-shadow: 0px 0px 4px 2px #fff;
        position: static;
        position: static;
        color: #454659;
        color: #454659;
Line 90: Line 90:
border: 2px solid #716992;
border: 2px solid #716992;
        background-color: #454659;
        background-color: #454659;
        color:#FFFFFF;
        color:#fff;
}
}
#p-cactions li a:hover {
#p-cactions li a:hover {
Line 170: Line 170:
}
}
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
background: #FFFFFF url(/images/e/e1/Sidebar-strip.png) repeat-x;
background: #fff url(/images/e/e1/Sidebar-strip.png) repeat-x;
width: 180px;
width: 180px;
padding-top: 1px;
padding-top: 1px;
border: 1px solid #000000;
border: 1px solid #000;
border-top-left-radius: 1em;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
border-top-right-radius: 1em;
Line 226: Line 226:
#p-tb .pBody a,
#p-tb .pBody a,
#p-lang .pBody a {
#p-lang .pBody a {
color: #000000;
color: #000;
text-decoration: none;
text-decoration: none;
padding: 0 15px;
padding: 0 15px;
Line 255: Line 255:
/* Search box */
/* Search box */
#searchInput {
#searchInput {
background: #ffffff;
background: #fff;
border: 1px solid #000000;
border: 1px solid #000;
margin-bottom: 3px;
margin-bottom: 3px;
padding: 2px 0 2px 2px;
padding: 2px 0 2px 2px;
Line 331: Line 331:
/* general submenu */
/* general submenu */
#p-Navigation ul.sub-menu, #p-Interaction ul.sub-menu {
#p-Navigation ul.sub-menu, #p-Interaction ul.sub-menu {
border: 1px solid #000000;
border: 1px solid #000;
display: none;
display: none;
background: #fffffff;
background: #fff;
position: absolute;
position: absolute;
padding: 1px;
padding: 1px;

Revision as of 02:10, 23 February 2021

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

a { color: #002BB8; }
a:visited { color: #5A3696; }
#globalWrapper { background: none !important; }
.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
h1 { font-size: 193%; }
h3 + dl, h4 + dl, h5 + dl {
	margin-top: -0.1em;
}
.ns-talk p + dl, .ns-110 p + dl {
	margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl {
	margin-top: -0.2em;
}

#content {
	color: black !important;
	background: white !important;
	border: 1px solid #000 !important;
	border-right: none !important;
	line-height: 1.5em !important;
	z-index: 2 !important;
}
@media all and (min-width: 551px) {
	#content {
		border-top-left-radius: 1em;
		border-bottom-left-radius: 1em;
		margin-left: 196px !important;
	}
	#column-content {
		margin-left: -196px !important;
	}
}

#p-logo {
	top: 6px;
	margin-left: 21px;
}

body {
	background: #000 url(/images/9/92/MonacoBackground.png) repeat;
}

.toc {
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
}

.catlinks {
	margin-top: 10px;
}

#searchInput {
	margin-bottom: 6px !important;
}
#searchGoButton {
	margin-left: 2px;
}
#mw-searchButton {
	display: none;
	margin-bottom: 10px !important;
}

/* Tabs */
@media all and (min-width: 551px) {
	#p-cactions {
		left: 183px !important;
		background-color: transparent;
		border-bottom: none;
	}
	#p-cactions li {
		border: 1px solid #282828;
		border-bottom: none;
	}
	#p-cactions li a{
		border: 2px solid #454659;
		border-bottom: none;
	        background: #9294b0;
	        box-shadow: 0px 0px 4px 2px #fff;
	        position: static;
	        color: #454659;
	        font-weight: bold;
	}
	#p-cactions li.selected a{
		border: 2px solid #716992;
	        background-color: #454659;
	        color:#fff;
	}
	#p-cactions li a:hover {
		z-index: 3;
		text-decoration: none;
		background: #464a91;
		border: 2px solid #aeb2f2;
	        color:#aeb2f2;
	}
	#p-cactions ul li, #p-cactions ul li a {
		border-top-left-radius: 0.5em;
		border-top-right-radius: 0.5em;
	}
}
@media all and (max-width: 550px) {
	#ca-more a { color: #fff; }
}

/* Personal links at top right */
@media all and (min-width: 551px) {
	#p-personal .pBody ul {
		background: #464a91;
		border-bottom: 2px solid #9294b0;
		border-left: 2px solid #9294b0;
		border-bottom-left-radius: 0.5em;
		box-shadow: 0 0 4px 2px #fff;
		padding-left: 5px;
		height: 18px;
	}
	#p-personal li {
		color: #ccc;
		margin: 0;
	}
	#p-personal li a {
	        color: #fff;
	        font-weight: bold;
	        padding: 0.5em;
	}
	#p-personal li a:hover {
	        color: #8a8bbd;
	        font-weight: bold;
	        background:none;
	}
	#p-personal li a.new {
		color: #ddd;
	}
}

/* Navigation and other left-menu boxes */
@media all and (min-width: 551px) {
	#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
		margin: 1em 0;
		margin-left: 7px;
	}
	.pBody {
		padding: 0;
		margin: 0;
	}
	#p-Navigation ul, #p-Interaction ul, #p-search ul, #p-tb ul, #p-lang ul {
		margin: 0;
		padding: 0;
	}
	#p-Navigation li, #p-Interaction li, #p-search li, #p-tb li, #p-lang li {
		list-style: none;
		font-family: Tahoma,arial,sans-serif;
		font-weight: bold;
		font-size: 110%;
		display: block;
		margin: 0;
		padding: 2px 0;
		background: url(/images/a/af/Sidebar-menu-separator.png) center bottom no-repeat;
	}
	#p-Navigation li:last-of-type, #p-Interaction li:last-of-type,
	#p-search li:last-of-type, #p-tb li:last-of-type, #p-lang li:last-of-type {
		background: none;
	}
	#p-tb li, #p-lang li {
		margin-left: 11px;
	}
	#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
		background: #fff url(/images/e/e1/Sidebar-strip.png) repeat-x;
		width: 180px;
		padding-top: 1px;
		border: 1px solid #000;
		border-top-left-radius: 1em;
		border-top-right-radius: 1em;
	}
	#p-Navigation h3, #p-Interaction h3, #p-search h3, #p-tb h3, #p-lang h3 {
		display: block;
		border: none;
		position: relative;
		left: -180px;
		width: 342px;
		height: 22px;
		margin-bottom: 0;
	}
	#p-Navigation h3, #p-tb h3 {
		height: 25px;
	}
	#p-Navigation h3 {
		background: url(/images/2/2f/Sidebar-Navigation.png) no-repeat 184px 1px;
	}
	#p-Interaction h3 {
		background: url(/images/9/93/Sidebar-Community.png) no-repeat 184px 1px;
	}
	#p-search h3 {
		background: url(/images/f/f6/Sidebar-Search.png) no-repeat 184px 1px;
	}
	#p-tb h3 {
		background: url(/images/3/33/Sidebar-Toolbox.png) no-repeat 184px 1px;
	}
	#p-lang h3 {
		background: url(/images/e/ee/Sidebar-Languages.png) no-repeat 184px 1px;
	}
	#p-Navigation .pBody,
	#p-Interaction .pBody,
	#p-search .pBody,
	#p-tb .pBody,
	#p-lang .pBody {
		display: block;
	}
	#p-Navigation .pBody,
	#p-Interaction .pBody,
	#p-tb .pBody,
	#p-lang .pBody,
	ul.sub-menu {
		background: url(/images/e/ef/Sidebar-menu-topleft.png) left top no-repeat, url(/images/e/e4/Sidebar-menu-topright.png) right top no-repeat, url(/images/5/59/Sidebar-menu-bottomleft.png) left bottom no-repeat, url(/images/2/29/Sidebar-menu-bottomright.png) right bottom no-repeat, url(/images/0/0e/Sidebar-menu-background.png), #e5e5e5;
	}
	#p-search .pBody {
		background: url(/images/e/ef/Sidebar-menu-topleft.png) left top no-repeat, url(/images/e/e4/Sidebar-menu-topright.png) right top no-repeat, url(/images/0/0e/Sidebar-menu-background.png), #e5e5e5;
	}
	#p-Navigation .pBody a,
	#p-Interaction .pBody a,
	#p-search .pBody a,
	#p-tb .pBody a,
	#p-lang .pBody a {
		color: #000;
		text-decoration: none;
		padding: 0 15px;
	}
	#p-Navigation .pBody a:hover,
	#p-Interaction .pBody a:hover,
	#p-search .pBody a:hover,
	#p-tb .pBody a:hover,
	#p-lang .pBody a:hover {
		color: #454659;
	        text-shadow: #666 1px 1px 3px;
	}
	#p-Navigation li a div:hover,
	#p-Interaction li a div:hover,
	#p-tb li a div:hover,
	#p-lang li a div:hover {
		width: 197px;
		background-color:#282828;
	}
	#p-Navigation li a div, #p-Interaction li a div, #p-tb li a div, #p-lang li a div {
		padding: 2px 5px !important;
		width: 197px;
	}
	a.feedlink {
		background: none;
	}

	/* Search box */
	#searchInput {
		background: #fff;
		border: 1px solid #000;
		margin-bottom: 3px;
		padding: 2px 0 2px 2px;
		width: 115px;
	}
	#p-search .pBody {
		padding: 0;
		margin: 0;
	}

	/* the icon in front of the user name, single quotes in bg url to hide it from iemac */
	li#pt-userpage,
	li#pt-anonuserpage,
	li#pt-login {
		background: url(/images/9/9f/Mini_Keyblade.png) top left no-repeat;
		padding-left: 6px;
	}
	li#pt-anonuserpage {
	    padding-left: 12px !important;
	    margin-right: 6px !important;
	}

	/*** Monobook Sidebar ***/
	.sub-menu li {
		font-size: 13px !important;
	}

	#p-Navigation ul, #p-Interaction ul {
		margin: 0;
	}
	#p-Navigation > div, #p-Interaction > div {
		background: white;
		padding: 0;
	}
	/* que no sea un list */
	#p-Navigation li, #p-Interaction li {
		display: block;
		list-style-image: none !important; /* for IE */
	}
	/* general design of the links */
	#p-Navigation li > a, #p-Interaction li > a {
		display: block;
		position: relative;
	}
	/* special menu just for the class */
	#p-Navigation > div > ul > li > a, #p-Interaction > div > ul > li > a {
		margin: 1px 1px 0 1px;
		color: black;
		width: auto;
	}
	#p-Navigation > div > ul > li.hover > a, #p-Interaction > div > ul > li.hover > a {
		color: #666;
		text-shadow: #666 1px 1px 3px;
	}
	#p-Navigation > div > ul > li > a > em, #p-Interaction > div > ul > li > a > em {
		right: 8px;
	}
	/* Submenu marker */
	#p-Navigation em, #p-Interaction em {
		font-style: normal;
		font-family: arial,sans-serif;
		font-size: 16pt;
		font-weight: bold;
		line-height: 20px;
		position: absolute;
		right: 8px;
		top: -2px
	}

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

	/* general submenu */
	#p-Navigation ul.sub-menu, #p-Interaction ul.sub-menu {
		border: 1px solid #000;
		display: none;
		background: #fff;
		position: absolute;
		padding: 1px;
		width: 180px;
		margin-left: 176px;
		margin-top: -24px;
		z-index: 100;
	}
	/* Only the first */
	#p-Navigation > div > ul > li > ul.sub-menu, #p-Interaction > div > ul > li > ul.sub-menu {
		margin-left: 173px;
		margin-top: -22px;
	}

	#p-Navigation .pBody a:hover,
	#p-Interaction .pBody a:hover,
	#p-search .pBody a:hover,
	#p-tb .pBody a:hover,
	#p-lang .pBody a:hover {
		color: #282828;
	}

	#p-Navigation li a div:hover, 
	#p-Interaction li a div:hover,
	#p-tb li a div:hover,
	#p-lang li a div:hover {
		width: 197px;
		background-color:#282828;
	}
	/*** End Monobook Sidebar ***/
}
@media all and (max-width: 550px) {
	.portlet ul.sub-menu {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
}

div#footer {
	background-color: white;
	border-top: 2px solid #282828;
	border-bottom: 2px solid #282828;
	font-size: 90%;
	text-align: center;
	padding: 0.4em 0 0.3em 0;
	margin: 0.6em 0 1em 0;
}

#siteNotice {
	background: white;
	border: none;
	border-radius: 0.5em;
	margin-bottom: 0.65em;
}
#localNotice {
	margin-bottom: 14px;
}

ul {
	line-height: 1.5em;
	list-style-type: square;
	margin: .3em 0 0 1.5em;
	padding: 0;
	list-style-image: url(/images/bullet.png);
}

.portlet ul {
	line-height: 1.5em;
	list-style-type: square;
	list-style-image: url(/images/bullet.png);
	font-size: 95%;
}

pre {
	overflow: auto;
}

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

/* Responsive fix */
@media all and (max-width: 550px) {
	a.feedlink { padding-left: 16px !important }
}

/* Indicator icons */
.mw-indicators {
	top: -8px;
}

/* 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;
}

/* Advanced search */
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
	width: 59% !important;
}
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-handle {
	border: 0 !important;
}
.mw-advancedSearch-namespaceFilter {
	top: 0 !important;
}

/* InputBox */
.mw-ui-button.mw-ui-progressive,
.mw-ui-button.mw-ui-primary {
	background: #3366cc;
	border-radius: 2px;
	color: white !important;
	padding: 5px 10px 4px !important;
	text-shadow: none !important;
}
.mw-ui-button.mw-ui-progressive:hover,
.mw-ui-button.mw-ui-primary:hover {
	box-shadow: none !important;
}
.mw-ui-button.mw-ui-progressive:active,
.mw-ui-button.mw-ui-primary:active {
	padding: 5px 10px 4px !important;
}