MediaWiki:Gadget-ResponsiveStyle.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→Responsive CSS applied to both desktop and mobile: ") |
mNo edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Responsive CSS applied to both desktop and mobile */ | /* Responsive CSS applied to both desktop and mobile */ | ||
/* Mobile phone */ | |||
@media all and (max-width: 719px) { | |||
/* Template:Spoiler */ | |||
.notice#spoiler { | |||
padding: 2px 6px !important; | |||
margin: 18px 6px !important; | |||
} | |||
/* Template:Columns */ | |||
.columns { | |||
column-count: 1 !important; | |||
} | |||
/* Template:Switchable */ | |||
body.mediawiki div.switchable, | |||
div[style*="float"]:has(> .switchable) { | |||
width: auto !important; | |||
max-width: none !important; | |||
float: none !important; | |||
margin: 0 !important; | |||
} | |||
.switchabletabs { | |||
text-align: center !important; | |||
} | |||
.switchabletabs li { | |||
line-height: 2; | |||
} | |||
} |
Latest revision as of 11:19, July 16, 2024
/* Responsive CSS applied to both desktop and mobile */
/* Mobile phone */
@media all and (max-width: 719px) {
/* Template:Spoiler */
.notice#spoiler {
padding: 2px 6px !important;
margin: 18px 6px !important;
}
/* Template:Columns */
.columns {
column-count: 1 !important;
}
/* Template:Switchable */
body.mediawiki div.switchable,
div[style*="float"]:has(> .switchable) {
width: auto !important;
max-width: none !important;
float: none !important;
margin: 0 !important;
}
.switchabletabs {
text-align: center !important;
}
.switchabletabs li {
line-height: 2;
}
}