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 @@ @@ -24,7 +24,7 @@
$imgurl = $domain.$img['path'];
$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> -->
<img lay-src="<?php echo $imgurl ?>" layer-src="<?php echo $imgurl ?>" src = "./static/loading32.gif">
</div>

14
static/style.css

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

Loading…
Cancel
Save