MediaWiki:Monobook.css

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Revision as of 19:26, 5 July 2014 by Erry (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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the Monobook skin */

#content {
	margin-left: 196px !important;
	padding: 0px 1em 1.5em 1em !important;
	background: white !important;
	color: black !important;
	border: 1px solid #000000 !important;
	border-right: none !important;
	line-height: 1.5em !important;
	z-index: 2 !important;
}
#column-content {
	margin-left: -196px !important;
}

#p-logo a, #p-logo a:hover {
	display: block !important;
	background-image: url(/images/b/bc/Wiki.png) !important;
	background-color: transparent;
}

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

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

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

#p-cactions {
	left: 183px !important;
	background-color: transparent;
	border-bottom: none;
}

#p-cactions li {
	border: 1px solid #282828;
	border-bottom: none;
}
#p-cactions li.selected {
	border: 1px solid #282828;
	border-bottom: none;
}

#p-cactions li a:hover {
	z-index: 3;
	text-decoration: none;
	background-color: black;
	border: 1px solid #282828;
	border-bottom: none;
}

#p-cactions ul li, #p-cactions ul li a {
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
}

#content {
	border-top-left-radius: 1em;
	border-bottom-left-radius: 1em;
}

.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;
}

/* Personal links at top right */
#p-personal .pBody ul {
	background: #ffffff;
	border-bottom: 1px solid #282828;
	border-left: 1px solid #282828;
	float: right;
	padding-left: 5px;
	height: 1.45em;
	border-bottom-left-radius: 0.5em;
}
#p-personal li {
	color: #000000;
	margin: 0;
}
#p-personal li a {
	color: #000000;
	padding: 0.5em;
}
#p-personal li a:hover {
	background: transparent;
	border-bottom: 1px solid #e5173;
}
#p-personal li a.new {
	color: #DDDDDD;
}

/* Navigation and other left-menu boxes */
#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 2px 5px;
}
#p-tb li, #p-lang li {
	margin-left: 11px;
}
#p-Navigation, #p-Interaction, #p-search, #p-tb, #p-lang {
	background: #FFFFFF url(/images/e/e1/Sidebar-strip.png) repeat-x;
	width: 180px;
	padding-top: 1px;
	border: 1px solid #000000;
	border-bottom-left-radius: 1em;
	border-top-left-radius: 1em;
	border-bottom-right-radius: 1em;
	border-top-right-radius: 1em;
}
#p-search, #p-lang, #p-lang .pBody, #p-lang .pBody ul, #searchform, #searchBody {
	border-bottom-left-radius: 1em !important;
	border-bottom-right-radius: 1em !important;
}
#p-Navigation h3, #p-Interaction h3, #p-search h3, #p-tb h3, #p-lang h3 {
	display: block;
	border: none;
	position: relative;
	left: -180px;
	width: 282px;
	height: 16px;
}

#p-Navigation h3 {
	background: url(/images/2/2f/Sidebar-Navigation.png) no-repeat 180px top;
}
#p-Interaction h3 {
	background: url(/images/9/93/Sidebar-Community.png) no-repeat 180px top;
}
#p-search h3 {
	background: url(/images/f/f6/Sidebar-Search.png) no-repeat 180px top;
}
#p-tb h3 {
	background: url(/images/3/33/Sidebar-Toolbox.png) no-repeat 180px top;
}
#p-lang h3 {
	background: url(/images/e/ee/Sidebar-Languages.png) no-repeat 180px top;
}

#p-Navigation .pBody,
#p-Interaction .pBody,
#p-search .pBody,
#p-tb .pBody,
#p-lang .pBody {
	display: block;
	background: #FFFFFF;
}
#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;
}
#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;
}
#p-Navigation li a div, #p-Interaction li a div, #p-tb li a div, #p-lang li a div, #feedlinks {
	padding: 2px 5px !important;
	width: 197px;
}

/* Search box */
#searchInput {
	background: #ffffff;
	border: 1px solid #000000;
	margin-bottom: 3px;
	padding: 2px;
	width: 110px;
}
#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;
	text-transform: none;
}
li#pt-createaccount {
	text-transform: none;
}

/*** Monobook Sidebar ***/
ul.sub-menu {
	background: white;
}
.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;
	padding: 0 0 0 10px;
	color: black;
	width: auto;
}
#p-Navigation > div > ul > li.hover > a, #p-Interaction > div > ul > li.hover > a {
	color: #282828;
	text-shadow: #282828 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: 0px
}
/* Hover */
#p-Navigation li > ul > li.hover > a, #p-Interaction li > ul > li.hover > a {
	background-color: #111111;
}

#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 #000000;
	display: none;
	background: #fffffff;
	position: absolute;
	padding: 1px;
	width: 170px;
	margin-left: 161px;
	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: 168px;
	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 ***/

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

#siteNotice {
	padding: 10px 0.9em 0 0.9em;
	background: white;
	margin-bottom: 5px;
	border-radius: 0.5em;
	border: none;
}

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

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

pre {
	overflow: auto;
}

/*Portal CSS text follows*/

.splitrow {
display:inline-block;
white-space:nowrap;
text-align:center;
}

.nav {padding:0; display:inline-block;}
.nav:hover .dropdown{display:block}
.container{position:absolute; height: 450px;}

.dropdown {
background-image: -moz-linear-gradient(center top, #bfbfbf, #373737);
background-image: -webkit-linear-gradient(top, #bfbfbf, #373737);
background-image: -o-linear-gradient(top, #bfbfbf, #373737);
background-image: -ms-linear-gradient(top, #bfbfbf, #373737);
background-image: linear-gradient(top, #bfbfbf, #373737);
border:2px solid #BFBFBF;
border-radius:10px;
display:none;
float:left;
left:-45%;
right:-45%;
position:relative;
z-index: 100;
}

.dropdown a{
color:#FFFFFF;
text-decoration:none;
}

.dropdown caption {background-color:inherit; border-radius:10px;}


.dropdown td {
vertical-align:top;
padding:1px;
white-space:nowrap;
}

.dropdown p{
margin:0;
padding:0;
}

caption a, .dropdown td a, .dropdown th a{
display:block;
padding: 2px;
}

.dropdown caption a {
padding:5px 2px 5px 20px;
font-size:150%;
width: 300px;
}

.dropdown dl, .dropdown dd {margin:0}
.dropdown dd a {text-align:center}

/*Footer links*/
.dropdown th p a{display:inline; width:300px;}

/*Main column links*/
.dropdown td p a {
background-color: #000000;
background: -moz-linear-gradient(center top, #000000, #656565);
background: -webkit-linear-gradient(top, #000000, #656565);
background: -o-linear-gradient(top, #000000, #656565);
background: -ms-linear-gradient(top, #000000, #656565);
background: linear-gradient(top, #000000, #656565);
border:1px solid #373737;
font-size:90%;
line-height: 1.2em;
margin: 3px 1px;
padding:3px;
text-align:left;
}

.dropdown caption a:hover{
border-radius:10px;
}

.dropdown td p a:hover{
background-image: -moz-linear-gradient(center top, #bfbfbf, #373737);
background-image: -webkit-linear-gradient(top, #bfbfbf, #373737);
background-image: -o-linear-gradient(top, #bfbfbf, #373737);
background-image: -ms-linear-gradient(top, #bfbfbf, #373737);
background-image: linear-gradient(top, #bfbfbf, #373737);
}