• 正在查找将来过去时的官方设定集?不如看看万界大百科吧!
  • 《将来过去时》第一部分 现在 魔科纪元的少年少女 即将正式发布!
  • 让我偷偷看一眼小鱼君的博客……
  • 服务器已成功迁移到 阿里云(杭州)

MediaWiki:Common.css

来自小鱼君和他的朋友们
Sara Lindery讨论 | 贡献2019年10月23日 (三) 23:42的版本

注意:在保存以后,您必须绕过浏览器缓存才能看到所作出的改变。

  • 谷歌浏览器(Google Chrome)- Windows:按下“Ctrl”键然后按 F5。OS X系统:同时按⌘ Cmd⇧ Shift键之后按R键。
  • Safari - 按住⇧ Shift键然后点击工具栏中重新载入键。
  • 火狐(Firefox)- Windows:按住Ctrl键然后按F5。OS X系统:同时按⌘ Cmd⇧ Shift键之后按R键。
  • Internet Explorer:按住Ctrl键然后按F5(或者点击“刷新”按钮)。

/** Common Database **/
@import url(https://common.wjghj.cn/css/toast);
/*@import url(https://common.wjghj.cn/css/toastr);*/

/** Local import **/
@import url(/index.php?title=MediaWiki:Animation.css&ctype=text/css&action=raw);
@import url(/index.php?title=MediaWiki:CustomSlider.css&action=raw&ctype=text/css);
/*@import url(/index.php?title=MediaWiki:Gadget-ShowAvatar.css&action=raw&ctype=text/css);*/
@import url(/index.php?title=MediaWiki:Portable-infobox.css&ctype=text/css&action=raw);

.siteNoticeScroll {
  width: 100%;
  height: 25px;
  line-height: 25px;
  overflow: hidden
}

.siteNoticeScroll li {
  height: 25px;
  list-style: none;
  text-align: center
}

.flow-board-header-footer {
  display: none
}

.flow-bottom-spacer {
  color: gray;
  font-size: 80%
}

body .tochide {
  font-size: 95%
}

body .mw-collapsed.tochide tr:first-child td {
  padding: 7px!important
}

body .mw-collapsed.tochide tr:last-child td {
  padding: 0 7px!important
}

body .tochide tr:first-child td .mw-collapsible-toggle {
  top: 7px!important
}

body .tochide tr:first-child td {
  padding: 7px 7px 0!important
}

body .tochide tr:last-child td {
  padding: 0 7px 7px 7px!important
}

body .tochide td {
  width: auto;
  border-width: 0
}

body .tochide div.toc#toc {
  margin: 0;
  padding: 0;
  background: none;
  background-color: none;
  border-width: 0;
  width: 100%
}

body .tochide #toctitle {
  display: none
}

body .tochide ul {
  background-color: transparent;
  margin: 0.5em 1em
}

.mw-body a.external:visited {
  color: #36b
}

span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited {
  color: #252525;
  transition: all .14s linear 0s
}

.heimu,
.heimu a,
a .heimu,
.heimu a.new {
  background-color: #252525;
  color: #252525;
  text-shadow: none;
  transition: all .14s linear 0s
}

body:not(.heimu_toggle_on) .heimu:hover,
body:not(.heimu_toggle_on) .heimu:active,
body:not(.heimu_toggle_on) .heimu.off {
  background-color: rgba(100,100,100,0.3);
  transition: all .14s linear 0s
}

body:not(.heimu_toggle_on) .heimu:hover a,
body:not(.heimu_toggle_on) a:hover .heimu,
body:not(.heimu_toggle_on) .heimu.off a,
body:not(.heimu_toggle_on) a:hover .heimu.off {
  color: #006cb0;
  background-color: rgba(180,180,180,0.3);
  transition: all .14s linear 0s
}

body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off,
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off {
  color: #BA0000;
  background-color: rgba(100,100,100,0.3);
  transition: all .14s linear 0s
}

table.navbox {
  border: 1px solid #aaa;
  clear: both;
  margin: auto;
  padding: 1px;
  text-align: center;
  width: 100%
}

table.navbox+table.navbox {
  margin-top: -1px
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
  padding-left: 1em;
  padding-right: 1em;
  text-align: center
}

.navbox-group {
  font-weight: 700;
  padding-left: 1em;
  padding-right: 1em;
  white-space: nowrap
}

.navbox,
.navbox-subgroup {
  background: none repeat scroll 0 0 #fdfdfd
}

.navbox-list {
  border-color: #fdfdfd
}

.navbox-title,
table.navbox th {
  background: none repeat scroll 0 0 #74c5ff
}

.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
  background: none repeat scroll 0 0 #94cfff
}

.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
  background: none repeat scroll 0 0 #a7ddff
}

.navbox-even {
  background: none repeat scroll 0 0 #dff0ff
}

.navbox-odd {
  background: none repeat scroll 0 0 transparent
}

.collapseButton {
  float: right;
  font-weight: 400;
  text-align: right;
  width: auto
}

.navbox .collapseButton {
  width: 6em
}

.navbox .TabLabel {
  text-align: left
}

.infoBox {
  margin: 0 auto
}

.infoBoxTitle {
  margin: 3px auto;
  padding: 0;
  text-align: center;
  font-weight: 700
}

.infoBoxIcon {
  display: table-cell;
  padding: 2px 0 2px .5em;
  vertical-align: middle
}

.infoBoxText {
  display: table-cell;
  padding: .25em .5em .25em 1.3em;
  width: 100%;
  vertical-align: middle
}

.infoBoxContent {
  border: 1px solid #ddd;
  border-left-width: 0;
  background: #fbfbfb
}

.infoBoxBelow {
  margin: 0 auto;
  padding: 0;
  text-align: center
}

div.mw-warning-with-logexcerpt,
div.mw-cascadeprotectedwarning {
  border: 1px solid #ccc;
  border-left: 10px solid red;
  clear: both;
  width: 80%;
  margin: 0 auto;
  background: #fcff8b
}

div.mw-warning-with-logexcerpt p,
div.mw-cascadeprotectedwarning p {
  margin-left: 2em;
  margin-right: 2em
}

.mw-logline-protect {
  background: #ffe34d
}

.akarin {
  color: transparent;
  text-shadow: 1px 1px 8px gray;
  transition: all .14s liner 0s
}

span.akarin a.external,
span.akarin a.external:visited,
span.akarin a.extiw,
span.akarin a.extiw:visited {
  color: transparent;
  text-shadow: 1px 1px 8px #6af;
  transition: all .14s linear 0s
}

.akarin a,
a .akarin {
  color: transparent;
  text-shadow: 1px 1px 8px #6af;
  transition: all .14s linear 0s
}

.akarin a.new {
  color: transparent;
  text-shadow: 1px 1px 8px pink;
  transition: all .14s linear 0s
}

body:not(.akarin_toggle_on) .akarin:hover,
body:not(.akarin_toggle_on) .akarin:active,
body:not(.akarin_toggle_on) .akarin.off {
  color: #999;
  text-shadow: 1px 1px 2px gray;
  transition: all .14s linear 0s
}

body:not(.akarin_toggle_on) .akarin:hover a,
body:not(.akarin_toggle_on) a:hover .akarin,
body:not(.akarin_toggle_on) .akarin.off a,
body:not(.akarin_toggle_on) a:hover .akarin.off {
  color: #40acff;
  text-shadow: 1px 1px 2px aliceblue;
  transition: all .14s linear 0s
}

body:not(.akarin_toggle_on) .akarin.off .new,
body:not(.akarin_toggle_on) .akarin.off .new:hover,
body:not(.akarin_toggle_on) .new:hover .akarin.off,
body:not(.akarin_toggle_on) .akarin.off .new,
body:not(.akarin_toggle_on) .akarin.off .new:hover,
body:not(.akarin_toggle_on) .new:hover .akarin.off {
  color: #f88;
  text-shadow: 1px 1px 2px pink;
  transition: all .14s linear 0s
}

nav.akarin#toc:hover *,
.pi-horizontal-group.akarin:hover *,
.pi-item.akarin:hover,
.pi-data.akarin:hover * {
  color: #888 !important
}

nav.akarin#toc:hover a,
.pi-horizontal-group.akarin:hover a,
.pi-item.akarin:hover a,
.navbox.akarin td.navbox-list.akarin:hover a,
.pi-data.akarin:hover a {
  color: #08f !important
}

nav.akarin#toc:hover a.new,
.pi-horizontal-group.akarin:hover a.new,
.pi-item.akarin:hover a.new,
.navbox.akarin td.navbox-list.akarin:hover a.new,
.pi-data.akarin:hover a.new {
  color: #b00 !important
}

code,
tt {
  border: 1px solid #e0e0e0;
  background: #efefef;
  font-family: sans-serif
}

.oncopynotify.hide {
  opacity: 0;
  animation-play-state: paused;
  right: -300px;
  transition: all 1.5s
}

.oncopynotify {
  opacity: 1;
  bottom: 42px;
  right: 8px;
  max-width: 285px;
  position: fixed;
  z-index: 10000;
  height: 2em;
  transition: all .5s;
  background: white;
  box-shadow: 0px 0px 10px #666
}

.oncopynotify .notify-icon {
  background: #5fa0ff;
  width: 32px
}

.oncopynotify .notify-content {
  width: auto
}

.oncopynotify .notify-content .inset {
  height: 1.5em;
  width: 250px;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 80%;
  animation: headermarquee 10s linear infinite
}

/** Popup Window **/
.customModal-bg {
  z-index: 500;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.4);
}
.customModal {
  left: 10%;
  width: 80%;
  z-index: 1001;
  background: white;
  border: 1px solid #ccc;
  border-bottom: 4px solid #aaa;
}
.customModal-close {

}
.customModal .customModal-title {
  margin: 8px 16px 4px 16px;
}
.customModal .customModal-content {
  padding: 8px 14px;
}
.customModal-close [data-action="closeModal"] {
  width: 32px;
  height: 32px;
  position: absolute;
  right: 24px;
  top: 12px;
  cursor: pointer;
}