Merge pull request #372 from lieren2023/lieren2023-patch-27

启动页修改
This commit is contained in:
Spmario233 2023-09-22 17:43:37 +08:00 committed by GitHub
commit 3818111bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 8 additions and 15 deletions

View File

@ -1346,7 +1346,6 @@
item:{
style1:'样式一',
style2:'样式二',
style3:'样式三',
},
visualMenu:function(node,link){
node.className='button character';
@ -9896,7 +9895,7 @@
splash.dataset.splash_style=lib.config.splash_style;
// 扩展可通过window.splashurl设置素材读取路径
if(window.splashurl==undefined)window.splashurl='image/splash/';
if(lib.config.splash_style=='style1'||lib.config.splash_style=='style2'||lib.config.splash_style=='style3'){
if(lib.config.splash_style=='style1'||lib.config.splash_style=='style2'){
ui.create.div(node,'.avatar').setBackgroundImage('image/splash/'+lib.config.splash_style+'/'+lib.config.all.mode[i]+'.jpg');
}else{
ui.create.div(node,'.avatar').setBackgroundImage(splashurl+lib.config.splash_style+'/'+lib.config.all.mode[i]+'.jpg');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

View File

@ -423,33 +423,27 @@ table {
border-radius: 12px;
}
/* 启动页style2和style3 */
#splash[data-splash_style='style2']>div,
#splash[data-splash_style='style3']>div {
/* 启动页style2 */
#splash[data-splash_style='style2']>div {
width: 250px;
height: 350px;
top: calc(50% - 175px);
}
#splash[data-splash_style='style2']>div:first-child,
#splash[data-splash_style='style3']>div:first-child {
#splash[data-splash_style='style2']>div:first-child {
margin-left: 15px;
}
#splash[data-splash_style='style2']>div:last-child,
#splash[data-splash_style='style3']>div:last-child {
#splash[data-splash_style='style2']>div:last-child {
margin-right: 15px;
}
#splash[data-splash_style='style2']>div>.splashtext,
#splash[data-splash_style='style3']>div>.splashtext {
#splash[data-splash_style='style2']>div>.splashtext {
font-family: 'shousha';
font-size: 65px;
}
#splash[data-splash_style='style2'].slim>div>.splashtext,
#splash[data-splash_style='style3'].slim>div>.splashtext {
#splash[data-splash_style='style2'].slim>div>.splashtext {
right: 10px;
bottom: 5px;
}
#splash[data-splash_style='style2'].slim>div>.avatar,
#splash[data-splash_style='style3'].slim>div>.avatar {
#splash[data-splash_style='style2'].slim>div>.avatar {
width: 240px;
}