MediaWiki:Common.css: Difference between revisions

From MythCraft Online SRD
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 16: Line 16:
background-size: cover;
background-size: cover;
background-attachment: fixed;
background-attachment: fixed;
color: white;
}
}



Revision as of 11:07, 14 November 2023

/* CSS placed here will be applied to all skins */


/* To make images responsive */
.res-img img {
	max-width:100%;
	height:auto;
}

/*Take off "Main Page" from the home page */
body.page-Main_Page h1 { display: none; }


body {
background: url("/images/TexturedBackground.jpg");
background-size: cover;
background-attachment: fixed;
color: white;
}

div #mw-panel {

	/* Color & Background */
	background-attachment: scroll;
	background-color: rgba(255, 255, 255, 0.67);
	
	/* Box */
	height: 500px;
	width: 160px;

	/* Positioning */
	position: fixed;

	/* Effects */
    border-padding-top: 80px;
	border-top-left-radius: 0px;
	border-top-right-radius: 8px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 8px;
}