MediaWiki:Monobook.css: Difference between revisions

From Computers Wiki
Jump to navigationJump to search
(Add .wikitable th style)
(Fix sidebar post-upgrade)
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
body {
body {
background-color: #ffffff; /* fur */
background-color: #ffffff; /* fur */
background-image: url(https://huntertur.net/flowers.png);
background-image: url(//huntertur.net/flowers.gif);
background-position: center top;
background-position: center top;
background-repeat: repeat-x;
background-repeat: repeat-x;
Line 8: Line 8:
}
}


.pBody, .mw-body {
#sidebar .pBody, .mw-body {
background-color: #ffffb0; /* belly, eyes */
background-color: #ffffb0; /* belly, eyes */
}
}


code, pre, .catlinks, .toc, .wikitable {
code, pre, .catlinks, .toc, .wikitable, div.thumbinner {
background-color: #ffffe0;
background-color: #ffffe0;
border-color: #e0e0e0;
border-color: #e0e0e0;
Line 22: Line 22:


.wikitable th {
.wikitable th {
background-color: #ffffd0;
background-color: #ffffd0 !important;
}

/* Template:Damage */
.damage {
background-color: #ffe0e0;
}

/* Template:Upgrade */
.upgrade {
background-color: #e0ffe0;
}

/* Template:Downgrade */
.downgrade {
background-color: #e0e0ff;
}
}

Latest revision as of 18:13, 8 October 2023

/* All CSS here will be loaded for users of the MonoBook skin */
body {
	background-color: #ffffff; /* fur */
	background-image: url(//huntertur.net/flowers.gif);
	background-position: center top;
	background-repeat: repeat-x;
	margin-top: 32px; /* height of image */
}

#sidebar .pBody, .mw-body {
	background-color: #ffffb0; /* belly, eyes */
}

code, pre, .catlinks, .toc, .wikitable, div.thumbinner {
	background-color: #ffffe0;
	border-color: #e0e0e0;
}

pre {
	width: fit-content;
}

.wikitable th {
	background-color: #ffffd0 !important;
}

/* Template:Damage */
.damage {
	background-color: #ffe0e0;
}

/* Template:Upgrade */
.upgrade {
	background-color: #e0ffe0;
}

/* Template:Downgrade */
.downgrade {
	background-color: #e0e0ff;
}