「MediaWiki:Common.css」の版間の差分

提供: Vaccipedia | Resources for Vaccines, Tropical medicine and Travel medicine
ナビゲーションに移動 検索に移動
 
(同じ利用者による、間の10版が非表示)
1行目: 1行目:
 
/* ここに記述したCSSはすべての外装に反映されます */
 
/* ここに記述したCSSはすべての外装に反映されます */
 
table.alternating th{
 
table.alternating th{
background:deepskyblue;
+
text-align:left;
 +
background:turquoise;
 
}
 
}
 
table.alternating tr:nth-child(odd) td{
 
table.alternating tr:nth-child(odd) td{
padding-left:2em;
+
padding-left:1em;
 +
padding-right:0.5em;
 
background:linear-gradient(0deg,lemonchiffon,white);
 
background:linear-gradient(0deg,lemonchiffon,white);
 
}
 
}
  
 
table.alternating tr:nth-child(even) td{
 
table.alternating tr:nth-child(even) td{
padding-left:2em;
+
padding-left:1em;
background:linear-gradient(0deg,honeydew,white);
+
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;
 
}
 
}

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;
}