Jump to content

MediaWiki:Common.css: Difference between revisions

From Eldrasil Wiki
No edit summary
No edit summary
Line 1: Line 1:
.mw-body {
.mw-body {
background-image:  
position: relative;
linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5)), /* overlay */
background-image:
url('/wiki/assets/bg.jpeg'); /* your image */
linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
url('/wiki/assets/bg.jpeg');
background-size: cover;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: center;
}
}

Revision as of 22:30, 15 October 2025

.mw-body {
	position: relative;
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
		url('/wiki/assets/bg.jpeg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}