MediaWiki

MediaWiki:Mobile.css

From The Rockman EXE Zone Wiki

Revision as of 01:14, 30 December 2014 by Prof. 9 (talk | contribs) (Created page with "→‎CSS placed here will affect users of the mobile site: .template_battlefield { padding: 72px 8px 0; } .template_battlefield table { border-collapse: collapse; border-s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the mobile site */
.template_battlefield {
	padding: 72px 8px 0;
}

.template_battlefield table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
}

.template_battlefield th, .template_battlefield td {
	border: 0;
	padding: 0;
	position: relative;
}

.template_battlefield td {
	margin: 0;
	height: 8px;
	line-height: 0;
}

.template_battlefield_obj-red {
	position: absolute;
	bottom: 0;
	left: 50%;
	-moz-transform: scaleX(-1) translateX(50%);
	-o-transform: scaleX(-1) translateX(50%);
	-webkit-transform: scaleX(-1) translateX(50%);
	transform: scaleX(-1) translateX(50%);
}

.template_battlefield_obj-blue {
	position: absolute;
	bottom: 0;
	left: 50%;
	-moz-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}