diff --git a/lib/render.js b/lib/render.js index b53b015..cc39ddf 100644 --- a/lib/render.js +++ b/lib/render.js @@ -73,7 +73,7 @@ const render = (e, renderPath, renderData = {}, cfg = {}) => { // 版权信息 copyright: `Created By ${version.name}${version.yunzai} & ${pluginName}${version.version}`, // 版权信息(简化版) - createdby: `Created By
${pluginName}
${version.version}
& Powered By
ZZZure
`, + createdby: `Created By
${pluginName}
${version.version}
& Powered By
ZZZure
`, }, quality: 100, }; diff --git a/resources/common/layout/index.css b/resources/common/layout/index.css index acdba53..c31151b 100644 --- a/resources/common/layout/index.css +++ b/resources/common/layout/index.css @@ -29,18 +29,13 @@ body { .copyright .highlight { color: #fff; position: relative; + display: flex; + align-items: flex-start; } -.copyright .with-version { - padding-right: 1.8em; -} -.copyright .with-version .version { - padding: 0.1em 0.3em; - border-radius: 0.2em; +.copyright .highlight .version { + vertical-align: super; font-size: 0.8em; - color: #fff; - position: absolute; - top: -0.5em; - right: -0.5em; + margin-top: -0.3em; } /*# sourceMappingURL=index.css.map */ diff --git a/resources/common/layout/index.scss b/resources/common/layout/index.scss index a451807..201df8c 100644 --- a/resources/common/layout/index.scss +++ b/resources/common/layout/index.scss @@ -31,18 +31,12 @@ body { .highlight { color: #fff; position: relative; - } - .with-version { - padding-right: 1.8em; + display: flex; + align-items: flex-start; .version { - // background-color: #3f3f3f; - padding: 0.1em 0.3em; - border-radius: 0.2em; + vertical-align: super; font-size: 0.8em; - color: #fff; - position: absolute; - top: -0.5em; - right: -0.5em; + margin-top: -0.3em; } } }