bugfix1001.2

欢迎来到Star Engine 星引擎 WIKI!
Wiki交流QQ群:1090018247
点击成为魔法少女! 点击成为星趴高手!

由于游戏更新,Wiki正在更新页面,当前内容可能并非最新版本,欢迎进群督促!

全站通知:

Widget:DIYPageCompendium

来自吉星派对WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

<style> .MapScence {

 display: grid;
 grid-template-columns: repeat(2, 1fr);  
 gap: 18px;                              
 padding: 0;

}

.MapScence > div {

 position: relative;
 border-radius: 12px;      
 overflow: hidden;        
 background-color: #f0f0f0; 

}

.MapScence > div h3 {

 margin: 0;                
 width: 100%;
 height: 145px;            
 background-color: transparent !important;       
 background-size: cover;
 background-position: center;
 border-radius: 12px;
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
 font-size: 16px;
 text-shadow: 1px 1px 2px black;

}

.MapScence > div .caption {

 position: absolute;
 left: 0;               
 right: 0;               
 bottom: 0;            
 margin: 0;
 color: white;
 background-color: rgba(0, 0, 0, 0.6); 
 padding: 6px 12px;       
 text-align: center;      
 border-radius: 0 0 12px 12px; 
 font-size: 14px;
 z-index: 1;
 box-sizing: border-box;  

} .MapScence_009 .caption {

 color: rgba(0, 0, 0, 0)!important; 

} .MapPreview_img {

 position: absolute;
 top: 5%;               
 left: 1%;
 height:40px ;  
 width:40px ;  
 z-index: 2;             
 background-color: rgba(255,255,255,0.5); 
 border-radius: 4px;     
 overflow: hidden;       

} .MapName-text {

 position: absolute;
 left: 8px;                 
 top: 50%;                   
 transform: translateY(-50%); 
 color: white;               
 background-color: rgba(0, 0, 0, 0); 
 padding: 0 0;
 font-size: 30px;
 text-shadow: 3px 0 0 #000, 2.77px 1.15px 0 #000, 2.12px 2.12px 0 #000, 1.15px 2.77px 0 #000, 0 3px 0 #000, -1.15px 2.77px 0 #000, -2.12px 2.12px 0 #000, -2.77px 1.15px 0 #000, -3px 0 0 #000, -2.77px -1.15px 0 #000, -2.12px -2.12px 0 #000, -1.15px -2.77px 0 #000, 0 -3px 0 #000, 1.15px -2.77px 0 #000, 2.12px -2.12px 0 #000, 2.77px -1.15px 0 #000;
 font-weight: bold;
 z-index: 2;                 
 margin: 0;
 white-space: nowrap;         

}

@media screen and (min-width:769px){ .Mode {

   display:flex;
   width: 100%;
   padding: 2%;
   justify-content:center;

} .Mode > div {

   display: block;
   width: 30%;
   margin: 1%;
   position:relative;

} .GameMode:active{

   transform:translateY(4px) scale(0.98);

} .Mode > div > div {

   display: flex;
   height: 48%;
   width:100%;
   position:relative;

} .ModeName {

   position:absolute;
   bottom: 10%;
   left: 50%;
   transform: translateX(-50%);
   color:white;
   font-weight:bold;
   font-size:2.55vh;
   text-shadow: 3px 0 0 #000, 2.77px 1.15px 0 #000, 2.12px 2.12px 0 #000, 1.15px 2.77px 0 #000, 0 3px 0 #000, -1.15px 2.77px 0 #000, -2.12px 2.12px 0 #000, -2.77px 1.15px 0 #000, -3px 0 0 #000, -2.77px -1.15px 0 #000, -2.12px -2.12px 0 #000, -1.15px -2.77px 0 #000, 0 -3px 0 #000, 1.15px -2.77px 0 #000, 2.12px -2.12px 0 #000, 2.77px -1.15px 0 #000;

} .ModeDescription {

   position:absolute;
   bottom: 1.5%;
   left: 50%;
   transform: translateX(-50%);
   color:white;
   font-weight:bold;
   font-size:1.3vh;

} .MatchTag {

   padding:3%;
   position:absolute;
   top: 10%;
   left: -3%;
   color:white;
   font-weight:bold;
   font-size:2vh;
   text-shadow: 3px 0 0 #000, 2.77px 1.15px 0 #000, 2.12px 2.12px 0 #000, 1.15px 2.77px 0 #000, 0 3px 0 #000, -1.15px 2.77px 0 #000, -2.12px 2.12px 0 #000, -2.77px 1.15px 0 #000, -3px 0 0 #000, -2.77px -1.15px 0 #000, -2.12px -2.12px 0 #000, -1.15px -2.77px 0 #000, 0 -3px 0 #000, 1.15px -2.77px 0 #000, 2.12px -2.12px 0 #000, 2.77px -1.15px 0 #000;
   background-color:#C6FF4C;
   box-shadow:0 0 20px rgba(0,0,0,0.2);
   border-radius:5px;

} }

@media screen and (max-width:768px){ .Mode {

   display:block;
   width: 100%;
   padding: 2%;
   justify-content:center;

} .Mode > div {

   display: block;
   margin: 1%;
   position:relative;

} .GameMode:active{

   transform:translateY(4px) scale(0.68);

} .Mode > div > div {

   display: flex;
   position:relative;

} .ModeName {

   position:absolute;
   bottom: 10%;
   left: 50%;
   transform: translateX(-50%);
   color:white;
   font-weight:bold;
   font-size:2.65vh;
   text-shadow: 3px 0 0 #000, 2.77px 1.15px 0 #000, 2.12px 2.12px 0 #000, 1.15px 2.77px 0 #000, 0 3px 0 #000, -1.15px 2.77px 0 #000, -2.12px 2.12px 0 #000, -2.77px 1.15px 0 #000, -3px 0 0 #000, -2.77px -1.15px 0 #000, -2.12px -2.12px 0 #000, -1.15px -2.77px 0 #000, 0 -3px 0 #000, 1.15px -2.77px 0 #000, 2.12px -2.12px 0 #000, 2.77px -1.15px 0 #000;

} .ModeDescription {

   position:absolute;
   bottom: 1.5%;
   left: 50%;
   transform: translateX(-50%);
   color:white;
   font-weight:bold;
   font-size:1.5vh;

} .MatchTag {

   padding:3%;
   position:absolute;
   top: 10%;
   left: -3%;
   color:white;
   font-weight:bold;
   font-size:2vh;
   text-shadow: 1px -1px black, -1px -1px black, 1px 1px black, -1px 1px black;
   background-color:#C6FF4C;
   box-shadow:0 0 20px rgba(0,0,0,0.2);
   border-radius:5px;

} .MapPreview_img {

 position: absolute;
 top: 2%;               
 left: 2%;
 height:4vh ;  
 width:4vh ; 
 z-index: 2;             
 background-color: rgba(255,255,255,0.5); 
 border-radius: 4px;     
 overflow: hidden;       

} .MapScence > div h3 {

 margin: 0;                
 width: 100%;
 height: 145px;            
 background-color: rgba(0,0,0,0.6) !important;       
 background-size: cover;
 background-position: center;
 border-radius: 12px;
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
 font-size: 14px;
 text-shadow: 1px 1px 2px black;

} .MapScence > div .caption {

 position: absolute;
 left: 0;               
 right: 0;               
 bottom: 0;            
 margin: 0;
 color: white;
 background-color: rgba(0, 0, 0, 0.6); 
 padding: 6px 12px;       
 text-align: center;      
 border-radius: 0 0 12px 12px; 
 font-size: 10px;
 z-index: 1;
 box-sizing: border-box;  

} .MapName-text {

 position: absolute;
 left: 8px;                 
 top: 50%;                   
 transform: translateY(-50%); 
 color: white;               
 background-color: rgba(0, 0, 0, 0); 
 padding: 0 0;
 font-size: 20px;
 text-shadow: 3px 0 0 #000, 2.77px 1.15px 0 #000, 2.12px 2.12px 0 #000, 1.15px 2.77px 0 #000, 0 3px 0 #000, -1.15px 2.77px 0 #000, -2.12px 2.12px 0 #000, -2.77px 1.15px 0 #000, -3px 0 0 #000, -2.77px -1.15px 0 #000, -2.12px -2.12px 0 #000, -1.15px -2.77px 0 #000, 0 -3px 0 #000, 1.15px -2.77px 0 #000, 2.12px -2.12px 0 #000, 2.77px -1.15px 0 #000;
 font-weight: bold;
 z-index: 2;                 
 margin: 0;
 white-space: nowrap;         

} } </style>

<script> (function() {

   // 页面加载完成后执行
   function init() {
       var btns = document.querySelectorAll('.GameMode');
       if (btns.length === 0) return;
       // 定义按钮ID对应的跳转页面(请根据您的Wiki实际路径调整)
       var pageUrls = {
           btn1: '/starengine/往届优秀DIY作品',
           btn2: '/starengine/星趴角色生成器',
           btn3: '/starengine/星趴卡牌合成器',
           btn4: '/starengine/星趴筹码制成器'
       };
       for (var i = 0; i < btns.length; i++) {
           var btn = btns[i];
           // 清除原有事件,避免冲突
           btn.onclick = null;
           // 绑定点击跳转
           btn.onclick = (function(el) {
               return function(e) {
                   e.stopPropagation();
                   var url = pageUrls[el.id];
                   if (url) {
                       window.location.href = url;
                   }
               };
           })(btn);
       }
   }
   if (document.readyState === 'loading') {
       document.addEventListener('DOMContentLoaded', init);
   } else {
       init();
   }

})(); </script>