MediaWiki:Monobook.css: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
(...my word. :|)
Line 435: Line 435:
#p-tb .pBody a:hover,
#p-tb .pBody a:hover,
#p-lang .pBody a:hover {
#p-lang .pBody a:hover {
     color: #e51373 !important;
     color: #e51373;
     }
     }



Revision as of 02:18, 16 January 2012

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

/* MONOBOOK SIDEBAR v2.3 */
// To edit the sidebar items, edit [[MediaWiki:Monobook.js/Sidebar.js]]
window.wgSidebar = ( window.wgSidebar || {} );
importScript( 'MediaWiki:Monobook.js/Sidebar.js' );

div#column-google {display:none !important}
div #column-google {display:none !important}
div #column-google-topright {display:none !important}
div #column-google-right {display:none !important}
div #column-google-botright {display:none !important}
#content {
	/*margin: 2.8em 0 0 0 !important;*/
	margin-left: 225px !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;
	/*position: relative !important;
	width: 100%;*/
	z-index: 2 !important;
}
#column-content {
	margin-left: -225px !important;
}
div #p-wikicities-nav {display:none !important}

#p-logo a, #p-logo a:hover {
     display:block !important;
     background-image: url(http://www.khwiki.net/images/3/3e/Wiki-RoundedBlue.png) !important;
     background-color: transparent
    }

/* transformers wiki-specific */
#p-logo{
	margin-left: 20px;
}

body{background:#000000
url(http://www.khwiki.net/images/9/92/MonacoBackground.png) repeat
}


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

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

#p-cactions li a:hover {
	z-index: 3;
	text-decoration: none;
        background-color: black;
        border: 1px solid #e51373;
        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 #e51373;
   border-left: 1px solid #e51373;
   float: right;
   padding-left: 0;
   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;
/*   width: 190px;*/
    }
 
 .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-Navigation, 
 #p-Interaction, 
 #p-search,
 #p-tb, 
 #p-lang {
	background: #FFFFFF url(http://www.khwiki.net/images/e/e1/Sidebar-strip.png) repeat-x;
	width:205px;
	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;
}

/*div.portlet h5{ display:none}*/

#p-Navigation h5{
	background: url(http://www.khwiki.net/images/2/2f/Sidebar-Navigation.png) no-repeat 180px top;
	display:block;
	border: none;
	position:relative;
	left:-180px;
	width:282px;
	height:16px;
}

#p-Interaction h5{
	background: url(http://www.khwiki.net/images/9/93/Sidebar-Community.png) no-repeat 180px top;
	display:block;
	border: none;
	position:relative;
	left:-180px;
	width:282px;
	height:16px;
}

#p-search h5{
	background: url(http://www.khwiki.net/images/f/f6/Sidebar-Search.png) no-repeat 180px top;
	display:block;
	border: none;
	position:relative;
	left:-180px;
	width:282px;
	height:16px;
}

#p-tb h5{
	background: url(http://www.khwiki.net/images/3/33/Sidebar-Toolbox.png) no-repeat 180px top;
	display:block;
	border: none;
	position:relative;
	left:-180px;
	width:282px;
	height:16px;
}

#p-lang h5{
	background: url(http://www.khwiki.net/images/e/ee/Sidebar-Languages.png) no-repeat 180px top;
	display:block;
	border: none;
	position:relative;
	left:-180px;
	width:282px;
	height:16px;
}

 #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: #e51373;
    }

 #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:#e51373;
 }

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

 #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(http://www.khwiki.net/images/9/9f/Mini_Keyblade.png) top left no-repeat;
	padding-left: 20px;
	text-transform: none;
}

/*** Monobook Sidebar ***/
/* 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;
}
/* 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: #e51373;
	text-shadow: #e51373 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: #111111; /* Gainsboro */
}

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

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

/*** Monobook Sidebar ***/
/* without an ugly padding */
#p-Interaction ul {
	margin: 0;
}
#p-Interaction > div {
	background: white;
	padding: 0;
}
/* que no sea un list */
#p-Interaction li {
	display: block;
	list-style-image: none !important; /* for IE */
}
/* general design of the links */
#p-Interaction li > a {
	display: block;
	position: relative;
}
/* special menu just for the class */
#p-Interaction > 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-Interaction > div > ul > li.hover > a {
	color: #111111;
	text-shadow: #e51373 1px 1px 3px;
}
#p-Interaction > div > ul > li > a > em {
	right: 8px;
}
/* submenu marker */
#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-Interaction li > ul > li.hover > a {
	background-color: #DCDCDC; /* Gainsboro */
}

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

/* general submenu */
#p-Interaction ul.sub-menu {
	border: 1px solid #aaa;
	display: none;
	background: #fff;
	position: absolute;
	padding: 1px;
	width: 200px;
	margin-left: 195px;
	margin-top: -25px;
	z-index: 100;
}
/* Only the first */
#p-Interaction > div > ul > li > ul.sub-menu {
	margin-left: 16em;
}

.sub-menu li {
    font-size: 13px !important;
}

#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: #e51373;
     }

#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:#e51373;
      }

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

    #siteNotice {
            padding: 23px 0.9em 0 0.9em;
            background: white;
            margin: 0 10px;
            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(http://www.khwiki.net/images/4/40/RoundedblueBullet.png);
}

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

/*** End Monobook Sidebar ***/
	pre { overflow: auto; }