“Widget:BackgroundImage”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
2个标签移动版编辑移动网页编辑
第3行: 第3行:
 
body:after {content: ""; opacity: 0.75; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: -1; background: url("<!--{$link|escape:'html'}-->"); background-size: contain; background-attachment: fixed; background-repeat: no-repeat; background-position: left top}
 
body:after {content: ""; opacity: 0.75; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: -1; background: url("<!--{$link|escape:'html'}-->"); background-size: contain; background-attachment: fixed; background-repeat: no-repeat; background-position: left top}
 
#content, #mw-navigation, .skin-timeless #bodyContent {background: rgba(255, 255, 255, 0.8)}
 
#content, #mw-navigation, .skin-timeless #bodyContent {background: rgba(255, 255, 255, 0.8)}
body.skin-timeless, {backgroud: rgba(255, 255, 255, 0.8)}
+
body.skin-timeless {backgroud: rgba(255, 255, 255, 0.8)}
 
</style>
 
</style>

2020年2月10日 (一) 14:56的版本

<style> body {position: relative} body:after {content: ""; opacity: 0.75; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: -1; background: url(""); background-size: contain; background-attachment: fixed; background-repeat: no-repeat; background-position: left top}

  1. content, #mw-navigation, .skin-timeless #bodyContent {background: rgba(255, 255, 255, 0.8)}

body.skin-timeless {backgroud: rgba(255, 255, 255, 0.8)} </style>