From 622cf947f2a7a86440f835da76807e98dcc4ec47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Thu, 16 Jun 2022 20:39:07 +0800 Subject: [PATCH] =?UTF-8?q?CSS=E5=B0=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index 6d720200..d736c03e 100644 --- a/style.css +++ b/style.css @@ -2943,29 +2943,31 @@ table .orb-icon } -.evo-panel-left .evo-type +.evo-panel-left .evo-type, +.evo-panel-left .evo-type::after { font-family: var(--game-font-family); font-size: 15px; line-height: 15px; +} +.evo-panel-left .evo-type +{ display: inline-block; position: relative; } .evo-panel-left .evo-type::after { - -webkit-background-clip: text; + -webkit-background-clip: text; /*垃圾Chrome,不支持无前缀的*/ background-clip: text; color: transparent; - font-family: var(--game-font-family); - font-size: 15px; - line-height: 15px; position: absolute; left: 0; } + .evo-panel-left .evo-type::before { /*text-shadow: black 1px 1px 0,black -1px 1px 0,black 1px -1px 0,black -1px -1px 0;*/ - -webkit-text-stroke: 3px black; + -webkit-text-stroke: 3px black; /*非W3C标准,但都支持*/ } .control-box,