From 0ccf4a3647860f3b3b5e1d802968c1dd37f8df8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=AE=E5=B8=AE?= <11372541+bbaban@user.noreply.gitee.com> Date: Sat, 8 Jul 2023 15:28:12 +0000 Subject: [PATCH] pull MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 帮帮 <11372541+bbaban@user.noreply.gitee.com> --- plugins/genshin/resources/html/deck/deck.css | 213 ++++++++++++++++++ plugins/genshin/resources/html/deck/deck.html | 85 +++++++ .../resources/html/deckList/deckList.css | 213 ++++++++++++++++++ .../resources/html/deckList/deckList.html | 58 +++++ 4 files changed, 569 insertions(+) create mode 100644 plugins/genshin/resources/html/deck/deck.css create mode 100644 plugins/genshin/resources/html/deck/deck.html create mode 100644 plugins/genshin/resources/html/deckList/deckList.css create mode 100644 plugins/genshin/resources/html/deckList/deckList.html diff --git a/plugins/genshin/resources/html/deck/deck.css b/plugins/genshin/resources/html/deck/deck.css new file mode 100644 index 0000000..1283e2f --- /dev/null +++ b/plugins/genshin/resources/html/deck/deck.css @@ -0,0 +1,213 @@ +@font-face { + font-family: "tttgbnumber"; + src: url("../../font/tttgbnumber.ttf"); + font-weight: normal; + font-style: normal; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; + user-select: none; +} + +body { + font-size: 18px; + color: #1e1f20; + font-family: PingFangSC-Medium, PingFang SC, sans-serif; + transform: scale(2); + transform-origin: 0 0; +} + +.container { + width: 465px; + padding: 20px 15px 10px 15px; + background-color: #ececec; +} + +.head_box { + box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%); +} + +.head_box .id_text { + font-size: 24px; +} + +.head_box .role-name { + font-size: 24px; +} + +.head_box .genshin_logo { + position: absolute; + top: 1px; + right: 15px; + width: 97px; +} + +.basicInfo { + padding: 10px 5px 15px; + background: #f5f5f5; + box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%); + border-radius: 15px; + position: relative; + margin-bottom: 12px; +} + +.avatar_covers { + display: flex; + flex-wrap: wrap; +} + +.avatar_covers div { + flex: 0 0 33%; + padding: 10px; +} + +.avatar_covers img { + width: 100%; + height: 100%; + border: 2px solid #c3b6aa; + border-radius: 5px; +} + +.action_covers { + display: flex; + flex-wrap: wrap; +} + +.action_covers div { + flex: 0 0 25%; + padding: 5px; +} + +.action_covers img { + width: 100%; + height: 100%; + border: 2px solid #c3b6aa; + border-radius: 5px; +} + +.card-wrapper { + position: relative; + width: 25%; + padding: 5px; +} + +.card-wrapper img { + width: 100%; + height: 100%; + border: 2px solid #c3b6aa; + border-radius: 5px; +} + +.hp-container { + position: absolute; + top: 9%; + left: 12%; + transform: translate(-50%, -50%); +} + +.hp-container img { + position: absolute; + border: none; + top: 0; + left: 0; + width: 25px; + height: auto; +} + +.rq-container img { + position: absolute; + border: none; + top: 0; + left: 0; + width: 40px; + height: auto; +} + +.cost-wrapper { + display: flex; + flex-direction: column; + align-items: center; + position: absolute; + top: 0; + left: 0; +} + +.va-container { + position: relative; + top: -11px; + left: -2px; +} + +.va-container img { + position: relative; + border: none; + top: 0; + left: 0; + width: 20px; + height: auto; +} + +.ty-container { + position: relative; + top: -6px; + left: -7px; +} + +.ty-container img { + position: relative; + border: none; + top: 0; + left: 0; + width: 30px; + height: auto; +} +.num { + position: absolute; + bottom: 15px; + right: 15px; + transform: translate(50%, 50%); +} + +.num img { + border: none; + width: 30px; + height: auto; +} +.overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.logo { + font-size: 12px; + font-family: "tttgbnumber"; + text-align: center; + color: #7994a7; +} + +.bottom-msg { + font-size: 12px; + font-family: "tttgbnumber"; + text-align: center; + color: #7994a7; + margin-bottom: 5px; + margin-top: -5px; +} + +.tab_lable { + position: absolute; + top: -10px; + left: -8px; + background: #d4b98c; + color: #fff; + font-size: 14px; + padding: 3px 10px; + border-radius: 15px 0px 15px 15px; + z-index: 20; +} \ No newline at end of file diff --git a/plugins/genshin/resources/html/deck/deck.html b/plugins/genshin/resources/html/deck/deck.html new file mode 100644 index 0000000..e7944c9 --- /dev/null +++ b/plugins/genshin/resources/html/deck/deck.html @@ -0,0 +1,85 @@ + + + +
+ + + + + + + + + + {{@headIndexStyle}} + + + +