Difference between revisions of "User:SIGSTKFLT/exp/style.css"

From Geohashing
(... and I wrote the selector wrong...)
(use an en-dash instead of X)
Line 6: Line 6:
 
}
 
}
 
.sig-exp-table tr td:first-child::before{
 
.sig-exp-table tr td:first-child::before{
   content: "X"
+
   content: "";
 
}
 
}
 
.sig-exp-table tr.sig-exp-table-type-r td:first-child::before {
 
.sig-exp-table tr.sig-exp-table-type-r td:first-child::before {

Revision as of 16:11, 6 March 2020

.sig-exp-table { /* https://stackoverflow.com/questions/17012421/auto-number-table-rows */
  counter-reset: rowNumber;
}
.sig-exp-table .sig-exp-table-type-r {
  counter-increment: rowNumber;
}
.sig-exp-table tr td:first-child::before{
  content: "–";
}
.sig-exp-table tr.sig-exp-table-type-r td:first-child::before {
  content: counter(rowNumber) ".";
  padding-right:3px;
}