MediaWiki:Minerva.less/specials.less

From Old School Near-Reality Wiki
Jump to navigation Jump to search

//

/* ================================
      changes to special pages
   ================================ */

// Special:RecentChanges
.mw-recentchanges-toplinks th {
	font-size: 90%;
}

.mw-changeslist-legend {
	margin-left: 0;
}

// Special:MobileOptions
@media all and (min-width: 720px) {
	.ns-special {
		.pre-content {
			background-color: transparent;
		}
		.mw-body {
			background: var(--body-main);
			
			form {
				background: transparent;
			}
		}
	}
}

form.mw-mf-settings .oo-ui-fieldLayout {
	&,
	&:first-child {
		border-color: var(--body-mid);
	}
}

// Page hist when not in amc
.ns-special .content-header {
	border-bottom-color: var(--body-dark);
}


// when amc is on
.action-history {
	.mw-history-compareselectedversions {
		background-color: var(--body-main);
	}
	#pagehistory li:not(.selected) {
		border-bottom-color: var(--sidebar);
	}
}

// Special:Contributions
ul.mw-contributions-list li,
ul.special li {
	border-color: var(--sidebar);
}

// Special:History - you wont be directed to this page if you got amc turned on
.page-list,
.topic-title-list,
.site-link-list {
	li > a:not(.mw-ui-icon-element) {
		color: var(--byline-color);
	}
	
	&.side-list .list-thumb {
		color: var(--text-color);
	}
}

// user link
.mw-mf-user {
	color: var(--text-color);
}