MediaWiki:Common.css: Difference between revisions

From RoR Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 32: Line 32:
.box-inline {
.box-inline {
color: #0E0E0E !important;
color: #0E0E0E !important;
                 border: 2px solid #db8200
                 border-style: solid;
                border-width: 2px;
                border-color: #db8200;
border-radius: 4px
border-radius: 4px
}
}

Revision as of 18:03, 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; }

/* Background image */
body.mediawiki {
   background-image: url("https://www.returnofreckoning.com/forum/styles/dawar/theme/images/theme/ror.jpg");
   background-position: center;
   background-repeat: repeat !important;
}

	.plainlist ol,
	.plainlist ul {
		line-height: inherit;
		list-style: none none;
		margin: 0
	}
	.plainlist ol li,
	.plainlist ul li {
		margin-bottom: 0
	}
	.plainlist li ol,
	.plainlist li ul {
		margin-left: 1.6em
	}



	.box-inline {
		color: #0E0E0E !important;
                border-style: solid;
                border-width: 2px;
                border-color: #db8200;
		border-radius: 4px
	}
	.box-inline .heading {
		border-radius: 3px
	}
	.box-inline hr {
		background: #CCC !important;
		margin: 5px 0px 5px
	}
	.box-inline .heading .mw-headline {
		color: white
	}
	.box-inline .heading .mw-headline img {
		margin-right: 5px
	}
	.box-inline .subheading,
	span[style="color:#FFCD51"] {
		color: #273442 !important
	}
	.box-inline a {
		color: #a55858 !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
	}