Difference between revisions of "Template:Kyoto"

Line 600: Line 600:
 
<!-- This tells the browser that your page is responsive -->
 
<!-- This tells the browser that your page is responsive -->
 
<meta name="viewport" content="width=device-width, initial-scale=1.0">  
 
<meta name="viewport" content="width=device-width, initial-scale=1.0">  
 +
<script type="text/javascript">
 +
var ua = navigator.userAgent;
 +
if(ua.indexOf('iPhone') != -1 || ua.indexOf('Android') != -1){
 +
//iPhone & Android
 +
document.write('<link rel="stylesheet" href="style_mb.css">');
 +
}else{
 +
//PC
 +
document.write('<link rel="stylesheet" href="style.css">');
 +
}
 +
<meta name="viewport" content="width=device-width, initial-scale=1.0">
 +
</script>
  
 
</head>
 
</head>

Revision as of 04:42, 8 October 2018