MediaWiki:Common.css:修订间差异

来自夜幕之下
跳到导航跳到搜索
Rin留言 | 贡献
无编辑摘要
Rin留言 | 贡献
无编辑摘要
第5行: 第5行:
/* 背景相关 */
/* 背景相关 */
html {
html {
  margin: 0;
background-image:  
 
     url("/images/b/b5/Banner.jpg"),       /* 上层 */
  background-image:  
     url("/images/1/1f/Background.jpg")!important;       /* 底层 */
     url("/images/b/b5/Banner.jpg"),
     url("/images/1/1f/Background.jpg") !important;
 
   background-size:  
   background-size:  
     100% 30%,             /* 上面那张只占30%高度 */
     100% 30vh,
     cover!important;                 /* 底图铺满 */
     cover !important;
 
   background-position:  
   background-position:  
     top center,           /* 顶部 */
     top center,
     center center!important;
     center center !important;
background-attachment:fixed;
 
background-repeat:no-repeat,no-repeat!important;
  background-repeat:  
    no-repeat,
    no-repeat !important;
 
  background-attachment:
    fixed,
    fixed;
}
}



2026年3月2日 (一) 19:50的版本

/* 这里放置的CSS将应用于所有皮肤 */

/* 全局 */

/* 背景相关 */
html {
  margin: 0;

  background-image: 
    url("/images/b/b5/Banner.jpg"),
    url("/images/1/1f/Background.jpg") !important;

  background-size: 
    100% 30vh,
    cover !important;

  background-position: 
    top center,
    center center !important;

  background-repeat: 
    no-repeat,
    no-repeat !important;

  background-attachment: 
    fixed,
    fixed;
}

body {
	background:transparent; /*去除主题body颜色*/
	background:rgba(0,0,0,0.5);
	backdrop-filter:blur(1px);
}

/* 修复编辑背景 */
.editor.ace_editor.ace-tm {
    background: white;
}



/* 侧边栏 */
.citizen-header {
	background-color:rgba(255,255,255,0.3);
	backdrop-filter:blur(10px);
}


/* footer  */
.citizen-footer {
	background-color:unset;
}