MediaWiki:Vector.css: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 45: Line 45:
#p-Navigation h5 {
#p-Navigation h5 {
background: url(https://kh.wiki.gallery/images/2/2f/Sidebar-Navigation.png) no-repeat 180px top;
background: url(https://kh.wiki.gallery/images/2/2f/Sidebar-Navigation.png) no-repeat 180px top;
display:block;
display: block;
position:relative;
position: relative;
left:-180px;
left: -180px;
width:282px;
width: 282px;
height:16px;
height: 16px;
}
}
#p-Community h5 {
#p-Community h5 {
background: url(https://kh.wiki.gallery/images/9/93/Sidebar-Community.png) no-repeat 180px top;
background: url(https://kh.wiki.gallery/images/9/93/Sidebar-Community.png) no-repeat 180px top;
display:block;
display: block;
position:relative;
position: relative;
left:-180px;
left: -180px;
width:282px;
width: 282px;
height:16px;
height: 16px;
}
}
#p-tb h5 {
#p-tb h5 {
background: url(https://kh.wiki.gallery/images/3/33/Sidebar-Toolbox.png) no-repeat 180px top;
background: url(https://kh.wiki.gallery/images/3/33/Sidebar-Toolbox.png) no-repeat 180px top;
display:block;
display: block;
position:relative;
position: relative;
left:-180px;
left: -180px;
width:282px;
width: 282px;
height:16px;
height: 16px;
}
}
#p-lang h5 {
#p-lang h5 {
background: url(https://kh.wiki.gallery/images/e/ee/Sidebar-Languages.png) no-repeat 180px top;
background: url(https://kh.wiki.gallery/images/e/ee/Sidebar-Languages.png) no-repeat 180px top;
display:block;
display: block;
position:relative;
position: relative;
left:-180px;
left: -180px;
width:282px;
width: 282px;
height:16px;
height: 16px;
}
}



Revision as of 02:45, 28 May 2022

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

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

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