Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: img.fullwidth { width: 90%; height: auto; }") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | /* | |
img.fullwidth { | img.fullwidth { | ||
width: 90%; | width: 90%; | ||
height: auto; | height: auto; | ||
+ | */ | ||
+ | /* To make images responsive */ | ||
+ | img { | ||
+ | max-width:100%; | ||
+ | height:auto; | ||
+ | } | ||
+ | |||
+ | .fileinfo-paramfield { | ||
+ | text-align: right; | ||
+ | padding-right: 0.4em; | ||
+ | width:15%; | ||
+ | background: #ccf; | ||
} | } |
Latest revision as of 09:51, 29 December 2021
/* CSS placed here will be applied to all skins */ /* img.fullwidth { width: 90%; height: auto; */ /* To make images responsive */ img { max-width:100%; height:auto; } .fileinfo-paramfield { text-align: right; padding-right: 0.4em; width:15%; background: #ccf; }