Thanks for using our site!

If you're looking to become an editor, please read the Becoming an Editor section carefully.

MediaWiki:Mobile.css: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Kiwibasket
No edit summary
imported>Kiwibasket
mNo 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 */
/* table mobile formatting */
@media only screen and (max-width: 800px) {
div.infoboxright {
  width: 100%;
.flip-scroll .cf:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
  margin: 0 auto;
.flip-scroll * html .cf { zoom: 1; }
}
.flip-scroll *:first-child+html .cf { zoom: 1; }
 
div.actuallycentered {
.flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; }
  max-width: 320px;
  margin: 0 auto;
.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:16, 30 March 2021

/* All CSS here will be loaded for users of the mobile site */

/* table mobile formatting */
div.infoboxright {
   width: 100%;
   margin: 0 auto;
}

div.actuallycentered {
   max-width: 320px;
   margin: 0 auto;

}