Difference between revisions of "MediaWiki: Vector.css"

From A Wiki of Ice and Fire
Jump to: navigation, search
m (Reverted edits by Ran (talk) to last revision by Linda)
Line 126: Line 126:
 
div#mw-panel { width: 12em; }
 
div#mw-panel { width: 12em; }
 
div#footer, #mw-head-base, div#content { margin-left: 12em; }
 
div#footer, #mw-head-base, div#content { margin-left: 12em; }
#left-navigation { margin-left: 12em; }
 

Revision as of 12:38, 13 April 2015

/* CSS placed here will affect users of the Vector skin */
/* Content */
#content {
	margin-left: 11em;
	padding: 1em;
	background-image: url(images/border.png);
	background-position: top left;
	background-repeat: repeat-y;
	background-color: white;
}

#mw-head-base {
	margin-top: -5em;
	margin-left: 11em;
	height: 5em;
	background-image: url(images/border.png);
	background-position: bottom left;
	background-repeat: repeat-x;
}

/* Logo */
#p-logo {
	position: absolute;
	top: -160px;
	left: 0;
	width: 11em;
	height: 160px;
}
#p-logo a {
	display: block;
	width: 11em;
	height: 160px;
	background-repeat: no-repeat;
	background-position: center center;
	text-decoration: none;
}

#mw-head h5 {
	margin: 0;
	padding: 0;
}
	/* Hide empty portlets */

div.emptyPortlet {
	display: none;
}
	/* Personal */

#p-personal {
	position: absolute;
	top: 0;
	margin-left: 11em;
	right: 0.75em; 
}

	/* Navigation Containers */

#left-navigation {
	position: absolute;
	left: 11em;
	top: 2.5em;
	}

/* Panel */

#mw-panel {
	position: absolute;
	top: 160px;
	padding-top: 0em;
	width: 12em;
	left: 0;
}
	#mw-panel div.portal {
		padding-bottom: 1.5em;
	}
	#mw-panel div.portal h5 {
		font-weight: normal;
		color: #444444;
		padding: 0.25em;
		padding-top: 0;
		padding-left: 0.75em;
		cursor: default;
		border: none;
		font-size: 0.75em;
	}
	#mw-panel div.portal div.body {
		margin: 0;
		padding-top: 0.5em;
		margin-left: 0.6em;
		background-image: url(images/portal-break.png);
		background-repeat: no-repeat;
		background-position: top left;
	}
	#mw-panel div.portal div.body ul {
		list-style: none;
		list-style-image: none;
		list-style-type: none;
		padding: 0;
		margin: 0;
	}
	#mw-panel div.portal div.body ul li {
		line-height: 1.125em;
		padding: 0;
		padding-bottom: 0.5em;
		margin: 0;
		overflow: hidden;
		font-size: 0.75em;
	}
	#mw-panel div.portal div.body ul li a {
		color: #0645ad;
	}
	#mw-panel div.portal div.body ul li a:visited {
		color: #0b0080;
}
#footer {
	margin-left: 11em;
	margin-top: 0;
	padding: 0.75em;
	background-image: url(images/border.png);
	background-position: top left;
	background-repeat: repeat-x;
}


/* increase Vector sidebar width to accommodate ads */
div#mw-panel { width: 12em; }
div#footer, #mw-head-base, div#content { margin-left: 12em; }