MediaWiki:Liberty.css:修订间差异

无编辑摘要
无编辑摘要
 
第1行: 第1行:
/* 这里放置的CSS将影响使用Liberty皮肤的用户 */
/* 这里放置的CSS将影响使用Liberty皮肤的用户 */


/* 最近更改 角标 */
/* 最近更改 页面 */
 
.rcpages-section {
font-weight: bold;
   color: #54595d;
   white-space: nowrap;
}
.eu4-badge{
.eu4-badge{
    background-color: #d9534f;
    background-color: #d9534f;
    position: absolute;
    position: absolute;
    margin-left: -1rem;
    margin-left: -0.75rem;
padding: .5rem .25rem;
   padding: .25rem;
    font-weight: 700;
    font-weight: 700;
    color: #fff;
    color: #fff;
    text-align: center;
    text-align: center;
    white-space: nowrap;
    white-space: nowrap;
    border-radius: 1rem;
    border-radius: 6px;
}
}


.rcpages {
.rcpages a {
border: 1px solid #e1e8ed;
margin: 2px;
padding: 1rem;
}
}


.rcpages span {
.rcpages-btn {
margin-bottom: 0.35rem;
   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;
}
}



2020年12月17日 (四) 21:07的最新版本

/* 这里放置的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; }