“MediaWiki:Common.css”的版本间的差异

来自中医百科
跳到导航 跳到搜索
第73行: 第73行:
 
}
 
}
  
/* 隐藏首页标题,空行,讨论、查看源代码tab (代码源自萌娘百科,http://zh.moegirl.org/MediaWiki:Common.css) */
+
/* 隐藏首页标题,空行,讨论、查看源代码tab (代码基于萌百http://zh.moegirl.org/MediaWiki:Common.css修改) */
.page-Mainpage h1.firstHeading,
+
.page-首页 h1.firstHeading,
.page-Mainpage #siteSub,
+
.page-首页 #siteSub,
.page-Mainpage #contentSub,
+
.page-首页 #contentSub,
.page-Mainpage li#ca-viewsource,
+
.page-首页 li#ca-viewsource,
.page-Mainpage li#ca-talk {
+
.page-首页 li#ca-talk {
 
     display: none;
 
     display: none;
}
 
 
/* 回到顶部 (代码源自萌娘百科,http://zh.moegirl.org/MediaWiki:Common.css) */
 
.backToTop {
 
    display: none;
 
    width: 20px;
 
    padding: 5px 0;
 
    background-color: #000;
 
    color: #fff;
 
    font-size: 12px;
 
    text-align: center;
 
    position: fixed;
 
    _position: absolute;
 
    right: 0;
 
    bottom: 100px;
 
    _bottom: "auto";
 
    cursor: pointer;
 
    opacity: .6;
 
    filter: Alpha(opacity=60);
 
 
}
 
}

2015年10月28日 (三) 22:34的版本

/* 放置于这里的CSS将应用于所有皮肤 */
/* 隐藏Main Page首页标题*/
body.page-首页 h1.firstHeading { display:none; }

/* 首行缩进 */
p {text-indent: 2em;}

/**
 * Styling for links generated by [[MediaWiki:Edittools]]
 * @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2012-02-29
 */
.mw-charinsert-buttons {
	margin-top: 8px;
	border: 1px solid #aaaaaa;
	padding: 1px;
	font-size: 100%;
}
.mw-charinsert-buttons a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}
.client-js .mw-edittools-section {
	display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
	font-size: 0.9em;
	padding-left: 1px;
	padding-right: 1px;
	margin-left: 1px;
}

/* 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;
}

/* 隐藏首页标题,空行,讨论、查看源代码tab (代码基于萌百http://zh.moegirl.org/MediaWiki:Common.css修改) */
.page-首页 h1.firstHeading,
.page-首页 #siteSub,
.page-首页 #contentSub,
.page-首页 li#ca-viewsource,
.page-首页 li#ca-talk {
    display: none;
}