Skip to content

Commit

Permalink
fix scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
LingDong- committed Aug 12, 2020
1 parent 5454dfc commit 9184613
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion savefiles/mypoems.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"cells":[{"meter":"七律仄起首句入韵","rhymebook":"平水韵","text":"白帝城中云出门,白帝城下雨翻盆。高江急峡雷霆斗,翠木苍藤日月昏。戎马不如归马逸,千家今有百家存。哀哀寡妇诛求尽,恸哭秋原何处村。"},{"meter":"五律平起首句入韵","rhymebook":"平水韵","text":"将军胆气雄,臂悬两角弓。缠结青骢马,出入锦城中。时危未授钺,势屈难为功。宾客满堂上,何人高义同。"},{"meter":"七律仄起首句不入韵","rhymebook":"平水韵","text":"渔父天寒网罟冻,莫徭射雁鸣桑弓。去年米贵阙军食,今年米贱大伤农。楚人重鱼不重鸟,汝休枉杀南飞鸿。况闻处处鬻男女,割慈忍爱还租庸。万国城头吹画角,此曲哀怨何时终。"},{"meter":"忆秦娥","rhymebook":"平水韵","text":"箫声咽,秦娥梦断秦楼月。秦楼月,年年柳色,灞陵伤别。\n乐游原上清秋节,咸阳古道音尘绝。音尘绝,西风残照,汉家陵阙"},{"meter":"五律平起首句入韵","rhymebook":"中华新韵","text":""},{"meter":"满江红","rhymebook":"平水韵","text":"怒发冲冠,凭阑处,潇潇雨歇。抬望眼,仰天长啸,壮怀激烈。三十功名尘与土,八千里路云和月。莫等闲,白了少年头,空悲切。\n靖康耻,犹未雪。臣子恨,何时灭。驾长车踏破,贺兰山缺。壮志饥餐胡虏肉,笑谈渴饮匈奴血。待从头,收拾旧山河,朝天阙"},{"meter":"五律平起首句不入韵","rhymebook":"平水韵","text":""}]}
{"cells":[{"meter":"七律仄起首句入韵","rhymebook":"平水韵","text":"白帝城中云出门,白帝城下雨翻盆。高江急峡雷霆斗,翠木苍藤日月昏。戎马不如归马逸,千家今有百家存。哀哀寡妇诛求尽,恸哭秋原何处村。"},{"meter":"五律平起首句入韵","rhymebook":"平水韵","text":"将军胆气雄,臂悬两角弓。缠结青骢马,出入锦城中。时危未授钺,势屈难为功。宾客满堂上,何人高义同。"},{"meter":"七律仄起首句不入韵","rhymebook":"平水韵","text":"渔父天寒网罟冻,莫徭射雁鸣桑弓。去年米贵阙军食,今年米贱大伤农。楚人重鱼不重鸟,汝休枉杀南飞鸿。况闻处处鬻男女,割慈忍爱还租庸。万国城头吹画角,此曲哀怨何时终。"},{"meter":"忆秦娥","rhymebook":"平水韵","text":"箫声咽,秦娥梦断秦楼月。秦楼月,年年柳色,灞陵伤别。\n乐游原上清秋节,咸阳古道音尘绝。音尘绝,西风残照,汉家陵阙"},{"meter":"蝶恋花","rhymebook":"广韵","text":""},{"meter":"满江红","rhymebook":"中华新韵","text":"怒发冲冠,凭阑处,潇潇雨歇。抬望眼,仰天长啸,壮怀激烈。三十功名尘与土,八千里路云和月。莫等闲,白了少年头,空悲切。\n靖康耻,犹未雪。臣子恨,何时灭。驾长车踏破,贺兰山缺。壮志饥餐胡虏肉,笑谈渴饮匈奴血。待从头,收拾旧山河,朝天阙"},{"meter":"五律平起首句不入韵","rhymebook":"平水韵","text":""}]}
24 changes: 24 additions & 0 deletions style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,28 @@ input:focus {
top: 57px;
left: 0px;
z-index: 1001;
}

/* width */
::-webkit-scrollbar {
width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
background: none;
}

/* Handle */
::-webkit-scrollbar-thumb {
background:var(--color-border);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background:var(--color-border);
}

::-webkit-scrollbar-corner {
background:none;
}

0 comments on commit 9184613

Please sign in to comment.