/*
   table-header-coloring.css

   Copyleft 🄯 2021 Taiji Yamada <taiji@aihara.co.jp>

   usage:

   In a table with header-first-row-column, header-first-row,
   header-first-column classes, the first matrix, first row, and first
   column are white, which is slightly less transparent than
   before. You can make it stand out in black.

   header-first-row-column, header-first-row, header-first-column クラ
   スをもつテーブルの、順に最初の行列、最初の行、最初の列を、先よりや
   や透明度の低い白色か黒色で目立たせることができます。

<link rel="stylesheet" href="path_to/table-header-coloring.css"/>
*/
table.header-first-row-column[style*='background: white;'] > tbody > tr:nth-child(1) > :not(td:nth-child(1)) {
  background: #00000033;
}
table.header-first-row-column > tbody > tr:nth-child(1) > :not(td:nth-child(1)) {
  background: #FFFFFF99;
}
table.header-first-row-column[style*='background: white;'] > tbody > :not(tr:nth-child(1)) > td:nth-child(1) {
  background: #00000033;
}
table.header-first-row-column > tbody > :not(tr:nth-child(1)) > td:nth-child(1) {
  background: #FFFFFF99;
}

table.header-first-row[style*='background: white;'] > tbody > tr:nth-child(1) {
  background: #00000033;
}
table.header-first-row > tbody > tr:nth-child(1) {
  background: #FFFFFF99;
}

table.header-first-column[style*='background: white;'] > tbody > tr > td:nth-child(1) {
  background: #00000033;
}
table.header-first-column > tbody > tr > td:nth-child(1) {
  background: #FFFFFF99;
}
