style:修改部分样式

This commit is contained in:
bietiaop 2024-07-18 14:38:28 +08:00
parent 9bd603e3c9
commit c4879b57d2
3 changed files with 10 additions and 21 deletions

View file

@ -73,7 +73,7 @@ const render = (e, renderPath, renderData = {}, cfg = {}) => {
// 版权信息 // 版权信息
copyright: `Created By ${version.name}<span class="version">${version.yunzai}</span> & ${pluginName}<span class="version">${version.version}</span>`, copyright: `Created By ${version.name}<span class="version">${version.yunzai}</span> & ${pluginName}<span class="version">${version.version}</span>`,
// 版权信息(简化版) // 版权信息(简化版)
createdby: `Created By <div class="highlight with-version"><span>${pluginName}</span><div class="version">${version.version}</div></div> & Powered By <div class="highlight">ZZZure</div>`, createdby: `Created By <div class="highlight"><span>${pluginName}</span><div class="version">${version.version}</div></div> & Powered By <div class="highlight">ZZZure</div>`,
}, },
quality: 100, quality: 100,
}; };

View file

@ -29,18 +29,13 @@ body {
.copyright .highlight { .copyright .highlight {
color: #fff; color: #fff;
position: relative; position: relative;
display: flex;
align-items: flex-start;
} }
.copyright .with-version { .copyright .highlight .version {
padding-right: 1.8em; vertical-align: super;
}
.copyright .with-version .version {
padding: 0.1em 0.3em;
border-radius: 0.2em;
font-size: 0.8em; font-size: 0.8em;
color: #fff; margin-top: -0.3em;
position: absolute;
top: -0.5em;
right: -0.5em;
} }
/*# sourceMappingURL=index.css.map */ /*# sourceMappingURL=index.css.map */

View file

@ -31,18 +31,12 @@ body {
.highlight { .highlight {
color: #fff; color: #fff;
position: relative; position: relative;
} display: flex;
.with-version { align-items: flex-start;
padding-right: 1.8em;
.version { .version {
// background-color: #3f3f3f; vertical-align: super;
padding: 0.1em 0.3em;
border-radius: 0.2em;
font-size: 0.8em; font-size: 0.8em;
color: #fff; margin-top: -0.3em;
position: absolute;
top: -0.5em;
right: -0.5em;
} }
} }
} }