2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

User:淮南皓月/style.css.old

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索
._addText { content: '{{User:淮南皓月/欢迎光临|存档}}'; }

/* headlines 
h1 {
  color: #ef4705;
  border-bottom: 2px solid #ef4705 !important;
}
h2 {
  margin: 1em 0 0.5em;
  padding: 3px 1em;
  max-width: 100%;
  border-bottom: thick dotted #fb723c;
  color: #fb723c;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  font-family: sans-serif;
  transition: none;
}
h3 {
  margin-bottom: 0.8em;
  color: #fc966e;
  text-align: center;
  font-family: sans-serif;
  transition: none;
}
h4 {
  margin-bottom: 0.8em;
  color: #fb723c;
  text-align: left;
  font-family: sans-serif;
  transition: none;
}
*/
/* split line */
hr {
  height: 0;
  margin: 0.2em 0;
  border-bottom: 1px dashed #fc966e;
  background: none;
}

/* selection color */
::selection {
  color: #fff;
  background-color: #fb723c;
}

/* a & heimu */
/*a,
.fakelink,
.external,
.extiw {
  color: #fb723c;
}

a:active,
a:hover,
.fakelink:hover,
.fakelink:active,
.external:hover,
.external:active,
.extiw:hover,
.extiw:active {
  color: #fc966e !important;
  text-decoration-color: #fc966e !important;
}

a.external,
a.extiw {
  color: #fb723c !important;
}

.heimu {
  background-color: #fc966e;
  color: transparent;
}

.heimu a,
.heimu .fakelink,
a .heimu,
.fakelink .heimu {
  color: transparent;
}

a.new,
a.new:hover,
a.new:focus {
  color: #ba0000 !important; /* 保护红链 *//*
  text-decoration: none;
}

a.mw-selflink.selflink {
  color: #000000;
}

/* 折叠窗优化 (待调试)
table.wikitable {
  margin: 0.5em 10%;
  width: 80% !important;
  text-align: center;
} 

table.wikitable img {
  height: auto;
  max-width: 80%;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
  background-color: #fc966e;
}

.mw-collapsible-text {
  color: #fb723c;
}

table.wikitable tbody {
  display: contents;
}*/

/* custom toggle */
.mw-customtoggle {
  border: 1px solid #fb723c;
  color: #fb723c;
  padding: 3px 0.4em;
}

.mw-customtoggle:hover,
.mw-customtoggle:focus {
  border: 1px solid #fc966e;
  color: #fc966e;
  transition: none;
}

/* subpagelist */
table.mw-prefixindex-list-table td {
  border: 1px dashed #fc966e !important;
}

/* sign (credits. u:amero) */
.sign > p {
  margin: 1.6em 0 0.5em;
  counter-increment: signatures;
}
.sign > p::before {
  color: #a23003;
  content: counter(signatures);
  background: rgba(252, 150, 110, 0.5);
  border-radius: 0.4em;
  padding: 0 0.3em;
  margin: 0 0.2em 0 0;
}

/* mainpage DIY */

.mainpage-title {
  font-size: 1.618em;
  color: #ef4705;
  margin: 0;
  background: rgba(252, 150, 110, .3);
  font-weight: 400;
  height: 30px;
  line-height: 30px;
  text-align: center;
}
.mainpage-title::before,
.mainpage-title::after {
  background-image: url(https://img.moegirl.org.cn/common/a/a0/Dest.svg);
  background-size: contain;
  background-repeat: no-repeat;
  content: " ";
  height: 30px;
  width: 30px;
  top: 0;
  z-index: 2;
}

/* ad */
.ad {
  position: fixed;
  background: linear-gradient(to right, transparent, #fc966e, #fc966e, transparent);
  color: white;
  height: 1.5em;
  width: 100%;
  left: 0;
  top: 3em;
  right: 0;
  bottom: 0;
  text-align: center;
}
.ad.mobileonly {
  top: 3.2em;
}

/* button */
.mw-ui-button:hover {
  background-color: rgba(252, 150, 110, .5) !important;
  border-color: #fc966e !important;
  color: #ef4705 !important;
}