Skip to content

Commit

Permalink
ToneOZ 澳聲通字典工具整合 : fix background color pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyxuan committed Jun 1, 2021
1 parent ea5b0bc commit cd51429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ime/tzdic/tzdic.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
<html lang="zh-hant-TW">
<head>
<meta charset="utf-8">
<title>ToneOZ 澳聲通字典</title>
<style>
body{
background: linear-gradient(45deg, rgba(48, 48, 48, 0.7) 0%, rgba(32,32,32,0.9) 40%,rgba(48,48,48,0.7) 100%);opacity:0.95;color:#fff;
color:#fff;
}
.diccard{
padding: 5px 0 5px 0;
Expand Down
2 changes: 1 addition & 1 deletion ime/zhdicui.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const tzDicTitle = "字典";
const tzDicWelcome = "請輸入並按下開始";
const cssUI =
".dicWinMin {position:absolute;top:0;right:0;font-size:24px;cursor: pointer;user-select: none;padding:0 10px 0 10px; overflow:hidden;} "
+ ".dicWin{background: linear-gradient(45deg, rgba(48, 48, 48, 0.7) 0%, rgba(32,32,32,0.9) 40%,rgba(48,48,48,0.7) 100%);opacity:0.95;color:#fff;padding:5px;"
+ ".dicWin{background: linear-gradient(45deg, rgba(16, 16, 16, 0.7) 0%, rgba(0,0,0,0.9) 40%,rgba(16,16,16,0.7) 100%) !important;opacity:0.95;color:#fff;padding:5px;"
+ "position:absolute;top:0;left:0;width:50%;height:100px;display:inline-block;} "
+ ".dicWinTitle {padding:5px;display:inline-block;width:100%;cursor: pointer;user-select: none;} "
+ ".dicWinDesc {position: absolute;width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;} "
Expand Down

0 comments on commit cd51429

Please sign in to comment.