MediaWiki:Mobile.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
/* ========= Project:About and Project:Contacts cleanup ========= */ | /* ========= Project:About and Project:Contacts cleanup ========= */ | ||
.page-Project_About .mw-body-header, .page-Project_Contacts .mw-body-header { | .page-Project_About .mw-body-header, .page-Project_Contacts .mw-body-header, .page-Project_Statistics .mw-body-header { | ||
display: none; | display: none; | ||
} | } |
Revision as of 14:44, 3 August 2024
/* All CSS here will be loaded for users of the mobile site */
/* ========= general cleanup ========= */
a.external {
background-image: none!important;
padding-right: 0!important;
}
.page-actions-menu {
display: none;
}
.desktop-only {
display: none;
}
.toggle-list {
display: none;
}
/* ========= main page cleanup ========= */
.page-Main_Page .page-heading {
display: none;
}
/* ========= Project:About and Project:Contacts cleanup ========= */
.page-Project_About .mw-body-header, .page-Project_Contacts .mw-body-header, .page-Project_Statistics .mw-body-header {
display: none;
}
/* ========= mediaviewer cleanup ========= */
.mw-mmv-overlay {
background-color: #f0f0f0;
background-image: linear-gradient(135deg, #f1f1f1, silver);
}
/* =========================== custom CSS =========================== */
.img-comfy {
margin-top: 30px;
margin-bottom: 30px;
}
.neutral-box {
margin-top: 2rem;
margin-bottom: 2rem;
padding: 2rem 3rem;
background-color: #f1f1f1;
}
.switch-caption-container {
display: none;
}
/* ====== Project:About ====== */
.side-by-side-image-row {
display: flex;
flex-direction: column;
gap: 2rem;
}
.side-by-side-image-container {
width: 100%;
}
.image-caption {
width: 85%;
margin: 0 auto 30px auto!important;
font-size: 85%;
text-align: center;
font-style: italic;
}