No edit summary Tags: Mobile edit Mobile web edit |
No edit summary |
||
Line 13: | Line 13: | ||
} | } | ||
. | (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"); | |||
} | |||
} | } | ||
}()); |
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"); } } }());