Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuzui
tiangou
提交
ece0a0c3
tiangou
项目概览
fuzui
/
tiangou
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
tiangou
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
ece0a0c3
编写于
3月 28, 2020
作者:
X
xiongbao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update: 支持一键复制,加入投稿链接
上级
b6149e28
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
42 addition
and
5 deletion
+42
-5
index.html
index.html
+42
-5
未找到文件。
index.html
浏览文件 @
ece0a0c3
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
font-family
:
-apple-system
,
'Helvetica Neue'
,
'Helvetica'
,
'Tahoma'
,
'Arial'
,
'PingFang SC'
,
STHeiTi
,
'Microsoft Yahei'
;
font-family
:
-apple-system
,
'Helvetica Neue'
,
'Helvetica'
,
'Tahoma'
,
'Arial'
,
'PingFang SC'
,
STHeiTi
,
'Microsoft Yahei'
;
font-size
:
16px
;
font-size
:
16px
;
background-color
:
#f4f5fd
;
background-color
:
#f4f5fd
;
color
:
#03081a
;
}
}
mark
{
mark
{
background-color
:
transparent
;
background-color
:
transparent
;
...
@@ -108,7 +109,6 @@
...
@@ -108,7 +109,6 @@
margin
:
0
;
margin
:
0
;
padding
:
.4rem
;
padding
:
.4rem
;
letter-spacing
:
2px
;
letter-spacing
:
2px
;
color
:
#03081A
;
text-align
:
justify
;
text-align
:
justify
;
flex
:
1
;
flex
:
1
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
...
@@ -129,8 +129,10 @@
...
@@ -129,8 +129,10 @@
}
}
address
time
{
margin-right
:
auto
;}
address
time
{
margin-right
:
auto
;}
footer
{
footer
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-shrink
:
0
;
flex-shrink
:
0
;
text-align
:
center
;
padding
:
0
0
.5rem
;
padding
:
0
0
.5rem
;
padding-bottom
:
calc
(
constant
(
safe-area-inset-bottom
)
+
.5rem
);
padding-bottom
:
calc
(
constant
(
safe-area-inset-bottom
)
+
.5rem
);
padding-bottom
:
calc
(
env
(
safe-area-inset-bottom
)
+
.5rem
);
padding-bottom
:
calc
(
env
(
safe-area-inset-bottom
)
+
.5rem
);
...
@@ -138,7 +140,7 @@
...
@@ -138,7 +140,7 @@
}
}
button
{
button
{
border
:
0
none
;
border
:
0
none
;
margin
:
0
;
margin
:
0
.3rem
;
padding
:
0
;
padding
:
0
;
background-color
:
#fff
;
background-color
:
#fff
;
width
:
1rem
;
width
:
1rem
;
...
@@ -153,7 +155,31 @@
...
@@ -153,7 +155,31 @@
cursor
:
pointer
;
cursor
:
pointer
;
outline
:
0
;
outline
:
0
;
}
}
footer
em
{
display
:
block
;
font-style
:
normal
;
letter-spacing
:
1px
;
font-size
:
.16rem
;
color
:
#b0b0b0
;}
footer
a
,
footer
a
:active
,
footer
a
:visited
{
vertical-align
:
middle
;
text-decoration
:
none
;
font-size
:
.32rem
;
color
:
#3078e6
;
padding
:
.2rem
;
}
footer
a
:hover
{
color
:
#03081a
;
}
tips
{
display
:
none
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background-color
:
rgba
(
0
,
0
,
0
,
.5
);
border-radius
:
.04rem
;
font-size
:
.32rem
;
padding
:
.12rem
.24rem
;
color
:
#fff
;
}
@media
(
min-width
:
750px
)
{
@media
(
min-width
:
750px
)
{
html
{
font-size
:
100px
;}
html
{
font-size
:
100px
;}
section
{
section
{
...
@@ -237,10 +263,21 @@
...
@@ -237,10 +263,21 @@
</article>
</article>
<address></address>
<address></address>
</section>
</section>
<footer><button
title=
"点击刷新,再来一篇"
onclick=
"randomSoul()"
>
再来一篇
</button></footer>
<footer><a
href=
"https://docs.qq.com/form/fill/DR1VHTXpjTkJ3SG9z?_w_tencentdocx_form=1"
target=
"_blank"
>
投稿
</a><button
title=
"点击刷新,再来一篇"
onclick=
"randomSoul()"
>
再来一篇
</button><a
href=
"javascript:;"
data-btn=
"copy"
data-clipboard-target=
"article"
>
复制
</a></footer>
<tips>
已复制
</tips>
<script
src=
"./assets/js/index.js"
></script>
<script
src=
"./assets/js/index.js"
></script>
<script
src=
"https://cdn.bootcss.com/clipboard.js/2.0.6/clipboard.min.js"
></script>
<script>
<script>
randomSoul
();
randomSoul
();
var
clipboard
=
new
ClipboardJS
(
'
a[data-btn="copy"]
'
);
clipboard
.
on
(
'
success
'
,
function
(
e
)
{
$
(
'
tips
'
).
show
(
setTimeout
(
function
()
{
$
(
'
tips
'
).
hide
()
},
1500
)
);
e
.
clearSelection
();
});
function
randomNumBoth
(
min
,
max
){
function
randomNumBoth
(
min
,
max
){
var
range
=
max
-
min
;
var
range
=
max
-
min
;
var
rand
=
Math
.
random
();
var
rand
=
Math
.
random
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录