Browse Source

优化CSS

1.x
xiaoz 6 years ago
parent
commit
5c140bf631
  1. 2
      found.php
  2. 14
      static/style.css

2
found.php

@ -24,7 +24,7 @@
$imgurl = $domain.$img['path']; $imgurl = $domain.$img['path'];
$imgid = $img['id']; $imgid = $img['id'];
?> ?>
<div class="layui-col-lg4"> <div class="layui-col-lg4" style = "height:220px;border:1px solid #ECECEC;margin-top:1em;">
<!-- <a href="javascript:;" onclick = "userpreview('<?php echo $imgurl ?>',<?php echo $imgid; ?>)"></a> --> <!-- <a href="javascript:;" onclick = "userpreview('<?php echo $imgurl ?>',<?php echo $imgid; ?>)"></a> -->
<img lay-src="<?php echo $imgurl ?>" layer-src="<?php echo $imgurl ?>" src = "./static/loading32.gif"> <img lay-src="<?php echo $imgurl ?>" layer-src="<?php echo $imgurl ?>" src = "./static/loading32.gif">
</div> </div>

14
static/style.css

@ -72,15 +72,15 @@
margin-right:auto; margin-right:auto;
} }
#found-img{ #found-img{
margin-top:4em; margin-top:1em;
} }
#found-img img{ #found-img img{
max-width: 100%; max-width: 100%;
max-height:100%; max-height:100%;
border:1px solid #ECECEC; /*border:1px solid #ECECEC;*/
border-radius:5px; border-radius:5px;
margin-top:1em; /*margin-top:1em;*/
margin-left:auto; margin-left:auto;
margin-right:auto; margin-right:auto;
} }
@ -95,10 +95,16 @@
#left-menu{ #left-menu{
top:4em; top:4em;
} }
.picadmin{
margin:0 auto;
height:200px;
border:1px solid #ECECEC;
margin-top:1em;
}
.picadmin img{ .picadmin img{
max-width: 100%; max-width: 100%;
max-height:100%; max-height:100%;
border:1px solid #ECECEC; /*border:1px solid #ECECEC;*/
border-radius:5px; border-radius:5px;
} }
.page{ .page{

Loading…
Cancel
Save