Title: Module:Infobox/styles.css - freem URL Source: https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css Markdown Content: [](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#) - [x] * [Home](https://freemwiki.com/wiki/Main_Page) * [Random](https://freemwiki.com/wiki/Special:Random) * [Log in](https://freemwiki.com/index.php?title=Special:UserLogin&returnto=Module%3AInfobox%2Fstyles.css&returntoquery=mobileaction%3Dtoggle_view_mobile%26oldid%3D579727) * [Settings](https://freemwiki.com/index.php?title=Special:MobileOptions&returnto=Module%3AInfobox%2Fstyles.css) * [About](https://freemwiki.com/wiki/About) * [Terms of Service](https://freemwiki.com/wiki/Terms_of_Service) [freem](https://freemwiki.com/wiki/Main_Page) Search # Module:Infobox/styles.css * [Language](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css "Language") * [Watch](https://freemwiki.com/index.php?title=Special:UserLogin&returnto=Module%3AInfobox%2Fstyles.css) * [Edit](https://freemwiki.com/index.php?title=Module:Infobox/styles.css&action=edit&oldid=579727) <[Module:Infobox](https://freemwiki.com/wiki/Module:Infobox "Module:Infobox") Revision as of 07:08, 10 October 2025 by [en>Zackmann08](https://freemwiki.com/wiki/User:Zackmann08 "en:User:Zackmann08")(attempting to resolve a nesting issue.) (diff) ← Older revision | [Latest revision](https://freemwiki.com/wiki/Module:Infobox/styles.css "Module:Infobox/styles.css") ([diff](https://freemwiki.com/index.php?title=Module:Infobox/styles.css&diff=cur&oldid=579727 "Module:Infobox/styles.css")) | [Newer revision →](https://freemwiki.com/index.php?title=Module:Infobox/styles.css&direction=next&oldid=579727 "Module:Infobox/styles.css") ([diff](https://freemwiki.com/index.php?title=Module:Infobox/styles.css&diff=next&oldid=579727 "Module:Infobox/styles.css")) [](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-1)/* {{[pp](https://freemwiki.com/wiki/Template:Pp "Template:Pp")|small=y}} */[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-2)/*[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-3) * This TemplateStyles sheet deliberately does NOT include the full set of[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-4) * infobox styles. We are still working to migrate all of the manual[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-5) * infoboxes. See [[[MediaWiki talk:Common.css/to do#Infobox]]](https://freemwiki.com/wiki/MediaWiki_talk:Common.css/to_do "MediaWiki talk:Common.css/to do")[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-6) * DO NOT ADD THEM HERE[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-7) */[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-8)/*[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-9) * not strictly certain these styles are necessary since the modules now[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-10) * exclusively output infobox-subbox or infobox, not both[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-11) * just replicating the module faithfully[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-12) */[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-13).infobox-subbox {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-14)padding: 0;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-15)border: none;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-16)margin: -3 px;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-17)width: auto;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-18)min-width: 100%;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-19)font-size: 100%;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-20)clear: none;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-21)float: none;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-22)background-color: transparent;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-23) color:inherit;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-24)}[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-25)[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-26).infobox-3cols-child {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-27)margin: -3 px;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-28)}[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-29)[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-30).infobox .navbar {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-31)font-size: 100%;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-32)}[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-33)[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-34)/* Dark theme: [[[William_Wragg]]](https://freemwiki.com/wiki/William_Wragg "William Wragg"), [[[Coral_Castle]]](https://freemwiki.com/wiki/Coral_Castle "Coral Castle") */[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-35)[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-36)@media screen {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-37) html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-38) background: #1f1f23 !important;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-39) /* switch with var( --color-base ) when supported. */[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-40) color: #f8f9fa;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-41)}[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-42)}[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-43)[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-44)[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-45)@media screen and ( prefers-color-scheme: dark) {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-46) html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) > div:not(.notheme)[style] {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-47) background: #1f1f23 !important;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-48) /* switch with var( --color-base ) when supported. */[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-49) color: #f8f9fa;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-50) }[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-51)}[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-52)[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-53)[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-54)/* Since infobox is a table, many infobox templates take advantage of this to[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-55) * add columns and rows to the infobox itself rather than as part of a new table[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-56) * inside them. This class should be discouraged and removed on the long term,[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-57) * but allows us to at least identify these tables going forward[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-58) * Currently in use on: [[[Module:Infobox3cols]]](https://freemwiki.com/wiki/Module:Infobox3cols "Module:Infobox3cols")[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-59) * Fixes issue described in [[[phab:F55300125]]](https://freemwiki.com/wiki/Phab:F55300125 "Phab:F55300125") on Vector 2022.[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-60)*/[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-61)@media (min-width: 640px) {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-62) body.skin--responsive .infobox-table {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-63) display: table !important;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-64) }[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-65) body.skin--responsive .infobox-table > caption {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-66) display: table-caption !important;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-67) }[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-68) body.skin--responsive .infobox-table > tbody {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-69) display: table-row-group;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-70) }[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-71) body.skin--responsive .infobox-table th,[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-72) body.skin--responsive .infobox-table td {[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-73) padding-left: inherit;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-74) padding-right: inherit;[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-75) }[](https://freemwiki.com/index.php?mobileaction=toggle_view_mobile&oldid=579727&title=Module%3AInfobox%2Fstyles.css#L-76)} Retrieved from "[https://freemwiki.com/index.php?title=Module:Infobox/styles.css&oldid=579727](https://freemwiki.com/index.php?title=Module:Infobox/styles.css&oldid=579727)" [View edit history of this page.](https://freemwiki.com/index.php?title=Module:Infobox/styles.css&action=history) #### Languages This page is not available in other languages. freem * This page was last edited on 10 October 2025, at 07:08. * Content is available under [Creative Commons Attribution-ShareAlike 4.0](https://creativecommons.org/licenses/by-sa/4.0/) unless otherwise noted. FreemWiki is operated by **FINGERPOWER DIGITAL TECHNOLOGY LLC** (Colorado, Entity ID 20221978727). * [Privacy Policy](https://freemwiki.com/wiki/Privacy_Policy) * [About](https://freemwiki.com/wiki/About) * [Terms of Service](https://freemwiki.com/wiki/Terms_of_Service) * [Desktop](https://freemwiki.com/index.php?title=Module:Infobox/styles.css&mobileaction=toggle_view_desktop&oldid=579727)