Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Content deleted Content added
XPDG (talk | contribs)
No edit summary
Tag: Manual revert
XPDG (talk | contribs)
No edit summary
Line 32: Line 32:
}
}


/* === Remove Citizen skin button styling from footer icons === */
/* === Footer Icon Styling === */
/* Clean base state */
#footer-icons .cdx-button {
#footer-icons .cdx-button {
all: unset;
all: unset;
display: inline-flex;
display: inline-flex;
cursor: pointer;
transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Hover style to simulate a soft button */
#footer-icons .cdx-button:hover {
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
}

Revision as of 21:05, 30 May 2025

/* === Main Page Adjustments === */
.page-Main_Page .mw-side,
.page-Main_Page .firstHeading,
.page-Main_Page #siteSub {
	display: none !important;
}

/* === Footer Cleanup === */
#footer-places {
	display: none !important;
}

#footer-info {
	display: flex;
	flex-direction: column;
}

#footer-info-lastmod {
	order: 1;
}

#footer-info-viewcount {
	order: 2;
	width: 100%;
	float: none;
	clear: both;
	margin-top: 0.5em;
}

#footer-info-copyright {
	order: 3;
}

/* === Footer Icon Styling === */
/* Clean base state */
#footer-icons .cdx-button {
	all: unset;
	display: inline-flex;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Hover style to simulate a soft button */
#footer-icons .cdx-button:hover {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}