MediaWiki:Monobook.css: Difference between revisions

From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
(removed)
(botom)
Line 25: Line 25:
border: 1px solid #2f6fab;
border: 1px solid #2f6fab;
padding-right: 0;
padding-right: 0;
}

input[type="radio"],
input[type="checkbox"] {
border: none;
}

select {
color: #000;
border: 1px solid #2f6fab;
}
}


Line 77: Line 67:
#p-search {
#p-search {
order: -1;
order: -1;
}

/* misc */
input[type="radio"],
input[type="checkbox"] {
border: none;
}

select {
color: #000;
border: 1px solid #2f6fab;
}
}

Revision as of 18:50, April 4, 2022

/* All CSS here will be loaded for users of the MonoBook skin */

body {
    background: url(https://static.miraheze.org/nintendowiki/6/62/Nwbkgd.png);
}

body.skin--responsive .portlet {
    width: 11.8em;
}

/* search button */

body.skin-monobook input.searchButton {
	color: #000;
	cursor: pointer;
	background-color: #fff;
	border: 1px solid #2f6fab;
	padding: 0 0.4em !important;
}
body.skin-monobook #searchButton,
body.skin-monobook #searchGoButton {
	font-weight: normal;
}
body.skin-monobook #searchInput {
	border: 1px solid #2f6fab;
	padding-right: 0;
}

/* user link colors */
body.skin--responsive #p-personal a.new {
	color: #f00;
}
body.skin--responsive #p-personal a.new:visited {
	color: #c00;
}
body.skin--responsive #p-personal li a {
	color: #00f;
}
body.skin--responsive #p-personal li a:hover {
	background-color: none;
	text-decoration: underline;
}
body.skin--responsive #p-personal li {
	color: #606060;
}

/* tab link colors */
#p-cactions li a {
	color: #00c;
}
#p-cactions .new a {
	color: #c00;
}

/* Responsive fix */
@media all and (max-width: 550px) {
	#sidebar .portlet[role="navigation"] {
		display: none !important;
	}
}

/* put search bar up top */
#sidebar {
    display: flex;
    flex-direction: column;
}
#p-search {
    order: -1;
}

/* misc */
input[type="radio"], 
input[type="checkbox"] {
	border: none;
}

select {
	color: #000;
	border: 1px solid #2f6fab;
}