table.css 743 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. table.table {
  2. width: 100%;
  3. border-collapse: collapse;
  4. margin-bottom: 1rem;
  5. }
  6. table.table tbody tr:hover {
  7. background-color: #EEE;
  8. }
  9. table.table th,
  10. table.table td {
  11. text-align: right;
  12. }
  13. table.table th li,
  14. table.table td li {
  15. text-align: left;
  16. }
  17. table.table thead tr th,
  18. table.table tr:not(:last-child) td {
  19. border-bottom: 1px solid #CCC;
  20. }
  21. table.table th,
  22. table.table td {
  23. line-height: 6rem;
  24. padding: 0 2rem;
  25. }
  26. table.table th {
  27. line-height: 7rem;
  28. font-size: 1.8rem;
  29. font-weight: bold;
  30. }
  31. table.table th:last-child,
  32. table.table td:last-child {
  33. padding-right: 2rem;
  34. }
  35. table.table td li i {
  36. line-height: 7rem;
  37. }
  38. table.table th[colspan],
  39. table.table td[colspan] {
  40. padding: 0;
  41. }