mirror of https://github.com/torappinfo/uweb
rebuilding site Mon Aug 2 05:03:49 PM CST 2021
parent
f569546736
commit
a7beef08d7
@ -0,0 +1,15 @@
|
|||||||
|
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width" />
|
||||||
|
<script>function g(){
|
||||||
|
let d=document;
|
||||||
|
let f=d.forms[0];
|
||||||
|
window.open("i:0i/sdcard/uweb/home.css:"+f.b.value+":http://jamesfengcao.gitee.io/uwebzh/searchurl/template/home.css");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
</script><style>
|
||||||
|
input{height:40px;width:100%;border-radius:50px;}
|
||||||
|
</style>
|
||||||
|
<title>主屏设置</title></head><body>
|
||||||
|
<form onsubmit="return g();" style="margin:5px 0 5px 0;padding:0px">
|
||||||
|
<input name=b placeholder="背景图片url, 可为配置目录下图像文件名"/><br>
|
||||||
|
<input type="submit" value="设置主屏">
|
||||||
|
</form>
|
@ -0,0 +1,21 @@
|
|||||||
|
<style>
|
||||||
|
a{color:inherit;text-decoration:inherit;}.O{display:none}
|
||||||
|
.L{line-height:1;}.G{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;}input{height:40px;width:100%;border-radius:50px;}
|
||||||
|
a.icon{display:inline-block;margin:0 10px 0 10px;text-align:center;}a.icon>img{width:40px;height:40px;font-size:28px;border-radius:20px;position:relative;}a.icon>img:after{content:attr(alt);font-size:28px;display:block;position:absolute;z-index:2;top:0;left:0;width:100%;height:100%;background-color:#fff;}a.icon>span{display:block;overflow:hidden;height:24px;line-height:24px;}
|
||||||
|
|
||||||
|
input{background:rgba(255,255,255,0.7);}
|
||||||
|
|
||||||
|
body::after {
|
||||||
|
content: "";
|
||||||
|
background-image: url(%1%);
|
||||||
|
opacity: 0.5;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
position: absolute;
|
||||||
|
z-index: -1;
|
||||||
|
background-position: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
Loading…
Reference in New Issue