MediaWiki:Common.css:修订间差异

无编辑摘要
无编辑摘要
 
(未显示同一用户的24个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* 这里放置的CSS将应用于所有皮肤 */
/* ambox 2020 */
.ambox2020 {
margin: 10px 0;
border: 1px solid transparent;
padding-left: 12px;
   min-height: 42px;
   line-height: 42px;
   display: flex;
   -webkit-box-align: center;
   -ms-flex-align: center;
   align-items: center;
   font-size: 14px;
   border-radius: 6px;
   white-space: nowrap;
}
.ambox-multi {
   line-height: 21px;
   margin: 10px 0 10px 0;
}


/* 避嫌 */
/* 避嫌 */
.page-新疆 .eu4box img,
.page-MediaWiki_Common_css .hljs,
.page-西藏 .eu4box img,
.page-新疆 .eu4box p,
.page-西藏 .eu4box p,
.page-新疆 .mw-mmv-image img,
.page-新疆 .mw-mmv-image img,
.page-西藏 .mw-mmv-image img,
.page-西藏 .mw-mmv-image img,
.page-File_Tibet_png .fullImageLink img,
.page-File_Tibet_png .fullImageLink img,
.page-File_Sinkiang_png .fullImageLink img{
.page-File_Sinkiang_png .fullImageLink img,
filter: blur(25px);
.page-File_Tibet_png .filehistory img,
.page-File_Sinkiang_png .filehistory img,
[alt^="Tibet"],
[alt^="Sinkiang"],
[alt=新疆的国旗],
[alt=西藏的国旗]{
filter: brightness(0);
}
}


第95行: 第123行:
    line-height: inherit;
    line-height: inherit;
    list-style: none none;
    list-style: none none;
    margin: 0;
    margin: 0 !important;
}
}
.plainlist ol li,
.plainlist ol li,
.plainlist ul li {
.plainlist ul li {
    margin-bottom: 0;
    margin-bottom: 0 !important;
}
}



2023年8月25日 (五) 17:19的最新版本

/* 这里放置的CSS将应用于所有皮肤 */

/* ambox 2020 */
.ambox2020 {
	margin: 10px 0;
	border: 1px solid transparent;
	padding-left: 12px;
    min-height: 42px;
    line-height: 42px;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 14px;
    border-radius: 6px;
    white-space: nowrap;
}

.ambox-multi {
    line-height: 21px;
    margin: 10px 0 10px 0;
}

/* 避嫌 */
.page-MediaWiki_Common_css .hljs,
.page-新疆 .eu4box p,
.page-西藏 .eu4box p,
.page-新疆 .mw-mmv-image img,
.page-西藏 .mw-mmv-image img,
.page-File_Tibet_png .fullImageLink img,
.page-File_Sinkiang_png .fullImageLink img,
.page-File_Tibet_png .filehistory img,
.page-File_Sinkiang_png .filehistory img,
[alt^="Tibet"],
[alt^="Sinkiang"],
[alt=新疆的国旗],
[alt=西藏的国旗]{
	filter: brightness(0);
}

/* Version模板颜色 */
.wiki-maincolor{
	color:#3C553C;
}

.eu4box {
	border: 2px solid #203420;
	border-radius: 6px;
	background: #3c553c;
	color: white !important;
	padding: 5px;
	margin-bottom: 3px;
	margin-left: 3px;
}
 
.eu4box .heading {
	background: #203420;
	border-radius: 6px;
	padding: 0px 6px 0px;
	color: white !important;
}

.eu4box a { color: lightblue !important; }
.eu4box * { list-style-image: none; }
.eu4box .heading .mw-headline { color: white; }
 
/* EU4Box master styles */
.eu4box .subheading {
	color: #FFCD51;
	font-weight: bold;
}
 
/* EU4box-inline overrides */
.eu4box-inline {
	background: #FDFDFD;
	color: #0E0E0E !important;
	border: 2px solid #96be96;
	border-radius: 4px;
}
.eu4box-inline .heading {
	background: #648764;
	border-radius: 3px;
}
 
.eu4box-inline hr {
	background: #CCC !important;
	margin: 5px 0px 5px;
}
 
.eu4box-inline .heading .mw-headline { color: white; }
.eu4box-inline .heading .mw-headline img { margin-right: 5px; }
.eu4box-inline .subheading, span[style="color: #FFCD51"] { color: #273442 !important; }
.eu4box-inline a { color: darkblue !important; }
.eu4box .mw-collapsible-toggle { float:none; }
.eu4box h2 { margin-top: 0 !important; }
.eu4box h3 { margin-top: 0 !important; }
.header a { color: lightblue !important; }
 
/* Top-icon */
div.topicon {
	position: absolute;
	top: -2em;
	margin-right: -10px;
	display: block !important;
	z-index: 999;
}

/* Mildtable class */
.mildtable th {
	text-align: left;
	background: #F5F5F5;
	padding: 5px;
	font-size: 90%;
}
.mildtable td + td { padding-left: 5px; }
.mildtable td { border-top: 2px solid #DDD; }
 
.toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }

/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0 !important;
}
.plainlist ol li,
.plainlist ul li {
    margin-bottom: 0 !important;
}

.effect-green { color: green; }
.effect-background-green { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; }
.effect-red { color: red; }
.effect-background-red { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; }
 
.toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }

/* By Wiki.52poke.com */
.bgl-银{background-color:#EBEBEB !important}
.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}

/* 提示框样式 */
table.ambox {
    margin:0 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; 
    display: inline-flex;
}
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;       /* 灰色 */
}