MediaWiki:Liberty.css

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

  • 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将影响使用Liberty皮肤的用户 */

/* 最近更改页面 */

.rcpages-section {
	font-weight: bold;
    color: #54595d;
    white-space: nowrap;
}
.eu4-badge{
    background-color: #d9534f;
    position: absolute;
    margin-left: -0.75rem;
    padding: .25rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px;
}

.rcpages a {
	margin: 2px;
}

.rcpages-btn {
    background-color: #f8f9fa;
    color: #202122;
    border-color: #a2a9b1;
    padding-top: 6px;
    padding-bottom: 6px;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.5 !important;
}

/* to negate paragraph line-height distortion */
.game_property img { margin: -7px -0px -6px -1px; }

/* Better collapsing content */
.collapse-template .mw-collapsible-toggle {
	float: none;
}
.collapse-template .mw-collapsible-content[style="display: block;"] {
	padding: 15px 0px 0px 0px;
	border: 1px dashed #EEE;
}

/* 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;
}
.plainlist ol li,
.plainlist ul li {
    margin-bottom: 0;
}
html {
	min-height:100%
}
html body {
	height:calc(100% - 30px) !important;
	margin-top:30px !important;
	position:relative
}

/* 隐藏底部部分内容*/
#footer-info-viewcount { display: none; }
#footer-info-lastmod { display: none; }
#footer-info-copyright { display: none; }
div#footer { padding-top:5px; }
div#content { padding:10px 15px; }
div#list p, dl { margin-bottom:0.2em; }
#contentSub { margin:0; }

/* 隐藏首页标题、查看源代码 */
.page-首页 h1.firstHeading,
.page-首页 li#ca-viewsource { display:none; }