Difference between revisions of "MediaWiki:Mobile.css"
From Yo-Kai Watch Wiki
(Replaced content with "→CSS placed here will affect users of the mobile site: ") |
|||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the mobile site */ | /* CSS placed here will affect users of the mobile site */ | ||
+ | |||
+ | /* Infobox template style */ | ||
+ | #infobox { | ||
+ | border: 1px solid #020202; | ||
+ | background-color: #f9f9f9; | ||
+ | color: black; | ||
+ | margin-bottom: -1em; | ||
+ | margin-left: 1em; | ||
+ | padding: 0.2em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | #infobox td, | ||
+ | #infobox th { | ||
+ | vertical-align: top; | ||
+ | |||
+ | } | ||
+ | #infobox caption { | ||
+ | font-size: larger; | ||
+ | margin-left: inherit; | ||
+ | } | ||
+ | #infobox.bordered { | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | #infobox.bordered td, | ||
+ | #infobox.bordered th { | ||
+ | border: 1px solid #020202; | ||
+ | } | ||
+ | #infobox.bordered .borderless td, | ||
+ | #infobox.bordered .borderless th { | ||
+ | border: 0; | ||
+ | } | ||
+ | |||
+ | #infobox th{ | ||
+ | width: 365px; | ||
+ | margin-left: 0px; | ||
+ | horizontal-align: left; | ||
+ | |||
+ | } |
Revision as of 13:25, 26 October 2015
/* CSS placed here will affect users of the mobile site */ /* Infobox template style */ #infobox { border: 1px solid #020202; background-color: #f9f9f9; color: black; margin-bottom: -1em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align: center; } #infobox td, #infobox th { vertical-align: top; } #infobox caption { font-size: larger; margin-left: inherit; } #infobox.bordered { border-collapse: collapse; } #infobox.bordered td, #infobox.bordered th { border: 1px solid #020202; } #infobox.bordered .borderless td, #infobox.bordered .borderless th { border: 0; } #infobox th{ width: 365px; margin-left: 0px; horizontal-align: left; }