MediaWiki:Common.css

MEmori(讨论 | 贡献)2020年3月24日 (二) 23:48的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:按 Ctrl-F5。
/* 这里放置的CSS将应用于所有皮肤 */
/* 黑幕模板配合CSS */
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited {
    color: #252525;
}
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
}
body:not(.heimu_toggle_on) .heimu:hover,
body:not(.heimu_toggle_on) .heimu:active,
body:not(.heimu_toggle_on) .heimu.off {
    transition: color .13s linear;
    color: white;
}
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 {
    transition: color .13s linear;
    color: lightblue;
}
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 {
    transition: color .13s linear;
    color: #BA0000;
}
/* info类模板 */
.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;
}
/* 数据表格 */
.mw-datatable.TablePager {
    opacity: 1;
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}


/* 主页表格 */

.bodytext {
   opacity: 1;
}

.mainpage {
   opacity: 1;
   width: 100%;
   height: 50%;
   border: 1px solid #225588;
   text-align: center;
   border-radius: 5px;
   -moz-border-radius: 5px;
}

.mainbg {
	opacity: 0.5;
    background-image:url(images/a/a2/BlurMainBG.png);
    background-position:right;
    background-size:cover;
    background-attachment:fixed;
}

.mh_mid, .mh_top, .mh_oneleft, .mh_twoleft, .mh_bottomleft, .mh_topright, .mh_topleft, .mh_bottom {
   opacity: 1;
   background: #88bbff;
   font-size: 120%;
   text-align: center;
   text-shadow: 1px 1px 3px rgb(100, 100, 100);
}

.mh_top {
	opacity: 1;
   border-radius: 3px 3px 0px 0px;
   -moz-border-radius: 3px 3px 0px 0px;
}

.mh_topright {
	opacity: 1;
   border-radius: 0px 3px 0px 0px;
   -moz-border-radius: 0px 3px 0px 0px;
}

.mh_topleft {
	opacity: 1;
   border-radius: 3px 0px 0px 0px;
   -moz-border-radius: 3px 0px 0px 0px;
}

.mh_oneleft, .mh_twoleft, .mh_bottomleft, .mh_bottomleft_centered {
	opacity: 1;
   font-size: 100%;
   width: 15%
}

.mh_bottomleft_centered {
	opacity: 1;
   background: #88bbff;
}

.mh_oneleft, .mh_bottomleft, .mh_bottomleft_centered {
	opacity: 1;
   text-align: right;
   cell-padding: 4px;
}

.mh_bottomleft, .mh_bottomleft_centered {
	opacity: 1;
   border-radius: 0px 0px 0px 3px;
   -moz-border-radius: 0px 0px 0px 3px;
}

.mh_bottom {
	opacity: 1;
   border-radius: 0px 0px 3px 3px;
   -moz-border-radius: 0px 0px 3px 3px;
}

.iconcells, .ic_bottomright {
	opacity: 1;
   vertical-align:  top;
   border: 1px solid #88BBFF;
   padding: 2px;
   width: 12%;
}

.ic_bottomright {
	opacity: 1;
   border-radius: 0px 0px 3px 0px;
   -moz-border-radius: 0px 0px 3px 0px;
}

.iconcells, .ic_bottomright, .mh_bottomleft_centered {
	opacity: 1;
   text-align: center;
}

table.wikitable,
table.prettytable {
	opacity: 1;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
  margin-top: 1em; margin-bottom: 1em;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	opacity: 1;
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
	opacity: 1;
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
	opacity: 1;
  margin-left: inherit;
  margin-right: inherit;
}