MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Content deleted Content added
DivošiRunner (talk | contribs) Move main page-only CSS into shared homepage TemplateStyles |
DivošiRunner (talk | contribs) Restore main-page-only chrome cleanup after CSS consolidation |
||
| Line 1: | Line 1: | ||
/* === Main Page Chrome Cleanup === */ |
|||
.page-Main_Page #citizen-page-header, |
|||
.page-Main_Page #citizen-page-header-sticky-placeholder, |
|||
.page-Main_Page #citizen-page-header-sticky-sentinel, |
|||
.page-Main_Page #contentSub, |
|||
.page-Main_Page .printfooter, |
|||
.page-Main_Page .citizen-page-footer { |
|||
display: none !important; |
|||
} |
|||
/* === Footer Cleanup === */ |
/* === Footer Cleanup === */ |
||
#footer-places { |
#footer-places { |
||
Revision as of 16:02, 9 April 2026
/* === Main Page Chrome Cleanup === */
.page-Main_Page #citizen-page-header,
.page-Main_Page #citizen-page-header-sticky-placeholder,
.page-Main_Page #citizen-page-header-sticky-sentinel,
.page-Main_Page #contentSub,
.page-Main_Page .printfooter,
.page-Main_Page .citizen-page-footer {
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);
}