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

来自中医百科
跳到导航 跳到搜索
 
(未显示同一用户的43个中间版本)
第1行: 第1行:
 
/* 放置于这里的CSS将应用于所有皮肤 */
 
/* 放置于这里的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类模板 */
 
/* info类模板 */
 
.infoBox {
 
.infoBox {
 
     margin: 0 auto;
 
     margin: 0 auto;
 +
}
 +
.infobox-note{
 +
    display: none;
 
}
 
}
 
.infoBoxTitle {
 
.infoBoxTitle {
第70行: 第40行:
 
     text-align: center;
 
     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;
 +
}
 +
 +
/* 页脚 (本段代码源自萌娘百科 http://zh.moegirl.org/MediaWiki:Common.css 修改后使用) */
 +
#footer-info-copyright {
 +
  background: url(http://www.tcmwk.com/images/0/0a/Qc_tcmwk.png) 0 15px no-repeat;
 +
  padding: 15px 0 30px 0;
 +
  font-family: Helvetica Neue,Arial,Helvetica,Geneva,sans-serif;
 +
}
 +
#footer-tcmwk {
 +
  padding-left: 160px;
 +
  color: #2f2f2f;
 +
}
 +
#footer-tcmwk h4 {
 +
  color: #243c4a;
 +
  font: normal normal AllerBold,"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;
 +
  margin-bottom: 8px;
 +
}
 +
#footer-tcmwk ul {
 +
  float: left;
 +
  margin: 0 100px 20px 0;
 +
  line-height: 1.7;
 +
  width: 120px;
 +
  font-size: 12pt;
 +
}
 +
#footer-tcmwk ul.lastlist {
 +
  margin-right: 0;
 +
}
 +
#footer-tcmwk ul a {
 +
  color: #2f2f2f;
 +
}
 +
#footer-tcmwk .copyright {
 +
  clear: left;
 +
  display: block;
 +
  line-height: 1.3;
 +
  color: #999;
 +
}
 +
 +
/* 精简简繁内容,不转换0,简体1(本段代码引用自zhangjintao.org) */
 +
 +
/*隐藏中文简繁转换: #p-variants {display:none;} */
 +
li#ca-varlang-0,li#ca-varlang-3,li#ca-varlang-4,li#ca-varlang-5,li#ca-varlang-6,li#ca-varlang-7,li#ca-varlang-8 { display: none; }
 +
 +
/* 回到顶部 */
 +
.backToTop {
 +
  display: none;
 +
  width: 60px;
 +
  height: 50px;
 +
  line-height: 50px;
 +
  padding: 5px 0;
 +
  background-color: rgb(255, 255, 255);
 +
  color: rgb(102, 102, 102);
 +
  font-size: 12px;
 +
  text-align: center;
 +
  position: fixed;
 +
  _position: absolute;
 +
  right: 50px;
 +
  bottom: 100px;
 +
  _bottom: "auto";
 +
  cursor: pointer;
 +
  /* opacity: .6; */
 +
  border-radius: 100px;
 +
  filter: Alpha(opacity=60);
 +
  box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.35),0px 20px 70px 8px rgba(0, 0, 0, 0.25);
 +
  z-index: 999;
 +
  opacity: 0.9;
 +
}
 +
 +
#rocket {
 +
margin: 9px 0;
 +
}
 +
 +
/* 首行缩进 */
 +
/* div#mw-content-text {text-indent: 2em;} */
 +
/* td, li, form, .mw-headline {text-indent: 0em;} */

2019年12月24日 (二) 21:22的最新版本

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




/* info类模板 */
.infoBox {
    margin: 0 auto;
}
.infobox-note{
    display: none;
}
.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;
}

/* 页脚 (本段代码源自萌娘百科 http://zh.moegirl.org/MediaWiki:Common.css 修改后使用) */
#footer-info-copyright {
  background: url(http://www.tcmwk.com/images/0/0a/Qc_tcmwk.png) 0 15px no-repeat;
  padding: 15px 0 30px 0;
  font-family: Helvetica Neue,Arial,Helvetica,Geneva,sans-serif;
}
#footer-tcmwk {
  padding-left: 160px;
  color: #2f2f2f;
}
#footer-tcmwk h4 {
  color: #243c4a;
  font: normal normal AllerBold,"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;
  margin-bottom: 8px;
}
#footer-tcmwk ul {
  float: left;
  margin: 0 100px 20px 0;
  line-height: 1.7;
  width: 120px;
  font-size: 12pt;
}
#footer-tcmwk ul.lastlist {
  margin-right: 0;
}
#footer-tcmwk ul a {
  color: #2f2f2f;
}
#footer-tcmwk .copyright {
  clear: left;
  display: block;
  line-height: 1.3;
  color: #999;
}

/* 精简简繁内容,不转换0,简体1(本段代码引用自zhangjintao.org) */

/*隐藏中文简繁转换: #p-variants {display:none;} */
li#ca-varlang-0,li#ca-varlang-3,li#ca-varlang-4,li#ca-varlang-5,li#ca-varlang-6,li#ca-varlang-7,li#ca-varlang-8 { display: none; }

/* 回到顶部 */
.backToTop {
   display: none;
  width: 60px;
  height: 50px;
  line-height: 50px;
  padding: 5px 0;
  background-color: rgb(255, 255, 255);
  color: rgb(102, 102, 102);
  font-size: 12px;
  text-align: center;
  position: fixed;
  _position: absolute;
  right: 50px;
  bottom: 100px;
  _bottom: "auto";
  cursor: pointer;
  /* opacity: .6; */
  border-radius: 100px;
  filter: Alpha(opacity=60);
  box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.35),0px 20px 70px 8px rgba(0, 0, 0, 0.25);
  z-index: 999;
  opacity: 0.9;
}
 
#rocket {
	margin: 9px 0;
}

/* 首行缩进 */
/* div#mw-content-text {text-indent: 2em;} */
/* td, li, form, .mw-headline {text-indent: 0em;} */