置顶公告:【置顶】关于临时开启评论区所有功能的公告(2022.10.22) | 【置顶】关于本站Widget恢复使用的公告
  • 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
  • 本镜像站和其他萌娘百科的镜像站无关,请注意分别。

珈乐/style.css

贴贴♀百科,万娘皆可贴的百科全书!转载请标注来源页面的网页链接,并声明引自贴贴百科。内容不可商用。
跳到导航 跳到搜索
/* 适用于条目[[珈乐]]的css样式表 */

/* 定制标题 */
h2 {
  margin: 1em 0 0.5em;
  padding: 3px 1em;
  max-width: 100%;
  border-bottom: thick dotted #865aa7;
  color: #865aa7;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  font-family: sans-serif;
  transition: none;
}

h3 {
  margin-bottom: 0.8em;
  color: #865aa7;
  text-align: center;
  font-family: sans-serif;
  transition: none;
}

h4 {
  margin-bottom: 0.8em;
  color: #865aa7;
  text-align: left;
  font-family: sans-serif;
  transition: none;
}

h2 .mw-headline::before {
  content: "🎤";
}

h2 .mw-headline::after {
  content: "🎤";
}

h3 .mw-headline::before {
  content: "👠";
}

h3 .mw-headline::after {
  content: "👠";
}

/* 分割线 */
hr {
  margin: 1em 10% 0.5em;
  width: 80%;
  border-bottom: 2px dashed #b8a6d9;
  background: none;
}

/* 选中颜色 */
::selection {
  color: #fff;
  background-color: #865aa7;
}

/* 链接&黑幕 */
a,
.fakelink,
.external {
  color: #865aa7;
}
/* 
a.external {
  color: #865aa7 !important;
}*/
a.external:not([href^="https://music.163.com/#"]) {
  filter: hue-rotate(50deg) !important;
}

a:active,
.fakelink:hover,
.fakelink:active {
  color: #865aa7;
  /* text-decoration-style: solid; */
  text-decoration-color: #865aa7 ;
}

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

.heimu a,
.heimu .fakelink,
/*.heimu .external,*/
/*.heimu .new,*/
a .heimu,
.fakelink .heimu
/*.external .heimu,*/
/*.new .heimu*/ {
  color: transparent;
}

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

.navbox a:not(.new),
.navbox a:not(.new):hover,
.navbox a:not(.new):focus {
  color: #0645ad !important; /* 保护navgroup */
}

/* 折叠窗优化 (待调试) */
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: #b8a6d9;
}

.mw-collapsible-text {
  color: #865aa7;
}

table.wikitable tbody {
  display: contents;
}

/* toggle优化 */
.mw-customtoggle {
  border: 1px solid #865aa7;
  color: #865aa7;
  padding: 3px 0.4em;
}

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

/* MoeSkin */

h2:after,
.mw-parser-output h2:after {
  display: none !important;
}

h2,
h2 span.mw-headline,
.mw-parser-output h2,
.mw-parser-output h2 span.mw-headline,
h3,
h4,
.mw-parser-output h3,
.mw-parser-output h4 {
  color: #865aa7 !important;
}

/* [[Category:在主名字空间下的CSS页面]] */