|
Thanks for using our site! |
MediaWiki:Mobile.css: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Kiwibasket mNo edit summary |
imported>Kiwibasket No edit summary |
||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
/* flip-scroll mobile formatting */ | |||
@media only screen and (max-width: 800px) { | |||
#flip-scroll .cf:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } | |||
#flip-scroll * html .cf { zoom: 1; } | |||
#flip-scroll *:first-child+html .cf { zoom: 1; } | |||
#flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; } | |||
#flip-scroll th, | |||
#flip-scroll td { margin: 0; vertical-align: top; } | |||
#flip-scroll th { text-align: left; } | |||
#flip-scroll table { display: block; position: relative; width: 100%; } | |||
#flip-scroll thead { display: block; float: left;} | |||
#flip-scroll tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; } | |||
#flip-scroll thead tr { display: block; } | |||
#flip-scroll th { display: block; text-align: right; } | |||
#flip-scroll tbody tr { display: inline-block; vertical-align: top; } | |||
#flip-scroll td { display: block; text-align: left; } | |||
} | |||
Revision as of 18:03, 30 March 2021
/* All CSS here will be loaded for users of the mobile site */
/* flip-scroll mobile formatting */
@media only screen and (max-width: 800px) {
#flip-scroll .cf:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
#flip-scroll * html .cf { zoom: 1; }
#flip-scroll *:first-child+html .cf { zoom: 1; }
#flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; }
#flip-scroll th,
#flip-scroll td { margin: 0; vertical-align: top; }
#flip-scroll th { text-align: left; }
#flip-scroll table { display: block; position: relative; width: 100%; }
#flip-scroll thead { display: block; float: left;}
#flip-scroll tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
#flip-scroll thead tr { display: block; }
#flip-scroll th { display: block; text-align: right; }
#flip-scroll tbody tr { display: inline-block; vertical-align: top; }
#flip-scroll td { display: block; text-align: left; }
}