diff --git a/vrtest-imagemap.html b/vrtest-imagemap.html index 5087f5f..9c41a02 100644 --- a/vrtest-imagemap.html +++ b/vrtest-imagemap.html @@ -29,20 +29,23 @@
- - - - - - - - - - - - - - + 校舎1 + 校舎2 + 校舎3 + 校舎4 + 保健室 + グラウンド + 教室1 + 教室2 + 教室3 + 教室4 + 教室4 + 教室4 + 教室4 + 教室4 + 教室4 + 教室4 + 教室4
@@ -53,9 +56,8 @@ - - - + +
diff --git a/vrtest.css b/vrtest.css index 4363354..4d82552 100644 --- a/vrtest.css +++ b/vrtest.css @@ -114,8 +114,8 @@ border-top: 1px solid #dbdddf; } -/* 携帯用 */ -@media screen and (max-width: 900px){ +/* iPad用 */ +@media screen and (max-width: 1024px){ /* header */ #header { flex-direction: column; @@ -133,6 +133,26 @@ margin-top: 10px; } + div.item-left a{ + margin: 2px; + padding: 5px 10px; + } + + div.item-left button{ + margin: 2px; + padding: 5px 10px; + } + + iframe{ + width: 100vw; + height: 100vh; + } + + #footer{ + width: 100%; + text-align: center; + padding: 10px; + } div.container{ flex-direction: column; height: auto; @@ -147,28 +167,20 @@ width: auto; } - div.item-left a{ - margin: 2px; - padding: 5px 10px; - } - - div.item-left button{ - margin: 2px; - padding: 5px 10px; - } - div.item-right{ - margin: 0; + width: 600px; + height: auto; + margin: 0 auto; + } +} + + +/* 携帯用 */ +@media screen and (max-width: 480px){ + div.item-right{ + width: 400px; + height: auto; + margin: 0 auto; } - iframe{ - width: 100vw; - height: 100vh; - } - - #footer{ - width: 100%; - text-align: center; - padding: 10px; - } }