MediaWiki:Minerva.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 53: | Line 53: | ||
dl { | dl { | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
} | |||
/* Hide nomobile */ | |||
.nomobile, | |||
.msgbox .msgbox-image { | |||
display: none; | |||
} | |||
/* Remove blank space when editing */ | |||
.action-edit .overlay-header-container + .overlay-content { | |||
padding-top: 0; | |||
} | |||
.editor-overlay .content { | |||
margin-top: 0; | |||
} | } | ||
Revision as of 07:42, 10 January 2026
/* Theme toggle button styles for MinervaNeue mobile skin */
/* Icon styles */
.minerva-icon--theme-toggle {
mask-image: linear-gradient(transparent, transparent),
url("data:image/svg+xml,%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8.85464918.37900488c-1.91149353 1.51069427-3.13816124 3.84973402-3.13816124 6.47527736 0 4.55564936 3.69308349 8.24873286 8.24873286 8.24873286 2.5815709 0 4.8861545-1.1859235 6.3986798-3.0426994-.8206378 4.7389755-4.9523867 8.343122-9.9259291 8.343122-5.56375572 0-10.07407088-4.5103151-10.07407088-10.0740709 0-5.02506013 3.67919933-9.19079725 8.49074856-9.95036192z' fill='%2354595d' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.stw-theme-dark .minerva-icon--theme-toggle {
mask-image: linear-gradient(transparent, transparent),
url("data:image/svg+xml,%3Csvg fill='%2354595d' fill-rule='evenodd' xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M17.07 7.07V2.93h-4.14L10 0 7.07 2.93H2.93v4.14L0 10l2.93 2.93v4.14h4.14L10 20l2.93-2.93h4.14v-4.14L20 10zM10 16a6 6 0 1 1 6-6 6 6 0 0 1-6 6z'/%3E%3Ccircle cx='10' cy='10' r='4.5'/%3E%3C/svg%3E");
}
/* Hide vanilla MW theme settings */
#skin-client-prefs-skin-theme {
display: none;
}
/* Hide page title on all main pages */
body.rootpage-Structorica_Wiki .page-heading,
body.rootpage-Main_Page .page-heading {
display: none;
}
/* Margin is too big */
.page-heading {
margin-bottom: 0;
}
/* Force collapsed navbox headers to full width */
.content table.navbox {
display: table;
border-collapse: separate;
}
/* Add a background color to the overlay header and remove the padding */
.overlay-header {
background-color: var(--content-background-color);
padding-top: 0;
}
.content li {
margin-bottom: 2px;
}
.content .mw-parser-output > h2, .content .section-heading {
border-bottom: 1px solid #c8ccd1;
}
dl {
margin-bottom: 5px;
}
/* Hide nomobile */
.nomobile,
.msgbox .msgbox-image {
display: none;
}
/* Remove blank space when editing */
.action-edit .overlay-header-container + .overlay-content {
padding-top: 0;
}
.editor-overlay .content {
margin-top: 0;
}