「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
Vaccipedia.admin (トーク | 投稿記録) |
Vaccipedia.admin (トーク | 投稿記録) |
||
16行目: | 16行目: | ||
} | } | ||
− | table.rowsalternated td:nth-of-type(odd) | + | table.rowsalternated td:nth-of-type(odd) { |
background:ivory; | background:ivory; | ||
} | } | ||
− | table.rowsalternated td:nth-of-type(even) | + | table.rowsalternated td:nth-of-type(even) { |
background:aliceblue; | background:aliceblue; | ||
} | } |
2021年9月19日 (日) 20:54時点における最新版
/* ここに記述したCSSはすべての外装に反映されます */
table.alternating th{
text-align:left;
background:turquoise;
}
table.alternating tr:nth-child(odd) td{
padding-left:1em;
padding-right:0.5em;
background:linear-gradient(0deg,lemonchiffon,white);
}
table.alternating tr:nth-child(even) td{
padding-left:1em;
padding-right:0.5em;
background:linear-gradient(0deg,gainsboro,white);
}
table.rowsalternated td:nth-of-type(odd) {
background:ivory;
}
table.rowsalternated td:nth-of-type(even) {
background:aliceblue;
}