MediaWiki: Vector.css: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Linda (talk | contribs)
No edit summary
Linda (talk | contribs)
No edit summary
 
(24 intermediate revisions by 2 users not shown)
Line 8: Line 8:
background-repeat: repeat-y;
background-repeat: repeat-y;
background-color: white;
background-color: white;
}


}#mw-head-base {
#mw-head-base {
margin-top: -5em;
margin-top: -5em;
margin-left: 11em;
margin-left: 11em;
Line 40: Line 41:
}
}
/* Hide empty portlets */
/* Hide empty portlets */
div.emptyPortlet {
 
display: none;
div.emptyPortlet {
}
display: none;
}
/* Personal */
/* Personal */
#p-personal {
 
position: absolute;
#p-personal {
top: 0;
position: absolute;
margin-left: 11em;
top: 0;
right: 0.75em;
margin-left: 11em;
right: 0.75em;  
}


/* Navigation Containers */
/* Navigation Containers */
#left-navigation {
 
position: absolute;
#left-navigation {
left: 11em;
/* position: absolute; */
top: 2.5em;
left: 11em;
top: 2.5em;
}
}
/* Panel */
/* Panel */
#mw-panel {
#mw-panel {
position: absolute;
position: absolute;
Line 105: Line 112:
#mw-panel div.portal div.body ul li a:visited {
#mw-panel div.portal div.body ul li a:visited {
color: #0b0080;
color: #0b0080;
 
}
#footer {
#footer {
margin-left: 11em;
margin-left: 11em;
Line 116: Line 123:




/* increase Vector sidebar width to accommodate ads */
/* increase Vector sidebar width to accommodate ads and move it over to the left */
div#mw-panel { width: 12em; }
div#mw-panel { width: 12em;left:-1.2em;}
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; }
#left-navigation { margin-left: 12em; }
#p-logo { left: 1.2em; }

Latest revision as of 12:40, 18 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 and move it over to the left */
div#mw-panel { width: 12em;left:-1.2em;}
div#footer, #mw-head-base, div#content { margin-left: 12em; }
#left-navigation { margin-left: 12em; }
#p-logo { left: 1.2em; }