MediaWiki:Common.css: Difference between revisions

From RoR Wiki
Jump to: navigation, search
(Created page with "→‎CSS placed here will be applied to all skins: .grid-container { display: grid; grid-template-areas: 'header header header header header header' 'middle middle middle...")
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* increase Vector sidebar width to accommodate ads */
div#mw-panel { width: 12em; }
div#footer, #mw-head-base, div#content { margin-left: 12em; }
#left-navigation { margin-left: 12em; }
body.mediawiki {
  background-color: #092140;
      background-image: url(URL Of Image);
  background-position: center;
  background-size: 1275px;
  background-repeat: repeat !important;
}
.grid-container {
.grid-container {
display: grid;
display: grid;

Revision as of 17:11, 7 January 2021

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

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

body.mediawiki {
   background-color: #092140;
      background-image: url(URL Of Image);
   background-position: center;
   background-size: 1275px;
   background-repeat: repeat !important;
}


	.grid-container {
		display: grid;
		grid-template-areas: 'header header header header header header' 'middle middle middle middle middle right' 'middle2 middle2 middle2 middle2 middle2 right' 'middle3 middle3 middle3 middle3 middle3 right' 'bottom bottom bottom bottom bottom right'
	}
	@media only screen and (max-width:80rem) {
		.grid-container {
			grid-template-areas: 'header header header header header header' 'middle middle middle middle right right' 'middle2 middle2 middle2 middle2 right right ' 'middle3 middle3 middle3 middle3 middle3 middle3' 'bottom bottom bottom bottom bottom bottom'
		}
	}
	@media only screen and (max-width:64rem) {
		.grid-container {
			grid-template-areas: 'header header header header header header' 'middle middle middle middle middle middle' 'middle2 middle2 middle2 middle2 middle2 middle2' 'middle3 middle3 middle3 middle3 middle3 middle3' 'right right right right right right' 'bottom bottom bottom bottom bottom bottom'
		}
	}
	.header {
		grid-area: header
	}
	.bottom {
		grid-area: bottom
	}
	.left {
		grid-area: left
	}
	.right {
		grid-area: right
	}
	.middle {
		grid-area: middle
	}
	.middle2 {
		grid-area: middle2
	}
	.middle3 {
		grid-area: middle3
	}