「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
Vaccipedia.admin (トーク | 投稿記録) |
Vaccipedia.admin (トーク | 投稿記録) |
||
14行目: | 14行目: | ||
padding-right:0.5em; | padding-right:0.5em; | ||
background:linear-gradient(0deg,gainsboro,white); | background:linear-gradient(0deg,gainsboro,white); | ||
+ | } | ||
+ | |||
+ | table.rowsalternated tr:nth-of-type(odd) td{ | ||
+ | background:ivory; | ||
+ | } | ||
+ | |||
+ | table.rowsalternated tr:nth-of-type(even) td{ | ||
+ | background:aliceblue; | ||
} | } |
2021年9月19日 (日) 20:48時点における版
/* ここに記述した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 tr:nth-of-type(odd) td{
background:ivory;
}
table.rowsalternated tr:nth-of-type(even) td{
background:aliceblue;
}