MediaWiki:Vector.css:修订间差异

添加1,218字节 、​ 2021年3月17日 (星期三)
小改动
(小改动,适配新页面)
(小改动)
第1行: 第1行:
@charset "UTF-8";
@charset "UTF-8";
/* 源代码: 用户:Salt_lovely/Vector.scss  */
:root {
:root {
   --themecolor: #a8cdff;
   --themecolor: #a8cdff;
第66行: 第67行:
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
  position: relative;
   font-size: 1rem;
   font-size: 1rem;
   line-height: 1.3rem;
   line-height: 1.3rem;
   cursor: pointer;
   cursor: pointer;
}
#mw-panel .portal > h1::after,
#mw-panel .portal > h2::after,
#mw-panel .portal > h3::after,
#mw-panel .portal > h4::after,
#mw-panel .portal > h5::after,
#mw-panel .portal > h6::after {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0;
  font-size: 0.75rem;
  line-height: 1.3rem;
  transition: 0.3s ease;
}
#mw-panel .portal > h1:hover::after,
#mw-panel .portal > h2:hover::after,
#mw-panel .portal > h3:hover::after,
#mw-panel .portal > h4:hover::after,
#mw-panel .portal > h5:hover::after,
#mw-panel .portal > h6:hover::after {
  opacity: 0.9;
}
}


第89行: 第115行:
   width: 100%;
   width: 100%;
   display: inline-block;
   display: inline-block;
}
#mw-panel .portal.salt-close > h1::after,
#mw-panel .portal.salt-close > h2::after,
#mw-panel .portal.salt-close > h3::after,
#mw-panel .portal.salt-close > h4::after,
#mw-panel .portal.salt-close > h5::after,
#mw-panel .portal.salt-close > h6::after {
  content: "点击展开";
}
}


#mw-panel .portal.salt-close .body {
#mw-panel .portal.salt-close .body {
   max-height: 0px;
   max-height: 0px;
}
#mw-panel .portal.salt-open > h1::after,
#mw-panel .portal.salt-open > h2::after,
#mw-panel .portal.salt-open > h3::after,
#mw-panel .portal.salt-open > h4::after,
#mw-panel .portal.salt-open > h5::after,
#mw-panel .portal.salt-open > h6::after {
  content: "点击收起";
}
}


第113行: 第157行:


#content {
#content {
   top: calc(46px + 2rem);
   top: calc(
46px + 3rem);
   padding: 1px 69px;
   padding: 1px 69px;
   margin-right: 0.5rem;
   margin-right: 0.5rem;
第147行: 第192行:


#mw-head {
#mw-head {
   top: calc(46px + 2rem);
   top: calc(
46px + 3rem);
   padding: 0 57px 0 69px;
   padding: 0 57px 0 69px;
   width: calc(100% - 126px);
   width: calc(100% - 126px);
第185行: 第231行:
#mw-head #left-navigation ul li,
#mw-head #left-navigation ul li,
#mw-head #right-navigation ul li {
#mw-head #right-navigation ul li {
   background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 30%);
   background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 20%);
}
}


#mw-head #left-navigation ul li:hover,
#mw-head #left-navigation ul li:hover,
#mw-head #right-navigation ul li:hover {
#mw-head #right-navigation ul li:hover {
   background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 20%);
   background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%);
}
}


第219行: 第265行:
   top: 0;
   top: 0;
   right: 0;
   right: 0;
  height: 1.5rem;
   padding: 0.5rem 1rem;
   padding: 0.5rem 1rem;
   background: url(https://www.mcbbs.net/template/mcbbs/image/top_bg.png);
   background: url(https://www.mcbbs.net/template/mcbbs/image/top_bg.png);