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

来自中医百科
跳到导航 跳到搜索
 
(未显示同一用户的31个中间版本)
第3行: 第3行:
 
body.page-首页 h1.firstHeading { display:none; }
 
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 {
第72行: 第40行:
 
     text-align: center;
 
     text-align: center;
 
}
 
}
/*首页样式*/
+
 
.tcmwk_index {
+
/* 隐藏首页标题,空行,讨论、查看源代码tab (本段代码源自萌娘百科 http://zh.moegirl.org/MediaWiki:Common.css 修改后使用) */
color: #7d818c;
+
.page-首页 h1.firstHeading,
font-size: 14px
+
.page-首页 #siteSub,
 +
.page-首页 #contentSub,
 +
.page-首页 li#ca-viewsource,
 +
.page-首页 li#ca-talk {
 +
    display: none;
 
}
 
}
.tcmwk_index .tw_row {
+
 
overflow: auto
+
/* 页脚 (本段代码源自萌娘百科 http://zh.moegirl.org/MediaWiki:Common.css 修改后使用) */
}
+
#footer-info-copyright {
.tcmwk_index .tw_row .tw_col_l {
+
  background: url(http://www.tcmwk.com/images/0/0a/Qc_tcmwk.png) 0 15px no-repeat;
float: left;
+
  padding: 15px 0 30px 0;
width: 100%;
+
  font-family: Helvetica Neue,Arial,Helvetica,Geneva,sans-serif;
margin-left: -327px
 
}
 
.tcmwk_index .tw_row .tw_col_l .tw_box {
 
margin-left: 327px
 
 
}
 
}
.tcmwk_index .tw_row .tw_col_r {
+
#footer-tcmwk {
float: right;
+
  padding-left: 160px;
width: 317px
+
  color: #2f2f2f;
}
 
.tcmwk_index .tw_box {
 
margin-bottom: 10px;
 
border: 1px solid #d4d5da;
 
border-radius: 4px;
 
background: #fff;
 
box-shadow: 1px 3px 2px #efefef
 
}
 
.tcmwk_index .tw_box h2 {
 
line-height: 60px;
 
padding: 0 20px;
 
margin-bottom: 0;
 
border-bottom: 1px solid #e7e7e8;
 
color: #353941;
 
font-size: 18px
 
}
 
.tcmwk_index .tw_box_headline {
 
overflow: auto
 
}
 
.tcmwk_index .tw_box_headline .floatleft {
 
margin-top: 20px;
 
margin-left: 20px;
 
padding: 4px;
 
border: 1px solid #e7e7e8
 
}
 
.tcmwk_index .tw_box_headline p {
 
line-height: 27px;
 
margin: 15px 20px
 
}
 
.tcmwk_index .tw_box_about p {
 
line-height: 27px;
 
margin: 15px 20px 20px;
 
text-indent: 2em
 
}
 
.tcmwk_index .tw_box_about hr {
 
margin: 0 20px;
 
background-color: #e7e7e8
 
}
 
.tcmwk_index .tw_box_about ul {
 
line-height: 27px;
 
list-style: none;
 
margin: 14px 20px
 
}
 
.tcmwk_index .tw_box_about ul strong {
 
color: #81a730;
 
font-weight: normal
 
}
 
.tcmwk_index .tw_box_about p > a {
 
display: block;
 
line-height: 45px;
 
border-radius: 4px;
 
background: #81a730;
 
color: #fff;
 
font-size: 16px;
 
text-align: center;
 
text-indent: 0
 
}
 
.tcmwk_index .tw_box_category ul {
 
line-height: 50px;
 
margin: 0;
 
list-style: none
 
}
 
.tcmwk_index .tw_box_category ul li {
 
height: 50px;
 
margin: 0;
 
overflow: hidden
 
}
 
.tcmwk_index .tw_box_category ul li a {
 
display: inline-block;
 
margin-right: 30px;
 
white-space: nowrap
 
}
 
.tcmwk_index .tw_box_category ul li strong {
 
display: inline-block;
 
width: 64px;
 
line-height: 24px;
 
margin: 0 17px;
 
border-radius: 12px;
 
background: #8eca36;
 
color: #fff;
 
font-size: 12px;
 
text-align: center
 
}
 
 
.tcmwk_index .tw_box_category ul li + li strong{
 
background:#ed7d7d
 
}
 
.tcmwk_index .tw_box_category ul li + li + li strong{
 
background:#ffb245
 
}
 
.tcmwk_index .tw_box_help p {
 
line-height: 50px;
 
margin: 0
 
 
}
 
}
.tcmwk_index .tw_box_help p a {
+
#footer-tcmwk h4 {
position: relative;
+
  color: #243c4a;
display: inline-block;
+
  font: normal normal AllerBold,"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;
width: 33.33%;
+
  margin-bottom: 8px;
text-indent: 30px
 
 
}
 
}
.tcmwk_index .tw_box_help p a: before {
+
#footer-tcmwk ul {
content: "";
+
  float: left;
position: absolute;
+
  margin: 0 100px 20px 0;
height: 5px;
+
  line-height: 1.7;
width: 5px;
+
  width: 120px;
left: 20px;
+
  font-size: 12pt;
top: 23px;
 
border-radius: 50%;
 
background: #8eca36
 
 
}
 
}
.tcmwk_index .tw_box_article h4 {
+
#footer-tcmwk ul.lastlist {
display: none
+
  margin-right: 0;
 
}
 
}
.tcmwk_index .tw_box_article dl {
+
#footer-tcmwk ul a {
height: 79px;
+
  color: #2f2f2f;
line-height: 26px;
 
margin: 0 20px;
 
border-bottom: 1px solid #e7e7e8
 
 
}
 
}
.tcmwk_index .tw_box_article dl: last-child {
+
#footer-tcmwk .copyright {
border-bottom: none
+
  clear: left;
 +
  display: block;
 +
  line-height: 1.3;
 +
  color: #999;
 
}
 
}
.tcmwk_index .tw_box_article dl dt {
+
 
width: 100%;
+
/* 精简简繁内容,不转换0,简体1(本段代码引用自zhangjintao.org) */
margin: 0;
+
 
padding: 16px 0 0;
+
/*隐藏中文简繁转换: #p-variants {display:none;} */
font-weight: normal;
+
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; }
white-space: nowrap;
+
 
overflow: hidden;
+
/* 回到顶部 */
text-overflow: ellipsis
+
.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;
 
}
 
}
.tcmwk_index .tw_box_article dl dd {
+
margin: 0;
+
#rocket {
color: #b0b0bd;
+
margin: 9px 0;
font-size: 12px
 
}
 
.tcmwk_index .tw_box_article dl dd span {
 
margin-right: 30px
 
}
 
.tcmwk_index .tw_box_article ul {
 
margin: 0 20px;
 
list-style: none
 
}
 
.tcmwk_index .tw_box_article ul li {
 
line-height: 26px;
 
margin: 0;
 
padding: 13px 0 13px;
 
border-bottom: 1px solid #e7e7e8
 
}
 
.tcmwk_index .tw_box_article ul li: last-child {
 
border-bottom: none
 
}
 
.tcmwk_index .tw_box_hot ol {
 
line-height: 40px;
 
margin: 0
 
}
 
.tcmwk_index .tw_box_hot ol li {
 
margin: 0 0 0 45px
 
}
 
.tcmwk_index .tw_box_hot ol li: before {
 
content: "";
 
float: left;
 
width: 16px;
 
height: 16px;
 
margin-left: -24px;
 
margin-top: 12px;
 
border-radius: 50%;
 
background: #e6e6e8
 
}
 
.tcmwk_index .tw_box_hot ol li: first-child,.tcmwk_index .tw_box_hot ol li: first-child + li,.tcmwk_index .tw_box_hot ol li: first-child + li + li {
 
color: #fff
 
}
 
.tcmwk_index .tw_box_hot ol li: first-child strong,.tcmwk_index .tw_box_hot ol li: first-child + li strong,.tcmwk_index .tw_box_hot ol li: first-child + li + li strong {
 
color: #7d818c
 
}
 
.tcmwk_index .tw_box_hot ol li: first-child: before {
 
background: #ed7d7d
 
}
 
.tcmwk_index .tw_box_hot ol li: first-child + li: before {
 
background: #ffb245
 
}
 
.tcmwk_index .tw_box_hot ol li: first-child + li + li: before {
 
background: #8eca36
 
}
 
.tcmwk_index .tw_box_star ul {
 
margin: 0;
 
list-style: none
 
}
 
.tcmwk_index .tw_box_star ul li {
 
margin: 0
 
}
 
.tcmwk_index .tw_box_star .tabs {
 
margin: 20px 20px 0
 
}
 
.tcmwk_index .tw_box_star .tabs ul {
 
height: 32px;
 
line-height: 30px
 
}
 
.tcmwk_index .tw_box_star .tabs ul li {
 
float: left;
 
width: 49.3%;
 
border: 1px solid #e7e7e8;
 
text-align: center;
 
cursor: pointer
 
}
 
.tcmwk_index .tw_box_star .tabs ul li: first-child {
 
border-right: none;
 
border-radius: 15px 0 0 15px
 
}
 
.tcmwk_index .tw_box_star .tabs ul li: last-child {
 
border-radius: 0 15px 15px 0
 
}
 
.tcmwk_index .tw_box_star .tabs ul li.current {
 
background: #f4f5f8;
 
cursor: default
 
}
 
.tcmwk_index .tw_box_star .panel {
 
margin-top: 12px
 
}
 
.tcmwk_index .tw_box_star .panel: last-child {
 
display: bone
 
}
 
.tcmwk_index .tw_box_star .panel ol {
 
line-height: 48px;
 
margin: 0 20px 0 0
 
}
 
.tcmwk_index .tw_box_star .panel ol li {
 
position: relative;
 
margin: 0 0 0 45px
 
}
 
.tcmwk_index .tw_box_star .panel ol li: before {
 
content: "";
 
float: left;
 
width: 16px;
 
height: 16px;
 
margin-left: -24px;
 
margin-top: 16px;
 
border-radius: 50%;
 
background: #e6e6e8
 
}
 
.tcmwk_index .tw_box_star .panel ol li: first-child,.tcmwk_index .tw_box_star .panel ol li: first-child + li,.tcmwk_index .tw_box_star .panel ol li: first-child + li + li {
 
color: #fff
 
}
 
.tcmwk_index .tw_box_star .panel ol li: first-child strong,.tcmwk_index .tw_box_star .panel ol li: first-child + li strong,.tcmwk_index .tw_box_star .panel ol li: first-child + li + li strong {
 
color: #7d818c
 
}
 
.tcmwk_index .tw_box_star .panel ol li: first-child: before {
 
background: #ed7d7d
 
}
 
.tcmwk_index .tw_box_star .panel ol li: first-child + li: before {
 
background: #ffb245
 
}
 
.tcmwk_index .tw_box_star .panel ol li: first-child + li + li: before {
 
background: #8eca36
 
}
 
.tcmwk_index .tw_box_star .panel ol li a {
 
position: absolute;
 
left: 0;
 
top: 0
 
}
 
.tcmwk_index .tw_box_star .panel ol li span {
 
float: right;
 
color: #7d818c
 
}
 
.tcmwk_index .tw_box_service ul {
 
margin: 10px;
 
list-style: none;
 
font-size: 12px;
 
overflow: auto
 
}
 
.tcmwk_index .tw_box_service ul li {
 
position: relative;
 
float: left;
 
width: 100px;
 
height: 90px;
 
margin: 0;
 
text-align: center
 
}
 
.tcmwk_index .tw_box_service ul li a {
 
position: relative;
 
display: block;
 
line-height: 20px;
 
padding: 50px 0 20px
 
}
 
.tcmwk_index .tw_box_service ul li i {
 
position: absolute;
 
left: 50%;
 
top: 12px;
 
width: 27px;
 
height: 27px;
 
margin-left: -13px
 
}
 
.tw_box.tw_box_help p .new {
 
float: left;
 
 
}
 
}
 +
 +
/* 首行缩进 */
 +
/* 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;} */