Difference between revisions of "MediaWiki:Mobile.css"
From The Mickey Wiki: Your Walt Disney World Encyclopedia!
Line 3: | Line 3: | ||
.tdihb { | .tdihb { | ||
background-image: url(https://themickeywiki.com/images/DonaldBoard.JPG); | background-image: url(https://themickeywiki.com/images/DonaldBoard.JPG); | ||
− | width: | + | width: 12em; |
− | height: | + | height: 11em; |
− | background-size: | + | background-size: contain; |
− | + | ||
display: inlign; | display: inlign; | ||
overflow: auto; | overflow: auto; | ||
padding: 0; | padding: 0; | ||
+ | vertical-align: top; | ||
+ | background-position: center; | ||
} | } | ||
Revision as of 13:06, 10 October 2021
/* CSS placed here will affect users of the mobile site */ /*Allow for This Day in History*/ .tdihb { background-image: url(https://themickeywiki.com/images/DonaldBoard.JPG); width: 12em; height: 11em; background-size: contain; display: inlign; overflow: auto; padding: 0; vertical-align: top; background-position: center; } /*Unfortunately, the important tag was used to force an automatic height for some reason in the skin css... can't have this for the main page*/ .content a > img.parklink { height: 21em !important; }