Site Notice

hello, world

Difference between revisions of "MediaWiki:Moeskin.css"

From Project-EPB Commons
(Created page with "→‎CSS placed here will affect users of the MoeSkin skin: #moe-bg-container#moe-bg-container { background-image: url(https://s2.loli.net/2022/02/21/sXUi6HE9wm2R1kv.png);...")
 
m (// Via InPageEdit-v2)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will affect users of the MoeSkin skin */
 
/* CSS placed here will affect users of the MoeSkin skin */
#moe-bg-container#moe-bg-container {
+
/* banner image */
   background-image: url(https://s2.loli.net/2022/02/21/sXUi6HE9wm2R1kv.png);
+
body.skin-moeskin #moe-bg-container {
   background-position: left center;
+
   background-image: linear-gradient(
 +
      to bottom,
 +
      rgba(255, 255, 255, 0) 80%,
 +
      var(--theme-background-color)
 +
    ),
 +
    /* 顶部头图 URL 地址 */
 +
    url(https://pixiv.js.org/api/illust/random?format=image);
 +
   background-position: center;
 
}
 
}

Latest revision as of 22:37, 15 April 2022

/* CSS placed here will affect users of the MoeSkin skin */
/* banner image */
body.skin-moeskin #moe-bg-container {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 80%,
      var(--theme-background-color)
    ),
    /* 顶部头图 URL 地址 */
    url(https://pixiv.js.org/api/illust/random?format=image);
  background-position: center;
}