MediaWiki:Common.css:修订间差异

来自Rotaeno中文维基
(rotable默认文字样式颜色修改)
无编辑摘要
第53行: 第53行:
}
}


.rotable tr:first-child th {
/* .rotable tr:first-child th {
    background-color: #bac3ed;
    background-color: #bac3ed;
    color: #000;
    color: #000;
}
} */


.rotable tbody tr:nth-child(odd) {
.rotable tbody tr:nth-child(odd) {

2022年7月22日 (五) 22:50的版本

/* 这里放置的CSS将应用于所有皮肤 */

/* MainPage */

.mp-box {
    background : url('https://wiki.rotaeno.cn/images/4/40/Rotaeno_Website_Background.png') no-repeat fixed;
  }
  
  .mp-circle {
    background : url('https://wiki.rotaeno.cn/images/4/40/Rotaeno_Website_Background.png');
  }
  
  .mp-icon {
    background : url('https://wiki.rotaeno.cn/images/1/13/Icon_Wiki_Main.png') no-repeat;
  }
  
  .mp-icon-new{
      background: url("https://wiki.rotaeno.cn/images/1/10/Icon_MainPage_News.png") no-repeat;
  
  }
  
  .mp-icon-next{
      background: url("https://wiki.rotaeno.cn/images/9/95/Icon_MainPage_Next.png") no-repeat;
  }
  
  .mp-icon-dev{
      background: url("https://wiki.rotaeno.cn/images/c/c0/Icon_MainPage_Dev.png") no-repeat;
  }

/* 表格样式:rotable */

.rotable {
    width: 100%;
    border-collapse: collapse;
}

.rotable caption {
    font-size: 2em;
    font-weight: bold;
    margin: 1em 0;
}

.rotable th,
.rotable td {
    border: 1px solid #999;
    text-align: center;
    padding: .4em 0;
}

.rotable th {
   background-color: #dfe3f3;
   color: #000;
}

/* .rotable tr:first-child th {
    background-color: #bac3ed;
    color: #000;
} */

.rotable tbody tr:nth-child(odd) {
    background-color: #eee;
}

.rotable tbody tr:hover {
    background-color: #ccc;
}

.rotable tbody tr td:first-child {
    color: #f40;
}