mirror of https://github.com/helloxz/imgurl
优化CSS
parent
f8895a44e2
commit
d3fa04b8e3
|
@ -27,5 +27,6 @@
|
|||
<script src="/static/layui/layui.js"></script>
|
||||
<script src="/static/embed.js?v=<?php echo $version; ?>"></script>
|
||||
<script src="/static/clipBoard.min.js?v=1.40"></script>
|
||||
<script src = 'https://libs.xiaoz.top/assets/imgurl.js'></script>
|
||||
</body>
|
||||
</html>
|
|
@ -26,6 +26,8 @@
|
|||
<!-- 统计代码END -->
|
||||
</head>
|
||||
<body>
|
||||
<div id="left-gg"></div>
|
||||
<div id="right-gg"></div>
|
||||
<!-- 顶部导航栏 -->
|
||||
<div class = "header">
|
||||
<div class = "layui-container">
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function(){
|
||||
var left_gg = '<a href = "https://www.xiaoz.me/archives/12774" target = "_blank"><img src = "https://i.bmp.ovh/imgs/2019/05/9177285b57dfd962.png" /></a>';
|
||||
var right_gg = '<a href = "https://www.xiaoz.me/archives/11183" target = "_blank"><img src = "https://i.bmp.ovh/imgs/2019/05/0fa7eca50fe23133.png" /></a>';
|
||||
$("#left-gg").append(left_gg);
|
||||
$("#right-gg").append(right_gg);
|
||||
});
|
|
@ -580,3 +580,28 @@ body{
|
|||
padding-top:1em;
|
||||
background-color:rgba(0,0,0,0.5);
|
||||
}
|
||||
#left-gg{
|
||||
position:fixed;
|
||||
left:10px;
|
||||
top:80px;
|
||||
width:100%;
|
||||
max-width: 120px;
|
||||
}
|
||||
#left-gg img{
|
||||
width:100%;
|
||||
max-width: 120px;
|
||||
}
|
||||
#right-gg{
|
||||
position:fixed;
|
||||
top:80px;
|
||||
right:10px;
|
||||
}
|
||||
#right-gg img{
|
||||
width:100%;
|
||||
max-width: 120px;
|
||||
}
|
||||
@media screen and (max-width: 1366px) {
|
||||
#left-gg,#right-gg{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue