Module:Infobox/styles.css: Difference between revisions
Appearance
Applies fix for File:Broken_infobox_of_Chris_Dangerfield_2024-06-13.png |
Drop parser output and add media query. Follow up to previous edit. |
||
Line 43: | Line 43: | ||
/* Overrides restriction of max width on infoboxes until templates such as [[Template:Infobox_football_biography]] have been adopted for mobile screens ([[File:Broken_infobox_of_Chris_Dangerfield_2024-06-13.png]]) */ | /* Overrides restriction of max width on infoboxes until templates such as [[Template:Infobox_football_biography]] have been adopted for mobile screens ([[File:Broken_infobox_of_Chris_Dangerfield_2024-06-13.png]]) */ | ||
body.skin--responsive.skin-vector-2022 | @media (min-width: 640px) { | ||
body.skin--responsive.skin-vector-2022 .infobox { | |||
max-width: none !important; | |||
} | |||
} | } | ||
/* Dark theme: [[William_Wragg]], [[Coral_Castle]] */ | /* Dark theme: [[William_Wragg]], [[Coral_Castle]] */ | ||
html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) div:not(.notheme) { | html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) div:not(.notheme) { |