Difference between revisions of "MediaWiki:Common.css"
From Starsonata Wiki
m |
m |
||
Line 17: | Line 17: | ||
table.wikitable { | table.wikitable { | ||
− | + | display: inline-block; /* shrink to fit */ | |
− | + | width: 100%; /* whatever width you like */ | |
+ | position: relative; /* so .content can use position: absolute */ | ||
} | } |
Revision as of 23:58, 28 November 2013
/*@media only screen and (min-device-width: 1024px) { table.wikitable tbody{ display: block; width: 98%; max-height: 30em; overflow-y: scroll; overflow-x: none; border: 2px solid #088; } table.wikitable thead{ display: block; width: 98%; border: 2px solid #088; } } */ table.wikitable { display: inline-block; /* shrink to fit */ width: 100%; /* whatever width you like */ position: relative; /* so .content can use position: absolute */ }