Difference between revisions of "MediaWiki:Mobile.css"
From The Mickey Wiki: Your Walt Disney World Encyclopedia!
Line 18: | Line 18: | ||
padding: 0rem 2rem 0 2rem; | padding: 0rem 2rem 0 2rem; | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | |||
+ | div.cell { | ||
+ | display: table-cell; | ||
+ | } | ||
+ | |||
+ | div.cell + p { | ||
+ | margin: 0; | ||
} | } | ||
Revision as of 02:58, 27 February 2022
/* 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: 22em; height: 15em; background-size: contain; display: inlign; overflow: auto; padding: 0; vertical-align: top; background-position: center; border: none; } .tdihb_text { font-size: 1rem; padding: 0rem 2rem 0 2rem; text-align: center; } div.cell { display: table-cell; } div.cell + p { margin: 0; } /*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: 15em !important; }