Team:KIT-Kyoto/Modeling
From 2014.igem.org
(Difference between revisions)
Line 157: | Line 157: | ||
$(".PDs1,.PDs2").css({width:pd_s}); | $(".PDs1,.PDs2").css({width:pd_s}); | ||
} | } | ||
+ | $(function(){ | ||
+ | var ua = navigator.userAgent; | ||
+ | if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 || ua.indexOf('BlackBerry') > 0 || ua.indexOf('Windows Phone') > 0){ | ||
+ | }else { | ||
$(function(){ | $(function(){ | ||
pdfix(); | pdfix(); | ||
$(window).resize(pdfix); | $(window).resize(pdfix); | ||
+ | }); | ||
+ | } | ||
}); | }); | ||
</script> | </script> | ||
Line 189: | Line 195: | ||
.pdimg3{ | .pdimg3{ | ||
float:left; | float:left; | ||
+ | } | ||
+ | |||
+ | |||
+ | @media screen and (max-width: 568px) { | ||
+ | .PDs1,.PDs2{ | ||
+ | border:1px dashed blue; | ||
+ | box-sizing:border-box; | ||
+ | } | ||
+ | .PDs1{ | ||
+ | padding-right:0px; | ||
+ | float:none; | ||
+ | } | ||
+ | .PDs2{ | ||
+ | padding-left:0px; | ||
+ | float:none; | ||
+ | } | ||
+ | .pdimg2,.pdimg3{ | ||
+ | border:1px dotted red; | ||
+ | } | ||
+ | .pdimg2,.pdimg3{ | ||
+ | float:none; | ||
+ | } | ||
} | } | ||
</style> | </style> |
Revision as of 06:07, 13 October 2014
Modeling
Parts & Device
Biological Assay