MediaWiki:Common.css

Pokewiz讨论 | 贡献2020年4月5日 (日) 00:51的版本

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* 这里放置的CSS将应用于所有皮肤 */

/* 高分辨率下简体logo */
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	#p-logo a {
		background-image: url(//ck3.parawikis.com/images/logo/1.5x_wiki.png);
        		background-size: 160px auto;
	}
}
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
	#p-logo a {
		background-image: url(//ck3.parawikis.com/images/logo/2x_wiki.png);
        		background-size: 160px auto;
	}
}

/* 繁体logo */

#p-logo a:lang(zh-hant),
#p-logo a:lang(zh-tw),
#p-logo a:lang(zh-hk),
#p-logo a:lang(zh-mo) {
    background-image: url(//ck3.parawikis.com/images/logo/1x_wiki_t.png) !important;
}

/* 高分辨率下繁体logo */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
#p-logo a:lang(zh-hant),
#p-logo a:lang(zh-tw),
#p-logo a:lang(zh-hk),
#p-logo a:lang(zh-mo) {
    background-image: url(//ck3.parawikis.com/images/logo/1.5x_wiki_t.png) !important;
        background-size: 160px auto;
    }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
#p-logo a:lang(zh-hant),
#p-logo a:lang(zh-tw),
#p-logo a:lang(zh-hk),
#p-logo a:lang(zh-mo) {
    background-image: url(//ck3.parawikis.com/images/logo/2x_wiki_t.png) !important;
        background-size: 160px auto;
    }
}

/* 提示框样式 */
table.ambox {
    margin:0px 15%;   /* 防止与其它元素重叠 */
    border-left: 10px solid #36c;    /* 默认为"notice" - 蓝色*/
    background: #f8f9fa; 
    border-bottom-left-radius:6px;
    border-top-left-radius:6px;
    border-top-right-radius:6px;
    border-bottom-right-radius:6px; 
}
table.ambox + table.ambox {   /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text, 
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}
 
table.ambox-notice {
    border-left: 15px solid #36c;    /* 蓝色 */
}
table.ambox-speedy {
    border-left: 15px solid #b32424;    /* 红色 */
    background: #fee7e6;                   /* 粉色 */
}
table.ambox-delete,table.ambox-translation {
    border-left: 15px solid #b32424;    /* 红色 */
}
table.ambox-content {
    border-left: 15px solid #f28500;    /* 橙色 */
}
table.ambox-style {
    border-left: 15px solid #fc3;    /* 黄色 */
}
table.ambox-move {
    border-left: 15px solid #9932cc;    /* 紫色 */
}
table.ambox-protection {
    border-left: 15px solid #a2a9b1;       /* 灰色 */
}

/* By Wiki.52poke.com */
.roundy{border-radius:10px}
.roundytl{border-top-left-radius:10px}
.roundytr{border-top-right-radius:10px}
.roundybl{border-bottom-left-radius:10px}
.roundybr{border-bottom-right-radius:10px}
.roundytop{border-top-left-radius:10px;border-top-right-radius:10px}
.roundyright{border-bottom-right-radius:10px;border-top-right-radius:10px}
.roundybottom{border-bottom-left-radius:10px;border-bottom-right-radius:10px}
.roundyleft{border-top-left-radius:10px;border-bottom-left-radius:10px}
.roundy-10{border-radius:10px}
.roundytl-10{border-top-left-radius:10px}
.roundytr-10{border-top-right-radius:10px}
.roundybl-10{border-bottom-left-radius:10px}
.roundybr-10{border-bottom-right-radius:10px}
.roundytop-10{border-top-left-radius:10px;border-top-right-radius:10px}
.roundyright-10{border-bottom-right-radius:10px;border-top-right-radius:10px}
.roundybottom-10{border-bottom-left-radius:10px;border-bottom-right-radius:10px}
.roundyleft-10{border-top-left-radius:10px;border-bottom-left-radius:10px}
.roundy-4{border-radius:4px}
.roundytl-4{border-top-left-radius:4px}
.roundytr-4{border-top-right-radius:4px}
.roundybl-4{border-bottom-left-radius:4px}
.roundybr-4{border-bottom-right-radius:4px}
.roundytop-4{border-top-left-radius:4px;border-top-right-radius:4px}
.roundyright-4{border-bottom-right-radius:4px;border-top-right-radius:4px}
.roundybottom-4{border-bottom-left-radius:4px;border-bottom-right-radius:4px}
.roundyleft-4{border-top-left-radius:4px;border-bottom-left-radius:4px}
.roundy-5{border-radius:5px}
.roundytl-5{border-top-left-radius:5px}
.roundytr-5{border-top-right-radius:5px}
.roundybl-5{border-bottom-left-radius:5px}
.roundybr-5{border-bottom-right-radius:5px}
.roundytop-5{border-top-left-radius:5px;border-top-right-radius:5px}
.roundyright-5{border-bottom-right-radius:5px;border-top-right-radius:5px}
.roundybottom-5{border-bottom-left-radius:5px;border-bottom-right-radius:5px}
.roundyleft-5{border-top-left-radius:5px;border-bottom-left-radius:5px}
.roundy-6{border-radius:6px}
.roundytl-6{border-top-left-radius:6px}
.roundytr-6{border-top-right-radius:6px}
.roundybl-6{border-bottom-left-radius:6px}
.roundybr-6{border-bottom-right-radius:6px}
.roundytop-6{border-top-left-radius:6px;border-top-right-radius:6px}
.roundyright-6{border-bottom-right-radius:6px;border-top-right-radius:6px}
.roundybottom-6{border-bottom-left-radius:6px;border-bottom-right-radius:6px}
.roundyleft-6{border-top-left-radius:6px;border-bottom-left-radius:6px}
.roundy-8{border-radius:8px}
.roundytl-8{border-top-left-radius:8px}
.roundytr-8{border-top-right-radius:8px}
.roundybl-8{border-bottom-left-radius:8px}
.roundybr-8{border-bottom-right-radius:8px}
.roundytop-8{border-top-left-radius:8px;border-top-right-radius:8px}
.roundyright-8{border-bottom-right-radius:8px;border-top-right-radius:8px}
.roundybottom-8{border-bottom-left-radius:8px;border-bottom-right-radius:8px}
.roundyleft-8{border-top-left-radius:8px;border-bottom-left-radius:8px}
.roundy-15{border-radius:15px}
.roundytl-15{border-top-left-radius:15px}
.roundytr-15{border-top-right-radius:15px}
.roundybl-15{border-bottom-left-radius:15px}
.roundybr-15{border-bottom-right-radius:15px}
.roundytop-15{border-top-left-radius:15px;border-top-right-radius:15px}
.roundyright-15{border-bottom-right-radius:15px;border-top-right-radius:15px}
.roundybottom-15{border-bottom-left-radius:15px;border-bottom-right-radius:15px}
.roundyleft-15{border-top-left-radius:15px;border-bottom-left-radius:15px}
.roundy-20{border-radius:20px}
.roundytl-20{border-top-left-radius:20px}
.roundytr-20{border-top-right-radius:20px}
.roundybl-20{border-bottom-left-radius:20px}
.roundybr-20{border-bottom-right-radius:20px}
.roundytop-20{border-top-left-radius:20px;border-top-right-radius:20px}
.roundyright-20{border-bottom-right-radius:20px;border-top-right-radius:20px}
.roundybottom-20{border-bottom-left-radius:20px;border-bottom-right-radius:20px}
.roundyleft-20{border-top-left-radius:20px;border-bottom-left-radius:20px}
.roundy-24{border-radius:24px}
.roundytl-24{border-top-left-radius:24px}
.roundytr-24{border-top-right-radius:24px}
.roundybl-24{border-bottom-left-radius:24px}
.roundybr-24{border-bottom-right-radius:24px}
.roundytop-24{border-top-left-radius:24px;border-top-right-radius:24px}
.roundyright-24{border-bottom-right-radius:24px;border-top-right-radius:24px}
.roundybottom-24{border-bottom-left-radius:24px;border-bottom-right-radius:24px}
.roundyleft-24{border-top-left-radius:24px;border-bottom-left-radius:24px}
.roundy-25{border-radius:25px}
.roundytl-25{border-top-left-radius:25px}
.roundytr-25{border-top-right-radius:25px}
.roundybl-25{border-bottom-left-radius:25px}
.roundybr-25{border-bottom-right-radius:25px}
.roundytop-25{border-top-left-radius:25px;border-top-right-radius:25px}
.roundyright-25{border-bottom-right-radius:25px;border-top-right-radius:25px}
.roundybottom-25{border-bottom-left-radius:25px;border-bottom-right-radius:25px}
.roundyleft-25{border-top-left-radius:25px;border-bottom-left-radius:25px}
.roundy-30{border-radius:30px}
.roundytl-30{border-top-left-radius:30px}
.roundytr-30{border-top-right-radius:30px}
.roundybl-30{border-bottom-left-radius:30px}
.roundybr-30{border-bottom-right-radius:30px}
.roundytop-30{border-top-left-radius:30px;border-top-right-radius:30px}
.roundyright-30{border-bottom-right-radius:30px;border-top-right-radius:30px}
.roundybottom-30{border-bottom-left-radius:30px;border-bottom-right-radius:30px}
.roundyleft-30{border-top-left-radius:30px;border-bottom-left-radius:30px}
.roundy-32{border-radius:32px}
.roundytl-32{border-top-left-radius:32px}
.roundytr-32{border-top-right-radius:32px}
.roundybl-32{border-bottom-left-radius:32px}
.roundybr-32{border-bottom-right-radius:32px}
.roundytop-32{border-top-left-radius:32px;border-top-right-radius:32px}
.roundyright-32{border-bottom-right-radius:32px;border-top-right-radius:32px}
.roundybottom-32{border-bottom-left-radius:32px;border-bottom-right-radius:32px}
.roundyleft-32{border-top-left-radius:32px;border-bottom-left-radius:32px}
.roundy-48{border-radius:48px}
.roundytl-48{border-top-left-radius:48px}
.roundytr-48{border-top-right-radius:48px}
.roundybl-48{border-bottom-left-radius:48px}
.roundybr-48{border-bottom-right-radius:48px}
.roundytop-48{border-top-left-radius:48px;border-top-right-radius:48px}
.roundyright-48{border-bottom-right-radius:48px;border-top-right-radius:48px}
.roundybottom-48{border-bottom-left-radius:48px;border-bottom-right-radius:48px}
.roundyleft-48{border-top-left-radius:48px;border-bottom-left-radius:48px}
.roundy-50{border-radius:50px}
.roundytl-50{border-top-left-radius:50px}
.roundytr-50{border-top-right-radius:50px}
.roundybl-50{border-bottom-left-radius:50px}
.roundybr-50{border-bottom-right-radius:50px}
.roundytop-50{border-top-left-radius:50px;border-top-right-radius:50px}
.roundyright-50{border-bottom-right-radius:50px;border-top-right-radius:50px}
.roundybottom-50{border-bottom-left-radius:50px;border-bottom-right-radius:50px}
.roundyleft-50{border-top-left-radius:50px;border-bottom-left-radius:50px}
.roundy-60{border-radius:60px}
.roundytl-60{border-top-left-radius:60px}
.roundytr-60{border-top-right-radius:60px}
.roundybl-60{border-bottom-left-radius:60px}
.roundybr-60{border-bottom-right-radius:60px}
.roundytop-60{border-top-left-radius:60px;border-top-right-radius:60px}
.roundyright-60{border-bottom-right-radius:60px;border-top-right-radius:60px}
.roundybottom-60{border-bottom-left-radius:60px;border-bottom-right-radius:60px}
.roundyleft-60{border-top-left-radius:60px;border-bottom-left-radius:60px}
.roundy-80{border-radius:80px}
.roundytl-80{border-top-left-radius:80px}
.roundytr-80{border-top-right-radius:80px}
.roundybl-80{border-bottom-left-radius:80px}
.roundybr-80{border-bottom-right-radius:80px}
.roundytop-80{border-top-left-radius:80px;border-top-right-radius:80px}
.roundyright-80{border-bottom-right-radius:80px;border-top-right-radius:80px}
.roundybottom-80{border-bottom-left-radius:80px;border-bottom-right-radius:80px}
.roundyleft-80{border-top-left-radius:80px;border-bottom-left-radius:80px}
.roundy-96{border-radius:96px}
.roundytl-96{border-top-left-radius:96px}
.roundytr-96{border-top-right-radius:96px}
.roundybl-96{border-bottom-left-radius:96px}
.roundybr-96{border-bottom-right-radius:96px}
.roundytop-96{border-top-left-radius:96px;border-top-right-radius:96px}
.roundyright-96{border-bottom-right-radius:96px;border-top-right-radius:96px}
.roundybottom-96{border-bottom-left-radius:96px;border-bottom-right-radius:96px}
.roundyleft-96{border-top-left-radius:96px;border-bottom-left-radius:96px}
.roundy-100{border-radius:100px}
.roundytl-100{border-top-left-radius:100px}
.roundytr-100{border-top-right-radius:100px}
.roundybl-100{border-bottom-left-radius:100px}
.roundybr-100{border-bottom-right-radius:100px}
.roundytop-100{border-top-left-radius:100px;border-top-right-radius:100px}
.roundyright-100{border-bottom-right-radius:100px;border-top-right-radius:100px}
.roundybottom-100{border-bottom-left-radius:100px;border-bottom-right-radius:100px}
.roundyleft-100{border-top-left-radius:100px;border-bottom-left-radius:100px}