MediaWiki:Mobile.css: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
/* ========= general cleanup ========= */ | /* ========= general cleanup ========= */ | ||
a.external { | |||
background-image: none!important; | |||
padding-right: 0!important; | |||
} | |||
.page-actions-menu { | .page-actions-menu { | ||
display: none; | display: none; | ||
Line 11: | Line 16: | ||
.toggle-list { | .toggle-list { | ||
display: none; | display: none; | ||
} | |||
.minerva-header .branding-box { | |||
font-size: 85%; | |||
} | } | ||
Line 18: | Line 27: | ||
display: none; | display: none; | ||
} | } | ||
/* ========= Project:About and Project:Contacts cleanup ========= */ | |||
.page-Project_About .page-heading, .page-Project_Contacts .page-heading, .page-Project_Statistics .page-heading { | |||
display: none; | |||
} | |||
/* ========= mediaviewer cleanup ========= */ | /* ========= mediaviewer cleanup ========= */ | ||
Line 40: | Line 56: | ||
.switch-caption-container { | .switch-caption-container { | ||
display: none; | 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; | |||
} | } |
Latest revision as of 15:14, 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;
}
.minerva-header .branding-box {
font-size: 85%;
}
/* ========= main page cleanup ========= */
.page-Main_Page .page-heading {
display: none;
}
/* ========= Project:About and Project:Contacts cleanup ========= */
.page-Project_About .page-heading, .page-Project_Contacts .page-heading, .page-Project_Statistics .page-heading {
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;
}