Anonymous
×
Create a new article
Write your page title here:
We currently have 57 articles on Vultroverse Wiki. Type your article name above or click on one of the titles below and start writing!



MediaWiki:Common.css: Difference between revisions

No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Line 13: Line 13:
     }
     }


.onlymobile {
(function () {
display:none;
if(document.URL.search("mobile") == -1)
{
  var ua = navigator.userAgent;
 
  if(ua.match(/Android/i))
  {
    if(ua.match(/Mobile/i))
    {
      window.location.replace(document.URL + "?useformat=mobile");
    }
  }
  else if((/webos|iphone|ipod|blackberry|windows phone|bada/i).test(ua))
  {
    window.location.replace(document.URL + "?useformat=mobile");
  }
}
}
}());

Revision as of 16:03, 11 December 2020

/* CSS placed here will be applied to all skins */
/* Douglas attempts to add more space between paragraphs */
p {line-height: 1.5em}
ul li { line-height: 1.5em }

/* Site width */
body {
    	position: relative;
    	margin-left: auto !important;
    	margin-right: auto !important;
    	max-width: 90%;
    	background-size: 100% 5em;
    }

(function () {
if(document.URL.search("mobile") == -1)
{
  var ua = navigator.userAgent;

  if(ua.match(/Android/i))
  {
    if(ua.match(/Mobile/i))
    {
      window.location.replace(document.URL + "?useformat=mobile");
    }
  }
  else if((/webos|iphone|ipod|blackberry|windows phone|bada/i).test(ua))
  {
    window.location.replace(document.URL + "?useformat=mobile");
  }
}
}());