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>`,
// 版权信息(简化版)
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,
};

View file

@ -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 */

View file

@ -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;
}
}
}