Thanks for using our site!

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

MediaWiki:Mobile.css

From ranchstory
Revision as of 11:44, 6 June 2021 by imported>Kiwibasket
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;

}

/* Test */
.test {
	color: red;
}

/* Wikitable */
table.wikitable {
	margin: 1em 1em 1em 0;
	background-color: #f9f9f9;
	border: 1px #aaa solid;
	border-collapse: collapse;
	color: black;
}

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
	border: 1px #aaa solid;
	padding: 0.3em 0.5em;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
	background-color: #f2f2f2;
	text-align: center;
}

table.wikitable > caption {
	font-weight: bold;
}

/* Table padding */
table.padding-1em > tr > td,
table.padding-1em > * > tr > td {
	padding: 0.7em 1em;
}

table.padding-07em > tr > th,
table.padding-07em > tr > td,
table.padding-07em > * > tr > th,
table.padding-07em > * > tr > td {
	padding: 0.7em;
}

table.padding-03em > tr > td,
table.padding-03em > * > tr > td {
	padding: 0.3em;
}