MediaWiki:Vector.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 5: Line 5:
.mw-body { background-color: #fff; }
.mw-body { background-color: #fff; }
.mw-logo { color: #000 !important; }
.mw-logo { color: #000 !important; }
#siteNotice p { margin: 0; }


/* Transparent tabs */
/* Transparent tabs */

Revision as of 17:01, 23 February 2023

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

pre { overflow: auto; }
h2 { padding-top: 15px; }
.mw-body { background-color: #fff; }
.mw-logo { color: #000 !important; }
#siteNotice p { margin: 0; }

/* Transparent tabs */
.vector-menu-tabs .selected {
	background: linear-gradient(to top,#fff 0,transparent 100%);
}
.vector-menu-tabs li {
	background-image: linear-gradient(to top,#77c1f6 0,#e8f2f8 1px,transparent 100%);
}

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

/* Main page */
body.page-Main_Page.action-view #footer-info-lastmod {
	display: none !important;
}

/* Widget popups */
.oo-ui-popupWidget-body-padded {
	margin-top: 6px;
}

/* Header background */
body {
	background: #8BE1C7 url(https://kh.wiki.gallery/images/c/ce/Wiki-VectorBanner.png) 0 6px repeat-x;
}
#mw-page-base {
	background: transparent;
}

/* Search bar */
#searchInput {
	background: #fff; 
}
#searchButton, #mw-searchButton {
	border: 0 !important;
	box-shadow: none !important;
}

/* Sidebar headers */
#p-Navigation h5 {
	background: url(https://kh.wiki.gallery/images/2/2f/Sidebar-Navigation.png) no-repeat 180px top;
	display: block;
	position: relative;
	left: -180px;
	width: 282px;
	height: 16px;
}
#p-Community h5 {
	background: url(https://kh.wiki.gallery/images/9/93/Sidebar-Community.png) no-repeat 180px top;
	display: block;
	position: relative;
	left: -180px;
	width: 282px;
	height: 16px;
}
#p-tb h5 {
	background: url(https://kh.wiki.gallery/images/3/33/Sidebar-Toolbox.png) no-repeat 180px top;
	display: block;
	position: relative;
	left: -180px;
	width: 282px;
	height: 16px;
}
#p-lang h5 {
	background: url(https://kh.wiki.gallery/images/e/ee/Sidebar-Languages.png) no-repeat 180px top;
	display: block;
	position: relative;
	left: -180px;
	width: 282px;
	height: 16px;
}

/* Rounded corners for all browsers */
#p-cactions ul li, #p-cactions ul li a {
	border-top-left-radius: 1em;
	border-top-right-radius: 1em;
}
#content {
	border: 1px solid #a7d7f9;
}
div.pBody {
	border-top-right-radius: 1em;
	border-bottom-right-radius: 1em;
}

/* Button fix */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	color: #fff !important;
}